Repository navigation
LBA REQ 070
LBA-REQ-070: Composite release decision (bind the machine corroboration gate to the human visual gate over one net-staged candidate)
Proven
Deployment / agentic (ADR-0051 -- composite release decision, off GitHub Discussions -- productized)
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).
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.
- A committed receipt (
reviewer-workstation/composite-release-decision-receipt.json, schemacomposite-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) REUSESgateReleaseWithReviewand FAILS CLOSED unless BOTH gates publish AND the machine quorum consensus (version + sourceCommit), the visual verdict target, and a matchedWINnet 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.
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).
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
Proven