Repository navigation
Software Requirements Specification Part 2
github-actions[bot] edited this page Nov 19, 2026
·
1 revision
| ID | Requirement | Rationale | Fit Criterion | Verification |
|---|---|---|---|---|
| LBA-REQ-017 | The system shall record every LabVIEW authoring-lane dependency as a version-pinned entry in a governed dependency manifest. | The authoring lane (labview_assistant + its DQMH dependency + the .vipb VI-Package build) must build reproducibly on the Windows clean room, which requires every dependency pinned to a concrete, verifiable version rather than a floating reference. |
experiments/labview-authoring/dep-manifest.json records each authoring dependency with a pinStatus of resolved (a concrete git SHA, pip version, or vipc) or tbd-*, and the verifier rejects a bad schema, a malformed SHA, an unknown plane, a missing python bitness, a bad pinStatus, or a resolved entry with an empty version. |
Run node experiments/labview-authoring/verify-dep-manifest.mjs and verify-dep-manifest.selftest.mjs; both gated in verify-local-gates. |
| LBA-REQ-018 | The system shall delegate a validated uplift task to a capability-matched cleanroom AI provider over the coordination bus. | Uplift and documentation-drafting work runs where the licensed tooling and capability differentiation live (cleanroom actors running Ollama / Copilot CLI / Codex), so the host observes each cleanroom's gated outcome over the existing lbabus transport rather than hosting providers centrally. |
delegateUplift validates an lba-uplift-task@v1 spec, drives the provider through a provider-agnostic adapter seam, applies a deterministic acceptance gate (pass and fail), and writes an lba-uplift-delegation-receipt@v1 announced as an ADR-0003 DONE frame; the registry routes a CLAIM only to a live capability-matched worker; the worker pool bounds concurrency; each uplift domain (coverage-lift, evidence, risky-test, VIPM credential + routing) gates fail-closed — all proven offline via the mock adapter. |
Run the provider-delegation verify suite (verify-provider-delegation, verify-registry, verify-claim-tasking, verify-worker-pool, verify-quality-gate, verify-vipm-routing, verify-vipm-gate, verify-coverage-lift, verify-evidence, verify-risky-test); gated in verify-local-gates. |
| LBA-REQ-019 | The system shall expose the benchmark actor's tools to a coding agent through a Model Context Protocol server. | Coding agents consume tooling through MCP, and the actor already holds value an agent wants (host capabilities, the deterministic mprr benchmark series, and the lbabus coordination bus), so a standard MCP surface lets an agent discover and call them directly rather than through bespoke VS Code commands. |
The compiled JSON-RPC 2.0 handler answers initialize / tools/list / tools/call over newline-delimited stdio, publishes exactly four tools (get_host_capabilities, get_benchmark_series, poll_coordination_bus, post_coordination_note), returns -32601 / -32602 for an unknown method / tool, and degrades a missing lbabus to a soft isError rather than a transport crash; the definition provider registers under the same id the manifest contributes; and docs/mcp-tools.md matches the published registry. |
Run npm test (compiles, then runs test/mcp-server.mjs -- pure-core, activation, and stdio legs -- and scripts/mcpToolDoc.mjs --check docs/mcp-tools.md). |
| LBA-REQ-020 | 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. | A shared release (the collab-cli bus binary or the VS Code extension .vsix) is co-owned by both planes, so letting either plane publish unilaterally would ship an unreviewed change; each component's release workflow therefore fails closed until both planes commit an explicit agreed:true sign-off for the exact version. |
verify-release-agreement.mjs reads tools/release-governance/release-agreement.json (release-agreement@v2) and exits 0 only when every required plane (WIN, LINUX) records agreed:true for the <component, version>, exits 1 fail-closed on a missing / withheld / unparseable sign-off, and exits 2 on a usage error; extension-release.yml runs it before its publish job. |
Run node tools/release-governance/verify-release-agreement.mjs <version> (and --component extension <version>); each release workflow gates its publish job on the gate's exit 0. |
| LBA-REQ-021 | The system shall reject any governed test file that does not correspond to at least one requirement in the traceability register. | A test that maps to no requirement is either an untraceable capability or dead weight; enforcing the test-to-requirement correspondence as a fail-closed gate keeps the 29119 test suite tied to the 29148 requirements and seeds the ISO/IEC/IEEE 42010 correspondence graph (ADR-0013) that later rules extend. |
verify-correspondences.mjs enumerates the governed test set (test/*.mjs, experiments/**/verify-*.mjs, *.selftest.mjs, *.playwright.{mjs,cjs}, playwright/*.mjs, tools/**/verify-*) from the working tree and exits 1 listing any file absent from every RTM CodeRef (rule TR-1); it also enforces the ADR-to-requirement (AD-1) and requirement-to-view (VW-1) correspondence rules fail-closed after the ADR-0013 register reconciliation. |
Run node experiments/reqs-coverage/verify-correspondences.mjs; gated in verify-local-gates. |
| LBA-REQ-022 | The system shall generate the requirement traceability matrix from the governed requirement, test, and decision sources. | Hand-maintaining the requirement-to-view-to-decision-to-test cross-references invites drift, so deriving one matrix from the canonical SRS, RTM, architecture description, and ADR register keeps the traceability view honest and current by construction (ADR-0013 correspondence graph, Stage 3). |
generate-traceability.mjs reads the requirement ids and titles from docs/requirements/srs.md, the status / TestID / CodeRef count from docs/requirements/rtm.csv, the addressing architecture view from docs/architecture/overview.md, and the decisions from the ADR index, then writes docs/requirements/traceability-matrix.md; --check exits non-zero when the committed matrix is stale. |
Run node experiments/reqs-coverage/generate-traceability.mjs --check; gated by traceability-matrix-current in verify-local-gates. |
| LBA-REQ-023 | The system shall gate each governed component release on an on-demand corroboration quorum in which a majority of independent witnesses across distinct environments agree on the release's deterministic anchors. | A single cleanroom is an unwitnessed single point of trust; requiring a majority of independent, distinct-environment witnesses to agree on the deterministic anchors raises release confidence and makes a drifted or forged witness detectable as a quorum divergence rather than a silent pass. | The Actor Corroboration Grid (ADR-0014) collects a signed receipt bundle from at least two of three heterogeneous witnesses (Codespace-Linux, VirtualBox-Linux, Windows) and passes only when a majority agree on the OS-independent anchors (viewer seriesHash, lbabus version + sourceCommit, gate-suite verdict); a sub-majority blocks the release and opens a divergence issue. |
The Actor Corroboration Grid end-to-end gate (experiments/acg-grid/grid.mjs) composes every sub-engine -- independence + quorum + attestation + mesh + human sign-off -- into one release decision (self-test 6/6, gated by acg-grid-e2e); the real {codespace, host} grid corroborates through every machine stage, held only at the human sign-off (acg-grid-run-live). |
| LBA-REQ-024 | The system shall pass the release corroboration quorum only when a majority of participating witnesses agree on their applicable OS-independent anchors and the graded anchor-agreement fraction meets the configured threshold. | A single witness is an unwitnessed point of trust; grading agreement across a majority of heterogeneous witnesses tolerates one outage while still requiring genuine cross-environment corroboration (ADR-0015). | The quorum verdict is the fraction matched / applicable anchor dimensions under the tiered model; it passes on a >=2-of-3 majority meeting the threshold, and a sub-majority or below-threshold result blocks the release and opens a divergence issue naming the dissenting witness and anchor. |
Run node experiments/acg-quorum/compare-witnesses.selftest.mjs (7/7) and node experiments/acg-quorum/assemble-witness.selftest.mjs (9/9); the tiered-anchor graded-majority compare and the fail-closed witness-bundle assembler that feeds it are gated by acg-quorum-compare-witnesses and acg-quorum-assemble-witness in verify-local-gates; a real codespace+host grid corroborates in committed evidence, re-derived by acg-quorum-live-corroboration. |
| LBA-REQ-025 | The system shall block consumption of a release artifact until its corroboration attestation chain verifies. | An unattested or tampered artifact must not be installed on the strength of a verdict alone; verifying the signed chain before consumption closes that gap (ADR-0016). | Each witness signs its receipt bundle (sigstore keyless where an OIDC identity exists, an enrolled key otherwise); the aggregated verdict, the release artifacts, and the human sign-off are attested and stored on the Release, in the repo, in a transparency log, and on the mesh ledger; a standalone verify tool and the reviewer-workstation install both verify the chain before install. | The verify-before-consume engine (experiments/acg-provenance/attest.mjs, self-test 10/10) is delivered, and the real enrolled-key chain is proven on the live grid -- the codespace and host each signed their own bundle, and verify-before-consume yields consume:true, re-derived by acg-provenance-verify-before-consume; the reviewer-workstation verify-before-install (LBA-REQ-031), the offline Merkle transparency log, and the mesh ledger have since shipped, and the sigstore-keyless + public-rekor tier is wired in .github/workflows/acg-keyless-attest.yml (cosign keyless sign-blob under an Actions OIDC identity, gated by acg-keyless-attest-workflow-wired); the provenance is now stored on the immutable prerelease acg-attest-v0.0.2 (keyless-signed .sigstore bundle attached at creation; run 30703064254 -> public rekor logIndex 2312189991), completing all four storage locations. |
| LBA-REQ-026 | The system shall reject a corroboration quorum whose witnesses do not span distinct enrolled OS-planes. | N identical nodes -- and even N distinct contexts on the SAME OS -- are not N independent witnesses; a plane is the OS the extension runs in, so requiring distinct OS-planes (windows AND linux) prevents forging agreement with same-substrate witnesses (ADR-0068 corrects ADR-0017). | A valid quorum spans distinct enrolled OS-planes; a non-enrolled witness or one that duplicates an already-counted plane (same OS) does not count toward the majority, and each counted witness's identity is recorded in the provenance. | The witness-independence engine (experiments/acg-independence/independence.mjs, self-test 8/8) counts a witness only if its OS-plane is enrolled, its identity is recorded, and it does not duplicate an already-counted plane; gated by acg-independence-quorum, and the committed live grid is single-plane (linux) so the engine correctly WITHHOLDS corroboration, re-derived by acg-independence-live (cross-plane pending a windows witness). |
| LBA-REQ-027 | The system shall block a corroborated release from publishing until a recorded human sign-off accompanies the machine quorum verdict. | Machine corroboration establishes reproducibility, but a human still judges whether the result looks correct; requiring a recorded sign-off alongside the quorum keeps that judgment explicit and un-skippable (ADR-0018). | The human visual gate runs on either the Windows reviewer VM or a zero-install Linux browser codespace; a release publishes only when the machine quorum passes and the signed human sign-off is recorded, and the sign-off does not substitute for the quorum. | The sign-off gate (experiments/acg-reviewer/sign-off.mjs, self-test 10/10) blocks publish until a recorded, enrolled, approving Ed25519 human sign-off (from either station) accompanies the exact passing machine-quorum verdict; gated by acg-reviewer-sign-off, with the real corroborated release shown BLOCKED pending sign-off (acg-reviewer-release-decision). |
| LBA-REQ-028 | The system shall beacon each witness's corroboration verdict over the lbabus coordination mesh. | Verdicts already travel the bus via the gate-suite beacon, so collecting each witness's outcome over the existing mesh gives a live, distributed view without a new transport (ADR-0019). | Each witness joins the lbabus mesh and beacons its verdict (reusing the gate-suite verdict beacon and the mesh topology); a mesh ledger records the beaconed verdicts and feeds the provenance store. | The mesh verdict beacon (experiments/acg-mesh/verdict-beacon.mjs, self-test 8/8 incl. a real bus-msg@1 wire round-trip) builds a comms-only verdict NOTE + a tamper-evident MeshLedger and resolves beaconed witnesses to the quorum; gated by acg-mesh-verdict-beacon, with the live loopback proof (real {codespace, host} verdicts beaconed over 127.0.0.1 TCP -> ledger -> quorum pass) re-derived by acg-mesh-loopback-evidence. |
Generated from docs/requirements/srs.md on develop. Edit the source in the repository, not this page.