Skip to content

LBA REQ 020

github-actions[bot] edited this page Nov 19, 2026 · 4 revisions

LBA-REQ-020: Bidirectional release sign-off

Status

Proven

Area

CM / release governance (bidirectional WIN<->LINUX plane sign-off)

Statement

The system shall block a component release from publishing until both the WIN and LINUX planes have recorded an agreed sign-off for that exact component version.

Rationale

A shared release — the collab-cli bus binary (collab-cli-vX.Y.Z) or the VS Code extension .vsix (ext-vX.Y.Z) — is co-owned by both planes. Letting either plane publish unilaterally would ship an unreviewed change, so each component's release workflow fails closed until both planes commit an explicit agreed:true sign-off for the exact version.

Acceptance Criteria

  • verify-release-agreement.mjs reads tools/release-governance/release-agreement.json (release-agreement@v2) and exits 0 only when every required plane (WIN and LINUX) records agreed:true for the <component, version> being published.
  • The gate fails closed: it exits 1 on a missing, withheld (agreed:false), or unparseable sign-off, and exits 2 on a usage error, so an absent ledger never reads as consent.
  • <version> accepts the bare SemVer or the tagged form (collab-cli-vX.Y.Z / ext-vX.Y.Z); the default component is collab-cli and --component <name> selects another (e.g. extension).
  • Gated in CI: .github/workflows/extension-release.yml runs the gate before its publish job, so neither plane can unilaterally ship the extension. lbabus is released from its own repository (ADR-0088), so its former lane is retired.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

Keep the gate fail-closed and keep the release workflow calling it before publish. New required planes extend requiredPlanes. Authored under the repo-standards-review singular-requirement directive (one shall).

TestID

T-020

CodeRef

tools/release-governance/verify-release-agreement.mjs; tools/release-governance/record-release-agreement.mjs; tools/release-governance/record-release-agreement.selftest.mjs; tools/release-governance/release-agreement.json; .github/workflows/extension-release.yml

RTM Status

Proven

Clone this wiki locally