Repository navigation
Software Requirements Specification Part 3
github-actions[bot] edited this page Nov 19, 2026
·
1 revision
| ID | Requirement | Rationale | Fit Criterion | Verification |
|---|---|---|---|---|
| LBA-REQ-029 | The system shall expose the corroboration grid's operations to agents through the Model Context Protocol tool surface. | Agents already consume actor tools through the MCP server (ADR-0012), so exposing the grid's operations on the same surface lets an agent orchestrate corroboration directly rather than through bespoke commands (ADR-0020). | The ADR-0012 MCP surface gains grid tools (spin_up_witness, run_quorum, get_confidence, verify_attestation, teardown); the surface is designed now and implemented in a later phase. |
The ACG MCP surface (experiments/acg-mcp/grid-tools.mjs + server.mjs) exposes the grid tools over the same dependency-free JSON-RPC 2.0 contract as the ADR-0012 server; run_quorum/get_confidence/verify_attestation/check_independence/assemble_witness compose the engines, verify_inclusion/verify_before_install verify transparency-log inclusion (ADR-0022), and spin_up_witness/teardown return provisioning plans. Self-test 13/13 incl. a spawned stdio round-trip (initialize/tools/list/tools/call), gated by acg-mcp-grid-surface. |
| LBA-REQ-030 | The system shall require every non-release pull request to target the develop integration branch. | GitFlow makes develop the integration branch (ADR-0010), but stale main-based pull requests (#211 / #215 / #217) dumped integration content onto the release branch because no rule stated where feature work targets; codifying the base-branch rule prevents that class of error (ADR-0021). | Every non-release pull request targets develop; main receives only release/hotfix merges via a no-fast-forward merge; a pull request found on the wrong base is re-targeted or closed rather than merged. | The base-branch guard (experiments/acg-governance/pr-base-branch-guard.mjs, self-test 11/11) blocks any non-release head targeting main (develop and feature/authoring included), and the .github/workflows/pr-base-branch-guard.yml workflow enforces it on PRs targeting main; gated by acg-governance-pr-base-branch and acg-governance-pr-base-branch-workflow-wired. |
| LBA-REQ-031 | The system shall admit a component release for installation only after its corroboration attestation is proven included in the signed transparency log. | Provenance that lives only beside a verdict can be silently dropped or forged; recording each witness attestation in an append-only, Ed25519-signed Merkle transparency log makes an unattested or un-logged release refusable before install, with tamper-evident inclusion proofs (ADR-0022, extends ADR-0016). | Each witness attestation is a leaf in a signed Merkle log using RFC 6962 domain-separated hashing; the reviewer-workstation install plus a standalone verifier admit a release only when at least the quorum minimum of enrolled-witness attestations each carry an inclusion proof against the signed tree head; any missing or tampered proof blocks the install. | The transparency log experiments/acg-transparency/transparency-log.mjs (RFC 6962 inclusion + consistency + Ed25519 signed tree heads, self-test 26/26, gated by acg-transparency-log) records the real {codespace, host} attestations under one signed head (acg-transparency-log-live); the verifier experiments/acg-transparency/verify-release-inclusion.mjs admits the real bundle plus blocks a tampered one (acg-transparency-verify-before-install), wired fail-closed into reviewer-workstation/provision.ps1 before the .vsix install (acg-transparency-verify-before-install-wired). |
| LBA-REQ-032 | The system shall calibrate a stress-ladder performance-signature curve from repeated per-rung benchmark signatures so an observed signature maps to an inferred stress level within the calibrated tolerance band. | The mesh-stress program re-verifies the maximum drop-free streaming ceiling under a stressed actor mesh (mesh-stress-signature@v1); calibrating each actor's 42-counter performance signature across a stress ladder turns raw per-actor counters into a monotone, separable, repeatable stress read for later ladder testing (design #272, builds on performance-counter-correlation@v2). | The signature extractor derives per-counter features (mean/std/percentiles/drift/periodicity) plus across-repeat stability (signature vs noise) plus MAD outliers plus cross-counter outlier co-occurrence from repeated runs; the calibration-curve fitter maps each per-rung signature to an expected value plus tolerance band, scores the monotone/separable/repeatable invariants, drops non-tracking features, and inverse-reads an observed signature to an inferred rung with a confidence; the stress orchestrator emits the monotone commanded ladder (per-actor VirtualBox throttle plus host/guest stress-ng) pinning each actor to a distinct level. | Run node experiments/mesh-stress-signature/signatureExtractor.selftest.mjs (5/5), calibrationCurveFitter.selftest.mjs (4/4), and stressOrchestrator.selftest.mjs (5/5); gated by mesh-stress-signature-extractor / mesh-stress-signature-calibrator / mesh-stress-orchestrator in verify-local-gates. |
| LBA-REQ-033 | The system shall provision a from-scratch Ubuntu 24.04 golden VM with activated LabVIEW 2026 Community Edition plus VIPM, confirming the activation with a headless probe VI before registering the VM as a mesh actor. | The single biggest gap is that a community member cannot yet get a reproducible LabVIEW benchmark environment from scratch; a one-command Ubuntu provisioner with functional activation confirmation and a locally-minted personal golden VM unlocks the Linux plane and community onboarding (ADR-0023, builds on the Windows golden box). |
lba init provisions Ubuntu 24.04 Noble, installs ni-labview-2026-community plus vipm from the NI apt repo, and after the interactive activation a headless LabVIEWCLI RunVI probe emits an activation-receipt@1 whose success gates minting the local golden VM plus its mesh-actors.csv registration; the confirmation is deterministically replayable offline from a committed receipt. |
Proven: lba init (scripts/lba.mjs) composes the six First Win flow steps from their Proven slices; firstWinOnboarding.mjs gates that every step resolves to a committed realization and that activation was confirmed live on lba-golden. Run node experiments/first-win/verify-first-win-onboarding.selftest.mjs (7/7); gated by first-win-onboarding; tracked as T-033. |
| LBA-REQ-034 | The system shall keep the bounded ISO/IEC/IEEE 26514 information-for-users product set complete and command-covering, so a fail-closed gate blocks the build when a required user-information item is missing or a contributed command is undocumented. | The standards audit found user information was the repo's weakest, non-gated surface (a single user guide, no audience/task/navigation/reference), and non-gated conformance is where documentation drifts from the product; gating the bounded 26514 product set keeps user information current by construction (ADR-0024). |
verify-information-for-users.mjs checks the 10 required items exist and are non-trivial, the command reference covers every package.json contributed command, the conformance boundary states a bounded product claim and disclaims full process conformance, and the navigation hub indexes the set; the self-test also proves an empty set fails closed. |
Run node experiments/information-for-users/verify-information-for-users.selftest.mjs (2/2); gated by information-for-users-26514 in verify-local-gates. |
| LBA-REQ-035 | The system shall generate the test report and configuration status-accounting record from the verification apparatus, so a fail-closed gate blocks the build when the committed record drifts from the gates, correspondence rules, requirements, and decisions it accounts for. | A deeper clause-level standards audit found the repo kept a test plan but no executed test report (ISO/IEC/IEEE 29119-3) and no configuration status-accounting record (ISO 10007); outcomes and controlled state were never governed information items. Generating them from the very apparatus CI enforces keeps them current by construction (ADR-0025). |
generate-test-report.mjs derives the 29119-2 completion criteria, the fail-closed gate inventory, the correspondence rules, the coverage floors, and the requirement / ADR / test-item status accounting into docs/testing/test-report.md; --check fails closed on drift. |
Run node experiments/reqs-coverage/generate-test-report.selftest.mjs (4/4); gated by test-report-current in verify-local-gates. |
| LBA-REQ-036 | The system shall keep the ISO/IEC/IEEE 15289 release procedure resolvable and invariant-complete, so a fail-closed gate blocks the build when the procedure cites a workflow or script that does not resolve or omits a required release invariant. | A deeper clause-level audit found the repo had a 12207 move/transition procedure but no release procedure information item; the signed, corroborated release flow was scattered across the CM plan's branch governance and the corroboration-grid requirements. A procedure that could silently cite a renamed workflow would mislead a releaser, so it is gated to stay resolvable by construction (ADR-0026). |
docs/release/release-procedure.md gives the step-by-step signed, corroborated release; verify-release-procedure.mjs asserts every cited workflow/script/action path resolves and every required release invariant is named, failing closed otherwise. |
Run node experiments/release/verify-release-procedure.selftest.mjs (3/3); gated by release-procedure-references-resolve in verify-local-gates. |
| LBA-REQ-037 | The system shall self-audit its five-lens standards posture at clause-evidence granularity, so a fail-closed gate blocks the build when any lens drops below its target score or a required information item, wired gate, or clause anchor is missing. | The standards audit's meta-finding (F4) was that non-gated conformance is where standards drift silently, and the coarse 25/25 was a point-in-time score rather than a continuously-verified guarantee. A generated, fail-closed self-audit that re-scores the repo against the repo-standards-review five-lens rubric on every change makes full compliance corroborated by construction (ADR-0027). |
verify-compliance-posture.mjs encodes each lens's level-5 clause-evidence (real information items + wired gates + clause anchors) and scores REQ/ARCH/TEST/CM/DOC into docs/compliance/compliance-posture.md; --check fails closed below 25/25 or on scorecard drift. |
Run node experiments/compliance/verify-compliance-posture.selftest.mjs (4/4); gated by continuous-compliance-self-audit in verify-local-gates. |
| LBA-REQ-038 | The system shall confirm LabVIEW activation with a headless known-answer probe VI, so a fail-closed gate refuses an install whose activation receipt does not show the probe executed and returned the known answer. |
ADR-0023's onboarding hinges on confirming activation before minting a personal golden VM, and license-file parsing is brittle for Community Edition; a functional probe (LabVIEWCLI RunVI on the shipped AddTwoNumbers.vi) that must return the known answer is the robust signal and doubles as the benchmark-execution path. First delivered slice of the Planned LBA-REQ-033 umbrella, proven live on the reference host's activated LabVIEW 2026. |
probe-activation.sh runs LabVIEWCLI RunVI headless (Xvfb) on the known-answer probe; buildActivationReceipt.mjs builds a deterministic activation-receipt@1 (digest over verdict-bearing fields), and validation denies activation on a non-zero exit, wrong value, missing success line, or tampered receipt. The committed REAL capture replays offline in CI. |
Run node experiments/activation/buildActivationReceipt.selftest.mjs (5/5); gated by activation-receipt-confirms-activation in verify-local-gates. |
| LBA-REQ-039 | The system shall register a golden VM as a mesh actor only after its activation receipt confirms LabVIEW is activated, so a fail-closed gate refuses registration for an unconfirmed or tampered receipt. | ADR-0023's onboarding invariant is that activation is confirmed before a VM joins the mesh; binding registration to the LBA-REQ-038 activation receipt enforces that an unactivated box cannot be enrolled as a benchmark actor — confirmation and enrollment are one fail-closed chain. |
registerGoldenActor validates the activation-receipt@1 (schema, digest, verdict) and only then composes the golden mesh-actors.csv row (idempotent by role+actor_id); an unactivated or tampered receipt is refused and the registry is left untouched. |
Run node experiments/activation/registerMeshActor.selftest.mjs (4/4); gated by mesh-actor-registration-requires-activation in verify-local-gates. |
| LBA-REQ-040 | The system shall distribute an independent-task workload across a budget-capped pool of ripgrep-only instances proportional to each instance's capacity, so a fail-closed gate proves the shards ran disjointly on distinct instances with every task passing. | The North Star is on-demand distributed benchmark runs across planes with no central aggregation (docs/roadmap.md); a capacity-weighted executor that dynamically discovers a budget-capped pool (host + codespaces + local VMs) and runs disjoint shards concurrently — every instance searching with ripgrep only — is the first distributed-execution primitive and spreads load off the host (ADR-0028). |
discoverPool enumerates host + codespaces + running VMs up to a conservative budget (default host + 2 remote); capacityWeightedPartition splits proportional to static per-type weights; per-type SSH adapters run the shards concurrently; validateReceipt fails closed unless the split re-derives disjoint distinct-instance rg-only shards with every task passing. |
Run node experiments/parallel/verify-parallel-workload.selftest.mjs (4/4); gated by distributed-parallel-workload in verify-local-gates. Live: 42 self-tests split 25/9/8 across three instances. |
Generated from docs/requirements/srs.md on develop. Edit the source in the repository, not this page.