Skip to content

LBA REQ 070

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

LBA-REQ-070: Composite release decision (bind the machine corroboration gate to the human visual gate over one net-staged candidate)

Status

Proven

Area

Deployment / agentic (ADR-0051 -- composite release decision, off GitHub Discussions -- productized)

Statement

The system shall record, as a committed fail-closed receipt, that a release candidate publishes ONLY when BOTH the machine corroboration gate (a quorum verdict + an enrolled sign-off over it, ADR-0018) AND the human visual gate (an enrolled signed PASS of the built candidate, LBA-REQ-057) pass, AND both name the SAME net-staged candidate (LBA-REQ-068/069) -- so a fail-closed gate proves the machine quorum, the human visual verdict, and the net stage all name one candidate (no machine-PASS-A + human-PASS-B).

Rationale

gateReleaseWithReview already ANDs the machine gate (gateReleasePublish, ADR-0018) + the visual gate (gateVisualReview, ADR-0037), but ANDs two INDEPENDENT decisions -- nothing checks that the machine quorum consensus (version + sourceCommit), the visual verdict target (component/version/commit/vsixSha256), and the net-staged candidate are the SAME candidate, so -- in principle -- a machine PASS of candidate A could be published with a human PASS of candidate B.

Acceptance Criteria

  • A committed receipt (reviewer-workstation/composite-release-decision-receipt.json, schema composite-release-decision-receipt@1) records a passing machine gate (gateReleasePublish: quorum PASS + an enrolled sign-off over the quorum digest) AND a passing visual gate (gateVisualReview: an enrolled signed PASS), for ONE candidate.
  • The verifier (composite-release-decision.mjs) REUSES gateReleaseWithReview and FAILS CLOSED unless BOTH gates publish AND the machine quorum consensus (version + sourceCommit), the visual verdict target, and a matched WIN net staging drive all name the SAME candidate; it re-derives the decision + binding + digest DETERMINISTICALLY (no VM / network / live human). Selftest 7/7.
  • Comms-only holds (ADR-0003): the staging frame is a one-line status frame, never run data.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

the verifier + selftest + receipt live under reviewer-workstation/ (composite-release-decision.mjs / .selftest.mjs / composite-release-decision-receipt.json); gate composite-release-decision in verify-local-gates. The machine gate (experiments/acg-reviewer/sign-off.mjs), the visual gate + composer (experiments/handoff-beacon/reviewerVerdict.mjs + release-with-review.mjs), and the candidate-binding helpers (reviewer-workstation/release-with-review-drive.mjs) are all REUSED unchanged. Authored under the singular-requirement directive (one shall).

TestID

T-070

CodeRef

reviewer-workstation/composite-release-decision.mjs; reviewer-workstation/composite-release-decision.selftest.mjs; reviewer-workstation/composite-release-decision-receipt.json; reviewer-workstation/assemble-composite.mjs; reviewer-workstation/assemble-composite.selftest.mjs; experiments/handoff-beacon/release-with-review.mjs; experiments/acg-reviewer/sign-off.mjs; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally