Skip to content

Enable verified automatic updates for the native CLI - #220

Merged
0thernet merged 4 commits into
mainfrom
codex/cli-self-update-20260930
Sep 30, 2026
Merged

0thernet merged 4 commits into
mainfrom
codex/cli-self-update-20260930

Conversation

@0thernet

@0thernet 0thernet commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

ALGAL’s supported native installs gain automatic updates, enabled by default, and algal update commands to check, install, inspect, enable, or disable them. Updates verify the immutable release, platform assets, full compiled tag and source commit, archive contents, release metadata, and Mac signature before an atomic replacement. Pins, saved preferences, running commands, SDK executable hashes, and rollback are preserved.

The native installer delegates verified installation to the new executable. Source/Bun installs keep their existing workflow. Help, offline commands, CI, and explicit opt-outs skip automatic checks. Release publication now fills a verified draft by asset ID and safely verifies retries after uncertain publication without replacing existing assets. The website’s published-release record stays on the currently available release until vm.13 is published.

Validation: independent source review, bun run check (1,901 tests, TypeScript, lint, docs, and 74-page site build), workspace formatting, strict Clippy, Rust tests/build, all six native parity suites, and native packaging/install fixtures passed for the implementation at 05b7f012. All 45 release-notes, publisher, and workflow tests passed. CI at final head 11fed51d passed all 19 jobs, including native demos, parity, browser contracts, and the three release platforms.

CI's demos now reuse the existing optimized parity artifact, which retains debug assertions and overflow checks. SDK children still verify their executable hash and all deadlines remain unchanged. The previous unoptimized inventory run hit its 30-second deadline; the corrected run took 5 seconds. Native-demo job wall time changed from 82 seconds (failed) to 49 seconds (passed), with one observed run per variant; this is not a repeated benchmark.

@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
algal Ready Ready Preview Sep 30, 2026 8:56pm UTC

Request Review

@0thernet
0thernet marked this pull request as ready for review September 30, 2026 21:09
@0thernet
0thernet merged commit 4a5c707 into main Sep 30, 2026
27 checks passed
@0thernet
0thernet deleted the codex/cli-self-update-20260930 branch September 30, 2026 21:09

This branch was successfully deployed

1 active deployment
Preview — 11fed51d Deployed Sep 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant