Repository navigation
Release Procedure
ISO/IEC/IEEE 15289 procedure information item and the ISO/IEC/IEEE 12207 / ISO 10007 release process for this repository. The configuration management plan (
docs/cm/cm-plan.md) states the policy (GitFlow, baselines, status accounting); this document is the step-by-step procedure that executes a signed, corroborated release. Every enforcement point named below is a real workflow, gate, or script in this repository, and therelease-procedure-references-resolvegate (LBA-REQ-036) fails closed if any of them stops resolving, so this procedure cannot rot away from the apparatus.
Two artifacts are released from this repository, each on its own SemVer tag
namespace on the protected main branch:
- the VS Code extension
.vsix— tagext-vX.Y.Z, workflow.github/workflows/extension-release.yml; -
lbabus is released from svelderrainruiz/lbabus (tag
vX.Y.Z), not from this repository; the extension pins one release inrelease-components.json(lbabusRelease, ADR-0088).
The extension publish is fail-closed behind the bidirectional WIN ↔ LINUX agreement gate (LBA-REQ-020) and carry keyless provenance recorded in the signed transparency log (LBA-REQ-031). No release is installable until its corroboration attestation is proven included in that log.
- The change set is merged to
developand green:verify-local-gates(all checks),coverage,dod, andDocs Link Check / lycheepass ondevelop. - The version to release is decided (SemVer).
release-components.jsonbinds the extension, AGENTS,lbabus, and human-task versions; its extension version matchespackage.jsonandpackage-lock.json. -
Build/review on the pinned node (LBA-REQ-085, issue #408). The published
.vsixis byte-reproducible only within an exact node version, so the release path is pinned by the repo-root.nvmrc. Runnvm use(or install that exact version) before packaging; every release-path workflow sources the same pin vianode-version-file: .nvmrc. To bump the pinned node, edit.nvmrcto the new exactX.Y.Z, re-npm run packageto confirm the reviewed sha still matches CI, and re-run the byte-repro grid — the pin is the single source; no workflow edits are needed. - Enrolled corroboration witnesses (at least the quorum minimum, from distinct environments per LBA-REQ-026) are available to attest.
Concrete sequence: the copy-pasteable, agent-executable end-to-end steps (exact commands, artifact locations, and ordering, captured from the 1.1.1 publish) live in the companion runbook
docs/release/release-runbook.md.
-
Cut the release branch (GitFlow, LBA-REQ-016, ADR-0010). Create
release/X.Y.Zfromdevelop. Only release/hotfix heads may targetmain(pr-base-branch-guard, LBA-REQ-030). -
Set the system version. Bump every changed component in
release-components.json, bump the extension toX.Y.Z, synchronize package metadata and component sources, and finalizeCHANGELOG.md. The installed.githooks/pre-commitrejects governed component changes unless those release documents are staged and have no unstaged edits. -
Merge to
mainwith a merge commit. Mergerelease/X.Y.Zintomainusing--no-ff(never squash a release — seedocs/cm/cm-plan.md, "Merge method by branch type"), preserving shared ancestry somain↔developnever diverge. -
Corroborate across planes (LBA-REQ-023–028). Run the corroboration grid so
each enrolled witness attests the exact built artifact; assemble the witnesses
and compute the quorum + graded confidence (LBA-REQ-024). The grid is exercised
offline by the
acg-*gates and, over the mesh, by the verdict beacon (LBA-REQ-028). -
Record the bidirectional sign-off (LBA-REQ-020). The
.vsix/ bus release publishes only after both the WIN and LINUX planes record an agreed sign-off for that exact version — the agreement gate in.github/workflows/extension-release.ymlis the enforcement point. -
Keyless-sign the artifacts (LBA-REQ-025, ADR-0016). CI keyless-signs each
staged artifact with cosign — a short-lived Fulcio certificate bound to the
workflow identity, with the signature recorded in the public rekor
transparency log — via
.github/workflows/acg-keyless-attest.ymland the./.github/actions/keyless-attestaction. Correct wiring is drift-gated offline byacg-keyless-attest-workflow-wired. -
Log the attestation (LBA-REQ-031, ADR-0022). Each witness attestation is
recorded as a leaf in the signed Merkle transparency log
(
experiments/acg-transparency/transparency-log.mjs, RFC 6962), producing an inclusion proof against the signed tree head. -
Cut the immutable GitHub Release. A maintainer creates the immutable
release with the signed assets attached at creation:
gh release create ext-vX.Y.Z staging/* --target main. Attaching the signed.vsix(+.sigstore/.pem/.sig) at creation keeps the release immutable-safe. The retainedpush: tags: ext-v*trigger is dormant under branch protection;workflow_dispatchis the live build/stage path. -
Publish the secondary stable Marketplace release. Only after the canonical GitHub
Release exists, dispatch
extension-release.ymlfromext-vX.Y.Zwithpublish_marketplace=true. The workflow downloads the release VSIX, proves its SHA-256 equals the staged VSIX, and invokes stablevsce publishon that downloaded canonical asset. -
Verify before install (LBA-REQ-031). Consumers admit a release only after
experiments/acg-transparency/verify-release-inclusion.mjsproves at least the quorum minimum of enrolled-witness attestations are each included in the signed log; a missing or tampered proof blocks the install. This is wired fail-closed intoreviewer-workstation/provision.ps1before the.vsixinstall (acg-transparency-verify-before-install-wired). -
Merge back and close out. Merge
release/X.Y.Zintodevelop(--no-ff) so the version bump and any release fixes return to integration; delete the release branch after both merges complete. Record the release (source commit, tag, corroboration result) as status-accounting closeout indocs/testing/test-report.md's regenerated counts and the CM discussion thread (docs/cm/cm-plan.md, "Status accounting").
- A release that fails verify-before-install is not installable by design — no rollback of consumers is required; the un-attested or un-logged release is refused at step 9.
- To supersede a bad tag, cut the next patch (
X.Y.Z+1) through this same procedure. Tags onmainare immutable and CI-owned; they are never force-moved.
| Step | Invariant | Enforcement point |
|---|---|---|
| 1 | Only release/hotfix heads reach main
|
pr-base-branch-guard (LBA-REQ-030) |
| 3 |
main ↔ develop never diverge |
--no-ff merge (cm-plan) |
| 5 | Both planes agree the exact version | agreement gate in extension-release.yml (LBA-REQ-020) |
| 6 | Artifacts keyless-signed (Fulcio + rekor) |
acg-keyless-attest.yml, acg-keyless-attest-workflow-wired (LBA-REQ-025) |
| 7 | Attestation logged, tamper-evident |
experiments/acg-transparency/transparency-log.mjs (LBA-REQ-031) |
| 9 | Only quorum-attested + logged releases install |
experiments/acg-transparency/verify-release-inclusion.mjs, acg-transparency-verify-before-install-wired (LBA-REQ-031) |
Generated from docs/release/release-procedure.md on develop. Edit the source in the repository, not this page.