Skill v1.0.1
currentAutomated scan100/100+4 new
name: release-x2c description: >- Prepare, stage, promote, and verify an x2c release, or recover from a failed or broken one. Use when Gary asks to cut, publish, tag, or check a release, to bump the compiler version for a release, or when a release workflow run or published release has failed. Do not use to change what the release workflow builds; use plan-x2c-change or execute-x2c-plan. Do not use to add a package bundle; use integrate-x2c-package. metadata: version: "1.0.1"
Release x2c
Take one selected commit from dev through staging to a verified production release. Read agents/releasing.md for the sequence and deployment operations for provisioning, recovery and first-release constraints.
Gary decides each publication by asking for it. A request such as "release 0.16.2" or "publish the site" covers every step through production. Perform them without further questions and send one report at the end: the verified live result, or the exact failure. Do not infer a request to publish from approval of a plan or an implementation, and keep publication separate from ordinary delivery to dev.
Prepare and stage
Land version preparation on dev through the root delivery policy and existing gate. Skip a bump when the intended version remains unpublished. Dispatch candidate.yml only for the selected full SHA; record its successful run, manifest and independent candidate identity. Staging is a separate explicit stage.yml operation, bound to the expected current staging output.
Wait for the entire staging workflow, including four-platform verification and durable receipts. A final rebuild invalidates earlier verification and requires a new candidate. Diagnose failed jobs and repair on dev; never substitute fresh archives into a previously verified identity.
Promote and verify
Run tools/release-main for the verified candidate SHA and version; stop on a conflicting published version or tag. A tag triggers no rebuild.
Dispatch promote.yml for that candidate and the observed previous production version. Follow asset upload, complete site deployment, live verification and retained proof. Report success only after all finish; a green build, tag or visible release alone is insufficient.
Update only the website
For a website correction between releases, follow Update only the website: stage the dev commit with mode=website, check it, then promote the kept archive. Ask Gary before promoting only when the staging run lists book changes that describe unreleased behavior.
Recover
Use the recovery instructions in deployment operations. Preserve immutable archives and resume missing identical uploads. Restore a previous verified complete site when necessary, retaining public tags/assets and reporting any main/site discrepancy. Prepare a patch candidate for defective published bytes and ensure production fixes return to dev. Never force main, move a public tag, clobber release assets or treat a fresh build as promotion of tested bytes.