Detailed release readiness lives in
RELEASE_CHECKLIST.md.
The optional Linux Runtime package flavor, explicit release selection, v2 installer manifest and retained legacy view are described in Linux Runtime packaging.
Default agent policy is defined in AGENTS.md: external
changes, including deploys, require an explicit task and named destination. A
reviewed development build deployed only to named dogfood targets is distinct
from a release/publish rollout. This file expands that distinction; it does not
relax the default authorization rule.
An ordinary coding or review task never authorizes deployment or service restart. When the user explicitly requests deployment of a reviewed development commit to named dogfood targets, the operator may build/install/restart that exact development build without starting the release process.
For iterative self-hosted deployment builds, prefer cargo build --profile dogfood
(and the resulting target/dogfood/ binaries). This profile inherits release
runtime semantics while disabling LTO and enabling incremental compilation for
faster rebuilds. Formal release and publication artifacts continue to use the
release profile.
For that development deployment:
- Change only the explicitly named targets. Do not create staging resources, deployment channels, or additional rollout state.
- Record the requested source commit and verify the installed build with the
existing build identity (
git_commit,git_dirty,built_at). Do not invent a second build identity and do not mask or rewritegit_dirty=true. - Preserve the prior working build or another concrete rollback path before replacing or restarting the target.
- Run focused post-deployment smoke appropriate to the changed Server, Runner, CLI or MCP surface.
- Report the exact targets changed, build identity observed, smoke result, and rollback path.
A development dogfood deployment does not by itself authorize or require a version bump, Git tag, GitHub Release, npm publication, release metadata, or published release artifacts. If the task also requests release or publication, the release contract below applies unchanged.
Only when all of the following hold:
- The user explicitly requests a release, tag, push, GitHub Release, npm publish, or deployment of a published release.
- The request names the version, package, repository, and release target.
- The worktree is clean before the release starts, except for release files intentionally created during that task.
- The agent verifies that the remote tag, GitHub Release, and npm package
version do not already exist, unless an explicitly approved failed
pre-publication tag has first been reclaimed through
release_operator.py reclaim-tagunder the bounded exception below. - No force-push, published-tag movement, published-commit amend, or release replacement. Reclaiming an eligible failed pre-publication tag is a distinct recovery operation, not permission to rewrite a published release identity.
- Relevant release gates run; stop on the first failed gate.
- Secrets, tokens, npm/GitHub tokens,
.envcontents, and credential files are never printed. - Any post-tag manifest/checksum commit is reported explicitly and must not move the release tag.
- If the task conflicts with safety rules, stop and report before irreversible changes.
Who confirms: the human requester of the named release task. Agents do not self-authorize releases.
What to record in the final report: version/target, gates run, tag/publish results (if any), and any deferred checks.
The explicitly approved 9holy/webcodex v0.5.10 first delivery is Windows
x64/ARM64 only. Its exact release-branch push CI and source-evidence workflow
omit macOS lanes by this reviewed delivery policy; all Windows and shared
checks must still succeed. Other branches and repositories keep the full native
policy. The formal build and public verification use platform_scope=windows,
including all eleven Windows assets and five installation scenarios per
architecture. Keep the previous full-platform latest. Missing Linux/macOS
packages will ship in a subsequent full-platform version, without replacing
this release's immutable manifests, checksums or installer bytes.
An explicitly requested fork distribution can use preflight --github-only --repo <OWNER/REPO> and the low-level readiness, build, collect, and draft
verification commands. This selects the publication destination; it does not
relax exact-source CI/readiness, immutable tags, native signing, archive
architecture, checksum, or installer/source-manifest checks. Use
build-start --include-unified-installers and keep
--require-unified-installers on collection and verification when shipping the
complete installer set. The high-level npm publication plan remains unchanged.
For the explicitly authorized 9holy/webcodex v0.5.3 distribution,
release-publish-v053.yml
uses the normal readiness, tag, formal build, verified upload, publication and
post-publication stages. Its reviewed
entry point supplies an immutable,
code-owned release specification to the shared controller. The fixed
request must match that specification
exactly; neither the request JSON nor CLI options can select another repository,
source, proof run, workflow, installer set or release body. Merging a reviewed
change to that request on main starts the explicitly authorized publication.
The existing v0.5.2 controller and its recovery inputs remain unchanged.
The v0.5.2 distribution used a separately bounded assembly recovery. For that
explicitly authorized release,
release-publish.yml provides a
repository-owned control host. A reviewed change to the fixed
release request or its
assembly recovery origin
on main starts that publication; ordinary code pushes and pull requests do not. The request
pins the repository and owner IDs, release source commit/tree, successful source
CI and evidence attempts, installer selection, and approved Release body digest.
The adjacent body file is an input to that request; the published GitHub Release
remains the user-facing release-note authority. The source checkout stays at the
approved release commit while the controller runs from reviewed main.
The controller job alone receives contents: write and actions: write through
the repository's GITHUB_TOKEN. Its preflight explicitly verifies an Actions
installation identity and the API-reported workflow run, rather than treating an
installation token as a human login or weakening the existing operator's
GET /user check. There is no npm publication path. Readiness and candidate
build workflows retain their existing read-only permissions, exact-source gates,
native signing requirements, and same-run bundle contract.
The initial controller created the annotated tag after dispatched readiness
succeeded. All twelve required producer jobs in native run 42373155729 then
succeeded, but its assembly job failed because ten Linux/macOS checksum sidecars
contained dist/<basename> while downloaded candidates were flat files. That
original run remains failed. The current entry point is the one-version
assembly recovery controller:
it observes the original annotated tag unchanged and cannot dispatch another
producer run or create a replacement tag. It verifies the original publisher
stopped before any draft or public asset, rechecks source CI/readiness and every
producer job, and downloads only the fourteen pinned, unexpired artifact IDs
with their exact sizes and SHA-256 digests.
Recovery checks all ten sidecars against their actual input bytes before removing
only the dist/ prefix. The original tagged assembly and full bundle-verification
steps then run in an isolated source worktree. Public native archives, signed
installers, Desktop packages, and source manifests remain byte-identical. Derived
metadata retains the real original producer run; a separate checkpoint receipt
records this recovery run, original and executed script hashes, input/output
hashes, and all ten normalizations. The ordinary collector still requires a
successful original build; this fixed recovery does not relax that contract or
claim the old failed aggregate succeeded. Future producers write basename-only
sidecars directly and have executable producer-to-consumer regression tests.
Each publication effect has a prepared intent uploaded as an Actions artifact before it is attempted. Recovery reuses the existing draft verification and public-byte verifier, uploads only the exact verified public asset set, and publishes only after all draft sizes and digests match. It never deletes or replaces a tag, release, or asset. A retry of the same controller run restores its newest verified checkpoint and reconciles recorded effects; missing evidence or an uncertain absent effect stops instead of initiating a second operation. Checkpoints contain bounded JSON state, not credentials, signing material, or installer payloads. Retain the run's artifacts and the original fourteen input artifacts until publication and all follow-up verification finish. A retry reassembles those exact inputs and must match the first receipt before it can reuse already uploaded assets.
Because Release events created with GITHUB_TOKEN do not automatically start
other workflows, this controller explicitly dispatches the existing image and
Intel Desktop workflows from main, recording each returned run ID and its
control commit. Those workflows continue to validate artifacts against the
immutable release tag. Core public-byte verification and the image workflow's
anonymous GHCR availability gate remain separate results. For a first GHCR
package, a required owner visibility change is not implied by a successful image
upload. See GitHub's workflow token trigger rules
and workflow dispatch API.
After GitHub publication, use verify_public_release.py <VERSION> --repo <OWNER/REPO> --github-only --require-unified-installers for the selected bundle.
No upstream npm publication is implied. Formal build workflows embed the
selected publisher through compile-time WEBCODEX_RELEASE_REPOSITORY. This fork
defaults to 9holy/webcodex; other publishers must set that value explicitly.
Downloaded metadata and runtime environment
variables cannot select a different publisher.
The v0.5.4 publisher uses a
separate, code-owned specification and controller.
Its fixed request cannot select a
different source, bypass Windows acceptance, or change publication stages. Source
commit/tree and successful CI/evidence pins must be finalized together in reviewed
control code and the matching request. Explicit zero/source and run-ID placeholders
fail before publication authentication or writes. The v0.5.2 and v0.5.3 entry points
keep their existing behavior and recovery contracts.
Windows full installers verify their source manifest through the immutable public Release download URL before even a fresh installation. They therefore cannot be fully accepted while the same build is still assembling or while its Release is a draft. v0.5.4 resolves that ordering through these fixed stages:
- Keep the existing exact-source readiness, annotated tag, native build, bundle collection, frozen asset list, and complete draft digest/size checks.
- Retain the preview publication intent, then publish that same Release with
draft=false,prerelease=true, andmake_latest=false. Independently verify its real public bytes with the public verifier's explicit prerelease opt-in. Ordinary public verification still requires a stable Release by default. - Retain one correlated Windows acceptance request and dispatch the read-only acceptance workflow. It runs on native x64 and ARM64 Windows runners from the exact reviewed control commit. Each runner downloads the frozen public assets, verifies their actual sizes/digests, validates the source manifest's version/source/platform/build-run identity, and safely extracts only the three named Runtime programs.
- On each architecture, execute the real full installer for a fresh install, an unconfigured upstream v0.5.0 upgrade, and a configured upstream v0.5.0 upgrade. The old upstream and v0.5.3 comparison bytes have fixed SHA-256 pins. All four installed program hashes, including Desktop, must match the public source manifest before cleanup. Configured upgrade acceptance additionally retains the original installation and Environment identities, private-state digests, and owned cleanup result. Classifier or harness success does not satisfy this gate. Children do not inherit the repository or Actions runtime tokens.
- Require both native jobs and both bounded, same-attempt report artifacts to
succeed. Freeze their exact run/attempt, artifact and report digests in the
promotion intent, upload its checkpoint, then set the same Release to
prerelease=falseandmake_latest=true. Verify the actual/releases/latestresponse before starting image or Intel Desktop publication. The v0.5.4 publisher also waits for the Intel job and its public DMG/checksum pair.
No stage deletes, replaces, or reuploads a published asset, moves the tag, fakes the API's prerelease flag, or invents provenance for an unpublished source. A failed Windows acceptance leaves an immutable public prerelease and does not promote stable/latest. Product changes after that point require a new version.
For recovery, rerun the same publisher run, retaining its artifacts. It restores
the newest verified checkpoint, observes the same Release and acceptance run, and
does not create a new publication identity. If Windows acceptance itself needs an
authorized rerun, rerun its original workflow run as the repository owner; the
publisher can observe its newer attempt before the promotion intent is frozen.
Once promotion is prepared, a different attempt or replacement report cannot
silently replace that proof. Unknown preview/promotion responses are reconciled
from actual Release state; an unknown effect still absent from GitHub is not
automatically repeated. Keep the reviewed main control commit unchanged while
new acceptance or post-publication dispatches remain necessary.
The new request/workflows and publication code belong in the later control commit, after the product source commit and successful proof runs have been fixed. The optional four-program hash check in the ordinary Windows smoke helper can ship with the product source; existing invocations retain their original behavior.
The v0.5.5 fixed entry, request, and publisher reuse the v0.5.4 staged controller's publication, Windows acceptance, promotion, and recovery methods. Only the entry's fixed specification and finalization guard differ. The original v0.5.4 module, request, notes, workflow, source tag, and public prerelease assets remain unchanged. A corrected product requires a new version; its evidence cannot replace the retained v0.5.4 failure.
The shared Windows worker selects a code-owned specification only for the exact
(v0.5.4, release-publish-v054.yml), (v0.5.5, release-publish-v055.yml),
(v0.5.6, release-publish-v056.yml), or (v0.5.7, release-publish-v057.yml)
tag/controller-workflow pair. It then requires finalized pins and validates the
complete request before downloads or installer execution. Unknown or crossed
pairs have no fallback. The acceptance workflow, native x64/ARM64 matrix, fixed
v0.5.0 and v0.5.3 comparison bytes, four-program hash checks, same-attempt proof
binding, and same-Release promotion requirements are unchanged. The v0.5.4 and
v0.5.5 report contracts retain their original three scenarios; v0.5.6 adds the
fixed v0.5.4 upgrade evidence described below.
Prepare v0.5.5 source SHA/tree as explicit zero placeholders and CI/evidence run
IDs as 1 until exact-source successful push proofs exist. The code specification
and matching JSON must be finalized together with those six source/proof values;
their guard rejects unfinished authority before authentication or remote effects.
Tests construct their own unfinished specifications, so recording real pins does
not remove rejection coverage. As with v0.5.4, the new fixed control files belong
in a later reviewed control commit after the product source and evidence are
frozen. Keep main at that control commit until required child dispatches finish.
The v0.5.6 fixed entry,
request,
reviewed notes input, and
publisher retain the staged
controller and 28-checkpoint sequence with fixed platform_scope: windows.
This is the user's explicitly requested Windows delivery scope, with no npm
publication or non-Windows formal build and post-publication dispatches.
Omitted scope keeps the existing full-platform contract and serialized fields;
only the explicit Windows profile selects exactly x64 and ARM64 Runtime archives,
standard Desktop installers, Full installers and source manifests (11 public
assets including the two indexes and checksums). Missing platforms never select
a scope implicitly. Build dispatch, retained state, bundle collection and public
verification must all agree on the selected profile. The v0.5.5 module, request, notes, workflow,
source tag, public prerelease bytes, and failed acceptance evidence remain
unchanged. A v0.5.6 source or report cannot replace that earlier publication's
identity or evidence.
Prepare the v0.5.6 source SHA/tree as explicit 40-zero placeholders and the
CI/evidence run IDs as 1. Its finalization guard refuses unfinished authority
before the authenticated dispatcher or Windows worker can execute. After the
exact product source and successful push proofs are fixed, finalize only the six
source/proof values and reviewed notes digest in both code and JSON. Keep these
control changes in their own reviewed commit. Each native architecture must pass
five real public-installer scenarios: fresh installation, unconfigured and
configured upstream v0.5.0 upgrades, and unconfigured and configured fork v0.5.4
upgrades. The v0.5.4 standard Desktop inputs are frozen by architecture, SHA-256
and size. Its unconfigured upgrade reuses the real PowerShell helper and records
successful exit plus its frozen inputs; its configured upgrade verifies the
actual old four-program identity, runs Runtime, then checks candidate source,
four-program hashes, preserved state, service restart and cleanup in the native
report. Both native reports are required, and any failed or missing scenario
blocks promotion. Same-attempt artifact binding and immutable assets remain
required. Before preview publication the controller freezes the existing
stable latest Release ID and tag. It promotes the same Windows Release with
prerelease: false, make_latest: false only after all ten public-installer scenarios
pass, and verifies the original latest remains unchanged before and after the
mutation and on recovery. Users download this Windows version manually.
Image and Intel DMG stages retain their checkpoints but record not_applicable
without dispatching another workflow; final success still requires Windows
public-byte verification. This delivery profile does not relax exact-source CI
or source-evidence qualification. Notes describe the candidate until its evidence
is complete, and no previous tag, Release or asset may be replaced.
The v0.5.7 fixed entry,
request,
reviewed notes input, and
publisher inherit the v0.5.6
Windows controller. Only the new fixed specification and finalization guard
differ; the authenticated dispatcher, 28 checkpoints, exact 11-asset Windows
bundle, ten native install/upgrade scenarios, same-Release promotion and
make_latest: false remain required. v0.5.4/v0.5.5 retain their three-scenario
contracts, and v0.5.6 retains its five-scenario contract per architecture.
The v0.5.6 authoritative build 42504713257 failed at deterministic preflight because all-platform updater test fixtures inherited the Windows-only workflow scope. Native jobs and assembly did not run; no build artifacts or Release were created. Its source tag, fixed controller, request, workflow and failed publication 42504442536 remain unchanged. v0.5.7 isolates each test fixture's scope while preserving production validation, and takes the normal exact-source qualification path.
Keep the v0.5.7 source SHA/tree at explicit 40-zero placeholders and CI/evidence
run IDs at 1 until the new source and successful exact attempts are fixed.
Finalize code and JSON together after those proofs, with a reviewed notes digest,
in a separate control commit. Neither unfinished pins nor earlier-version reports
can authorize downloads, installation, publication or promotion for this version.
A version tag may be reclaimed only when the human requester explicitly names that version and authorizes the destructive recovery, and all of these facts hold at the time of deletion:
- the checkout is clean, its Cargo/npm/Desktop/Tauri versions are the requested version, and its
HEADequals the selected remote release source ref (mainor exactlyrelease/v<VERSION>); - the remote tag is an annotated commit tag;
- no GitHub Release exists for the tag and the npm version is absent;
- every matching authoritative
release-buildrun is terminal and none concluded successfully.
Use python3 scripts/release_operator.py reclaim-tag --version <VERSION> --source-ref <SOURCE_REF> --confirm v<VERSION> --root <EXACT_SOURCE_WORKTREE> rather than a naked git push --delete.
The operator fences the repository/source/version, scans bounded release-build
history, deletes the remote tag, reconciles the remote ref, and removes the matching
local tag. Its normal GitHub Release check is authenticated so draft releases are
visible. --allow-public-release-check is an explicit degraded mode for a public
repository only after the human operator separately confirms that no draft Release
exists; it is never an automatic fallback.
A successful authoritative release-build, any GitHub Release (including draft), or an existing npm version closes this exception permanently for that version. Failed historical workflow runs remain as audit evidence after a reclaim and are not deleted or rewritten.
A failed authoritative release-build may expose a release-only build, packaging,
installer, provenance, or workflow-contract defect that pre-tag readiness does not
exercise. After that happens, the same version may take a bounded recovery path
without repeating readiness only when all of these conditions hold:
- at least one earlier readiness run for this release version/source line completed successfully before the failed authoritative build;
- the failed build is terminal and the diagnosed fix is confined to release/CI, packaging, installer, provenance, tests, or documentation surfaces rather than a product/runtime behavior change;
- the repaired exact
release/v<VERSION>source passes its ordinary exact-source push CI and focused regression validation for the failed build contract; - no GitHub Release exists for the tag, the npm version is absent, and no
authoritative
release-buildfor the version has succeeded; - the human requester explicitly authorizes reclaiming and recreating the version tag at the repaired exact source.
In this recovery path, cancel or ignore any automatically started release-source
readiness evidence run. Use the guarded reclaim-tag operation, create a new
annotated tag only after the explicit tag authorization, then use a fresh durable
build-start / build-status state for the repaired tag. Do not resume a high-level
plan whose readiness/build state is bound to the superseded source, and do not
reuse artifacts from any earlier build attempt. A product/runtime source change
falls back to the normal readiness path.
Before tagging or publishing, follow sections in
RELEASE_CHECKLIST.md. For normal releases, cut release/v<VERSION> from the reviewed main commit chosen for the release before release prep, then target version/release-metadata work at that branch. For a hotfix, the release branch may instead start at the previous immutable release tag and carry only the required fix plus release prep. Once the branch is cut, unrelated PRs may keep merging into main; only the selected release source branch must remain stable through readiness and tag creation. Product fixes unique to the release branch are forward-ported to main separately, while release-only version metadata need not be merged back.
The final executable pre-tag gate is
.github/workflows/release-readiness.yml, observed through
scripts/release_operator.py readiness-start / readiness-status for one exact source branch/SHA pair. The source ref is either main or exactly release/v<VERSION>. Ordinary source-branch CI remains the common correctness authority and records complete Linux Rust/tooling coverage plus path-aware Windows x64, macOS Apple-Silicon, Desktop, and amd64 Server-image checks; scarce Linux ARM64, macOS Intel, and Windows ARM64 runners remain absent from ordinary CI.
For release/v*, pushing the exact source also starts release-readiness.yml in source-evidence mode. That run precomputes the same expensive release-specific evidence that used to sit serially behind operator dispatch: extended-native.yml supplies Linux ARM64 production coverage plus macOS Intel and Windows ARM64 runtime/Desktop build/install smoke; WebSocket/polling E2E and coding-loop compare eval run in parallel; then native linux/amd64 and linux/arm64 disposable Server-image jobs verify build/runtime/health/non-root behavior and digest-pinned bootstrap generation. The source-evidence run has read-only repository/Actions authority, uploads no artifacts, logs in to no registry, publishes nothing, and creates no formal release candidate.
After exact-source CI and source-evidence both succeed, readiness-start binds their exact run ids and attempts in durable local state. Its small operator-dispatched run re-fetches both immutable attempts with read-only Actions authority and fails closed unless workflow path, push event, source ref/SHA, repository, attempt, and terminal success all match. The expensive jobs are skipped in that dispatch instead of rebuilt. A release sourced directly from main has no precomputed source-evidence run; its dispatch retains the previous slow fallback and executes those expensive jobs itself, so ordinary main pushes do not consume scarce runners.
After immutable tagging, authoritative release-build.yml now starts with a cheap exact-tag preflight that runs the deterministic release/tooling contract before any scarce native matrix. Only that preflight can unlock the six-platform runtime/Desktop jobs. This is intentionally redundant with ordinary PR CI: it fences the exact tagged workflow source so YAML/shell/static packaging drift is rejected in minutes instead of after platform builds have consumed tens of minutes.
The core Release and distro/unified installers are separate concerns. By default release-build.yml produces the six native runtime archives plus the version-appropriate primary Desktop distributions and same-run release metadata. include_unified_installers=true is an explicit opt-in extension that additionally builds the Linux DEB/RPM, macOS PKG, Windows unified EXE, source manifests, and installer manifest. A unified-installer failure must not block the ordinary core Release when that option was not requested. The public download-page workflow likewise treats the installer manifest as optional: a core-only Release completes without a download-page artifact, while a present installer manifest is still validated fail-closed.
Starting with v0.4.3, the primary build owns macOS Apple-Silicon plus Windows x64/ARM64 Desktop candidates, while macOS Intel Desktop remains a post-publication supplemental workflow so its slow DMG build does not delay the core Release. The darwin-x64 runtime archive itself remains part of the primary six-platform bundle. Post-publication consumers prefer machine-readable --build-info-json over formatting assumptions about --version; historical short commit identities may be accepted only when they still identify the exact immutable release source.
For normal human operation, prefer release_operator.py doctor before the release window and one durable high-level release-init / release-resume plan during the release. The plan composes the same low-level readiness/build/collect/stage/verify primitives without weakening their exact-source correlation. It automatically advances only recoverable phases and returns explicit needs_authorization states before immutable tag creation, draft creation, and public GitHub/npm publication; it returns needs_reconciliation instead of deleting/repeating local outputs whose completion is uncertain. release-status is read-only, and every low-level operator command remains available for diagnosis or bounded recovery.
The lower-level topology deliberately separates roles. The release control host first runs release_operator.py preflight against the exact source ref/SHA, then GitHub Actions validates that pre-tag source in the durable readiness workflow. After explicit authorization creates the immutable tag, the tag becomes the release source authority: release_operator.py build-start / build-status bind one durable rb_* request to release-build.yml dispatched from that exact tag. main and the release branch may advance after tagging without invalidating the build or publication plan. The workflow always builds the six native runtime archives from the exact tag. For v0.4.3+, its core same-run bundle contains the macOS Apple-Silicon and Windows x64/ARM64 Desktop distributions; the historical v0.4.2-and-earlier contract retains macOS Intel in that bundle. Ordinary CI/readiness stays ad-hoc and credential-free, while formal public macOS Desktop, bundled Runner, and optional unified payloads default to one persistent self-signed identity. The certificate/private key and independently pinned SHA-1 must remain stable across releases; Desktop dev.webcodex.desktop and Runner dev.webcodex.runner use certificate-anchored, non-cdhash designated requirements. Developer ID/notarization remains an optional future migration and is not a release prerequisite.
New high-level release plans use schema 3 and persist
require_unified_installers=true and dispatch
include_unified_installers=true, opting into the workflow's unified extension.
Low-level build-start --include-unified-installers makes the same selection;
its default remains the ordinary core-only build. False omits the new dispatch
input for compatibility with older immutable workflows; true sends it explicitly.
Build state schema 2 records
that exact selection. Schema 1 build state migrates conservatively to false;
a strict plan rejects a reused false/unknown selection, including a previously
recorded successful phase, instead of treating core-only success as unified
success or redispatching an uncertain request. It is a caller-owned delivery requirement,
not an inference from whichever assets happen to remain in a bundle. Collection,
existing-bundle reconciliation, npm staging and draft verification all enforce the
eight installer targets, six source manifests and checksummed public manifest.json.
The native workflow uses an explicit Cargo target directory before Desktop
compilation. Metadata and upload verification require the complete unified
bundle only when the explicit workflow input is true; core-only bundles retain
normal validation. Public
verification remains a separate final gate and must use
python3 scripts/verify_public_release.py <VERSION> --require-unified-installers
for these plans. Existing schema 1/2 plans migrate with the legacy requirement
set to false; low-level historical verification retains its default compatibility.
Current low-level collect, stage-npm, verify-draft and metadata commands
must pass --require-unified-installers when used outside a new plan for a
supported unified delivery. Do not infer this requirement from a version threshold
or modify already published legacy releases.
The release control host collects the exact primary bundle with release_operator.py collect (locked run id, source SHA, and tag; GitHub artifact REST download, no gh run download) and stages npm from the retained runtime bytes without Cargo. Draft verification compares GitHub-provided asset digests and sizes against those retained bytes. Creating the immutable tag, making the GitHub Release public, and npm publish remain explicit human-authorized steps.
Publishing a v0.4.3+ GitHub Release independently activates two post-publication adapters. release-image.yml publishes/reconciles the server-only multi-arch GHCR image and its digest-pinned bootstrap assets, validating structured build identity rather than a hand-formatted commit string. release-desktop-darwin-x64.yml runs on the native Intel runner, downloads and verifies the already-published immutable darwin-x64 runtime archive against the primary SHA256SUMS, validates its machine-readable build identity against the exact tagged source, and attaches the reconciled DMG under the same persistent signing mode plus its dedicated .sha256 sidecar to the same Release. It never rewrites the primary SHA256SUMS. Reruns treat an already-published DMG as immutable authority, verify any existing checksum against those bytes, and may derive only a missing checksum from the existing DMG. An orphan checksum without its DMG or duplicate/conflicting assets fail closed instead of replacing published bytes. The Intel Desktop adapter is intentionally outside the primary Release critical path and can also be manually backfilled from reviewed main for the exact public tag.
One well-connected Linux host performs the full public-byte verifier for npm, the six native Release archives, and the primary Desktop distributions. For v0.4.3+, Intel Desktop publication is explicitly outside that core acceptance boundary: no supplemental bytes is valid, a one-file intermediate state is reported as publication in progress without failing the core Release, and a complete DMG/checksum pair is verified independently. Native macOS readiness/smoke owns code-signature evidence; the Linux verifier hashes published DMGs but does not substitute for codesign validation. Do not fan release downloads or rebuilds out to per-platform development machines merely to prove that a foreign archive is downloadable.
Ordinary development prompts do not authorize:
git tag/ annotated tagsgit push/ force-pushnpm publish- GitHub Release creation
- development or production deploy/restart
An explicit development deployment request authorizes only the named dogfood
targets and operations described in section 1; it does not imply release or
publication. An explicit release prompt may override only the default no-tag /
no-push / no-GitHub-Release / no-npm-publish defaults when the explicit delivery
rules in AGENTS.md are satisfied. It does not override no-force-push,
published-tag immutability, no-secrets, no-history-rewrite, or validation gates;
the only tag-reuse exception is the guarded failed pre-publication reclaim defined
above.
The v0.5.8 request,
notes,
code-owned controller, and
reviewed publisher
retain all 28 v0.5.7 staged checkpoints, strict source/CI/readiness identity,
11 Windows-only assets, two native architectures, five install scenarios each,
immutable tag, SHA-256 checks, and preservation of all-platform latest.
The source is fixed at 9d9200a9da040e1c72f8f627b077285cf954d02b (tree dcf635afc1b7d5ad669fd756d1f6506f4d72ab17);
CI run 42523755555 and readiness run 42523756080 both passed on that source.
This follow-up fixes the JSON-error classification visibility defect, not an
unobserved underlying rejection on a particular user's historical Environment.
It does not relax ownership, ACL, path, registration, or execution authority.
The v0.5.9 controller, request, bilingual notes, and publisher reuse the v0.5.4 all-platform staged controller, not the Windows-only v0.5.6–v0.5.8 overrides. They preserve all 28 checkpoints, six native runtime archives, primary Desktop packages, eight unified installer targets, six source manifests, exact-source qualification, persistent macOS signing and immutable assets. No npm publication is performed.
The fixed Windows worker requires five real installer scenarios on each native
architecture, including both configured and unconfigured v0.5.4 upgrades. Both
same-attempt reports must pass before the same public preview is promoted with
prerelease: false, make_latest: true. The controller verifies that Release is
latest, then requires image verification and the supplemental Intel DMG/checksum
pair before completion. Earlier Windows-only releases remain unchanged.
Keep source SHA/tree at 40-zero placeholders and CI/evidence run IDs at 1
until the release source and its successful exact attempts are known. Finalize
code and JSON together in a separately reviewed control commit. The guard rejects
unfinished pins before authentication or any publication operation.