Repository navigation
Software Requirements Specification Part 8
github-actions[bot] edited this page Nov 20, 2026
·
2 revisions
| ID | Requirement | Rationale | Fit Criterion | Verification |
|---|---|---|---|---|
| LBA-REQ-086 | The system shall package the .vsix byte-identically on the windows and linux planes -- pinning its OS-dependent zip metadata (entry timestamp, mode, version-made-by) and forcing LF on its packaged content -- so a fail-closed gate proves a windows build and a linux build of the same commit have the same sha256. |
A plane is the OS the extension runs in (windows, linux); the human reviews on the windows plane and CI publishes on the linux plane, and a genuine corroboration needs a windows- AND a linux-plane witness to agree on ONE artifact. But vsce/yazl writes OS-dependent metadata (mtime from the clock, mode from fs.stat, a version-made-by host byte) and tsc/checkout can emit CRLF, so a Windows build and a Linux build of the same commit had different sha256 -- the reviewed artifact was never the shipped one, and two planes could not corroborate one identical artifact. |
scripts/normalize-vsix.mjs pins every entry's timestamp (1980-01-01) + external attributes (regular file 0644) + version-made-by (Unix); .gitattributes forces LF on the packaged files (scoped past the Windows-captured fixtures) + tsconfig.json sets newLine: lf, so the packaged bytes depend only on the committed content, not the plane. |
.github/workflows/vsix-cross-plane-repro.yml builds npm run package on ubuntu-latest AND windows-latest and asserts the two sha256 are identical (fail-closed); the offline gate vsix-cross-plane-repro-workflow-wired guards the workflow + prerequisites; test/normalize-vsix.mjs covers the mode/version pinning. |
| LBA-REQ-087 | The system shall produce a genuine witness on the windows plane and the linux plane and prove, in CI, that they cross-plane corroborate over the deterministic anchors, so a fail-closed gate blocks any claim of two-plane corroboration unless both planes actually agree. |
ADR-0068 found the ACG's live corroboration single-plane (linux-only) -- genuine cross-plane was PENDING a windows-plane witness, and none was committed. But windows-latest CI is a genuine windows plane (the extension runs + the gate passes there), so a real windows witness can be produced automatically; the viewer seriesHash is deterministic DATA (identical on every plane), so a linux + windows witness carry the same OS-independent anchors. |
experiments/acg-quorum/produce-witness.mjs emits an acg-witness-bundle-v1 from the current plane (os, version, sourceCommit, gate verdict, and the seriesHash projected from the committed mprr fixture by the shipped viewer code); pngSha256 is an optional Linux-only anchor. .github/workflows/acg-cross-plane-corroboration.yml runs it on a multi-substrate matrix -- ubuntu-22.04 + ubuntu-24.04 (linux plane) and windows-2022 + windows-2025 (windows plane), each after npm test -- and corroborate-planes.mjs corroborates ALL substrates (crossPlane), proving the anchor is substrate-independent. |
node experiments/acg-quorum/produce-witness.selftest.mjs (a linux+windows pair corroborates; a single-plane, divergent, or non-pass pair fails closed) gated by acg-cross-plane-corroboration; the workflow drift gate acg-cross-plane-corroboration-workflow-wired; the live dual-OS corroborate job. |
| LBA-REQ-088 | The system shall capture the genuine cross-plane corroboration -- a real linux-plane witness and a real windows-plane witness produced in CI (LBA-REQ-087) -- as a committed, tamper-evident attestation that re-derives its os-plane quorum offline, so a fail-closed gate blocks any durable claim of two-plane corroboration unless both planes genuinely agree and a single-plane witness set (the 1.0.0 defect) fails closed. | ADR-0069 proves genuine cross-plane corroboration LIVE, but that proof is ephemeral (only inside a workflow run) -- nothing committed consumed a genuine windows-plane witness, so the ACG's committed evidence still had only the honest single-plane negative (ADR-0068) and the shipped 1.0.0 quorum (a LINUX witness + a VMware-Ubuntu witness -- both the linux plane) stayed a flagged defect. The ADR-0069 workflow (push: develop) produced a real os:linux + os:windows witness at one develop commit -- capturable durably. |
experiments/acg-quorum/cross-plane-attestation.mjs (schema cross-plane-corroboration-attestation@1) embeds the two GENUINE CI witnesses + their run provenance, re-derives the os-plane quorum (compare-witnesses.mjs), and is corroborated only when it PASSES + spans both os-planes (crossPlane); a canonical digest makes it tamper-evident. The committed receipt captures ubuntu-latest + windows-latest at 2a0352c (run 30923501292). The HUMAN sign-off is deliberately not synthesized (the reviewer's local key). |
node experiments/acg-quorum/cross-plane-attestation.selftest.mjs (the committed attestation validates; a single-plane set -- the 1.0.0 defect -- + a non-pass + a tampered witness/verdict/digest all fail closed) gated by acg-cross-plane-attestation. |
| LBA-REQ-089 | The system shall bind an enrolled human sign-off to the genuine cross-plane quorum -- the reviewer signs the crossPlane quorum digest with their local Ed25519 key -- so a fail-closed gate blocks any signed corroboration unless the quorum is genuinely cross-plane, passes, names the candidate, and carries a verified enrolled approval. | LBA-REQ-088 captured a genuine crossPlane machine quorum, but a quorum alone is not the machine corroboration GATE: ADR-0018 (gateReleasePublish) is the quorum PLUS a recorded enrolled human sign-off over that exact quorum. The shipped 1.0.0 had a sign-off but over the SINGLE-PLANE quorum; an honest re-seal needs the enrolled reviewer to sign over the genuine crossPlane quorum. The sign-off is signed with the reviewer's local Ed25519 key (never committed); the agent must not synthesize it. |
reviewer-workstation/sign-release-quorum.mjs is a deterministic, offline signing helper (the reviewer signs the committed quorum's bundleDigest locally; the private key never leaves the reviewer). experiments/acg-quorum/signed-cross-plane-corroboration.mjs (schema signed-cross-plane-corroboration@1) REUSES gateReleasePublish + requires crossPlane + the consensus names the candidate; the committed receipt records extension 1.0.0 @ 2a0352c + the enrolled maintainer-role sign-off, verified against the committed allowlist. |
node experiments/acg-quorum/signed-cross-plane-corroboration.selftest.mjs (7/7: a signed crossPlane quorum validates; a single-plane, non-pass, un-enrolled, forged, unnamed, or tampered receipt fails closed) + the committed-receipt check, gated by acg-signed-cross-plane-corroboration. |
| LBA-REQ-090 | The system shall re-seal the 1.0.0 composite release decision over the genuine cross-plane quorum -- binding the crossPlane machine corroboration (LBA-REQ-089) to a signed human visual PASS of the byte-reproducible candidate over one net-staged candidate -- so a fail-closed gate blocks the composite unless its machine quorum is genuinely cross-plane, both gates carry verified enrolled sign-offs, and all bind to one candidate. | LBA-REQ-089 re-sealed the MACHINE corroboration, but the shipped 1.0.0 COMPOSITE decision (ADR-0051, the capstone binding the machine gate to the human visual gate over one net-staged candidate) still stood on the single-plane quorum. The extension runtime (src/out/media) is byte-identical from the originally-reviewed 1.0.0 (1054b07) through the quorum commit (2a0352c), so the reviewer's original genuine review re-binds to the byte-reproducible, cross-plane candidate. |
reviewer-workstation/sign-visual-verdict.mjs (deterministic offline visual-verdict signer). The genuine composite reviewer-workstation/composite-release-decision-receipt.json (collapsed to the crossPlane re-seal, ADR-0073) is assembled via the REUSED composite verifier from the crossPlane quorum (LBA-REQ-088) + the enrolled machine sign-off (LBA-REQ-089) + a signed WINDOWS_VM visual PASS (vsix 2ec7bd31 @ 2a0352c) + the genuine WIN staging -- all 5 bindings hold, quorum crossPlane, both gates signed by the enrolled sign-off identity (maintainer role). verify-composite-release now REQUIRES crossPlane. |
node reviewer-workstation/crossplane-composite-reseal.selftest.mjs (the committed crossPlane composite validates as proven + its quorum is crossPlane; verify-composite-release clears it + rejects a single-plane variant) gated by acg-crossplane-composite-reseal. |
| LBA-REQ-091 | The system shall ingest a live mesh-run dispatch and the actors' returned plane-tagged receipts into a run-bound actor-tasking + receipt-collection bound to the dispatchId -- so a fail-closed gate blocks fulfillment unless every collected receipt provably ran the dispatched benchmark on a tasked plane. | The fan-out (LBA-REQ-076) validates COMMITTED tasking + collection fixtures, but a LIVE run must bind the actual dispatch (the workflow client_payload) + the actors' returned receipt artifacts into that contract; nothing governed that ingestion step, so an agent-driven live run could feed the fulfillment gate a receipt set assembled outside the real dispatch. |
meshIngest.mjs reads a validated live dispatch (requestOk + identity self-consistency, LBA-REQ-074) + a folder of returned-receipt@1 files and REUSES the LBA-REQ-076 fan-out (deriveTasking + buildCollection + validateTasking + validateCollection) to produce a run-bound tasking + collection bound to the dispatchId; fails closed on an uncovered plane, a declared/receipt plane mismatch, a receipt identity mismatch, an unbound task, a duplicate actor, a malformed dispatch, or a malformed returned receipt. |
node experiments/mesh-fulfillment/meshIngest.selftest.mjs (8/8); gated by mesh-run-ingest. |
| LBA-REQ-092 | The system shall corroborate a run-bound receipt collection across its planes and compare the planes' benchmark metrics -- so a fail-closed gate blocks a cross-plane result unless the collected receipts span >= 2 distinct OS-planes, every plane's benchmark PASSED, and each re-derives the dispatched benchmark identity. | LBA-REQ-091 binds a live dispatch + returned receipts into a run-bound collection, but nothing consumed it to a single cross-plane verdict + comparison; "corroborated + compared" (the campaign milestone) was ungoverned over the ingested receipts. |
meshCorroborate.mjs (corroborateRun) corroborates the collected plane receipts cross-plane (>= 2 planes, all PASS, each re-deriving dispatchIdentity{metric,workload,n} = the collection identity) + REUSES benchmark-store compareRuns (LBA-REQ-010) for the WIN-vs-LINUX delta, emitting a run-bound mesh-cross-plane-report@1; fails closed on a single-plane collection, a non-PASS plane, an identity mismatch, a malformed collection, a non-trend receipt, or a plane mismatch. |
node experiments/mesh-fulfillment/meshCorroborate.selftest.mjs (8/8) + the committed two-plane collection corroborates; gated by mesh-cross-plane-corroborate. |
| LBA-REQ-093 | The system shall pin the exact Node.js version that packages the .vsix in a repo-root .nvmrc sourced by every release-path workflow, so a fail-closed gate proves the reviewed build and the CI publish build use the identical Node version and cannot drift across a Node minor. |
LBA-REQ-085/086 make the .vsix byte-reproducible within a Node major, but the packaged bytes are reproducible only within an EXACT Node version -- a Node minor can perturb them -- and every release-path workflow pinned node-version: '24', which floats to the latest 24.x in the runner cache, so a future minor could silently drift CI's sha from the reviewed sha and re-break the reviewed==shipped gate at publish, the most expensive place to find it. |
A repo-root .nvmrc pins the exact version (24.19.0); extension-release.yml, vsix-cross-plane-repro.yml, and acg-cross-plane-corroboration.yml source it via node-version-file: .nvmrc (no floating literal); lba release-preflight asserts the local Node equals .nvmrc. |
The gate release-path-node-pinned proves .nvmrc pins an exact version and every release-path workflow sources it (pinning no floating literal), and the scripts/lba.mjs selftest proves the exact-version preflight (an equal Node clears, a later 24.x fails). |
| LBA-REQ-094 | The extension shall contribute discoverable compound VS Code tasks for agent preflight, local standards governance, reviewer mesh readiness, and release-candidate verification, so human operators can execute the governed workflows without reconstructing command sequences. | Marketplace users do not receive repository .vscode tasks, and repeated manual command entry caused signed review failures. The release governance pass also depends on local access to svelderrainruiz/repo-standards-review, its published Linux-container workbench, and the local governed standards corpus. |
A labviewBenchmarkActor TaskProvider launches a packaged runner with VS Code's Node runtime. The governance task requires a local standards checkout, the eight-PDF standards corpus, Docker Linux mode, and the published assurance-workbench:main release-gate profile; it mounts the corpus read-only and compound tasks stop on the first failure. |
npm test proves the provider exposes all four named tasks and uses ELECTRON_RUN_AS_NODE; human-task-shortcuts in verify-local-gates proves the runner's local-checkout, standards-corpus, Linux-engine, workbench-image, and fail-closed wiring. |
Generated from docs/requirements/srs.md on develop. Edit the source in the repository, not this page.