Skip to content

Software Requirements Specification Part 7

github-actions[bot] edited this page Nov 19, 2026 · 1 revision

labview-benchmark-actor — Software Requirements Specification (part 7 of 11)

ID Requirement Rationale Fit Criterion Verification
LBA-REQ-075 The system shall fold the governed mesh-run receipts (dispatch, fulfillment, cross-plane parity) into a coverage matrix + a consistency ledger -- which benchmarks x which planes x how many actors fulfilled, and whether each run's dispatch/fulfillment/parity name the SAME identity -- so a fail-closed gate proves the operator-facing mesh dashboard reflects the receipts it summarizes. The mesh dispatch->fulfill loop is closed (LBA-REQ-072/073/074) but those receipts are three separate artifacts with no single governed view of which benchmarks are fulfilled, across which planes, by how many actors -- the roadmap Phase 3->4 cross-plane-comparison-at-scale dashboard (the benchmark observatory LBA-REQ-054 is the single-plane precedent). meshObservatory.mjs folds the committed dispatch + fulfillment + parity receipts into a mesh-coverage-observatory@1 matrix + ledger, re-derived byte-stably from the source receipts (currency) + grounded in the real fulfillment (identity + actors + planes). node experiments/mesh-fulfillment/meshObservatory.selftest.mjs (7/7) + the committed observatory (via the CLI) + the re-fold currency + the grounding; gated by mesh-coverage-observatory.
LBA-REQ-076 The system shall expand a validated mesh-run dispatch into per-plane actor tasking and validate the returned-receipt collection that feeds fulfillment, both identity-bound to the dispatch -- so a fail-closed gate proves every collected receipt provably descends from the dispatched tasks and ran the SAME benchmark. The mesh dispatch->fulfill loop is governed at its ends (LBA-REQ-074 dispatch + LBA-REQ-073 fulfillment) but the MIDDLE -- how a dispatch tasks actors + how their receipts are collected -- was ungoverned, so an assembled receipt set could bypass the fan-out. The roadmap live fan-out needs an identity-bound tasking + collection contract. meshFanout.mjs derives an actor-tasking@1 set from the dispatch (one identity-bound task per requested plane) + validates a receipt-collection@1 mapping returned receipts back to tasks; the committed tasking re-derives from the dispatch + the collection reconstructs the committed LBA-REQ-073 fulfillment; .github/workflows/mesh-run.yml runs the fan-out step. node experiments/mesh-fulfillment/meshFanout.selftest.mjs (7/7) + the committed tasking + collection (via the CLI) + the tasking currency + the fulfillment reconstruction + the mesh-run.yml wiring; gated by mesh-live-fanout-wired.
LBA-REQ-077 The system shall admit a returned mesh-actor receipt into a verified collection only when it carries a valid attestation from its declared, enrolled actor -- so a fail-closed gate proves each collected receipt provably came from a REAL enrolled actor (not a fabricated trend). The fan-out (LBA-REQ-076) proves a receipt is identity-bound + structurally valid but not that it came from a real enrolled actor -- a rogue participant could fabricate a plausible trend. A public volunteer mesh needs each receipt cryptographically bound to the enrolled actor that produced it; the ADR-0016 enrolled-key engine already exists to reuse. meshVerifiedTier.mjs REUSES acg-provenance signBundle/verifyWitnessAttestation (Ed25519, ADR-0016): each returned receipt is signed by the actor's enrolled key, and a verified-receipt-collection@1 admits it only when the attestation verifies against the enrolled mesh-actor-keys.json allowlist; the committed verified collection re-verifies its attestations offline. node experiments/mesh-fulfillment/meshVerifiedTier.selftest.mjs (7/7) + the committed verified collection (via the CLI) + every collected receipt attested by its declared enrolled actor + the mesh-run.yml wiring; gated by mesh-verified-tier-attested.
LBA-REQ-078 The system shall admit a verified mesh-actor attestation only when it carries an inclusion proof against a transparency-log tree head signed by the enrolled log key -- so a fail-closed gate proves the mesh receipts are enrolled-signed AND publicly auditable (append-only, tamper-evident). The verified tier (LBA-REQ-077) binds a receipt to its enrolled actor, but the set of attestations is not publicly auditable -- a compromised key could sign + nothing records the attestations in an append-only log. Release provenance already solved this (the ADR-0022 signed Merkle transparency log); the mesh should reuse it. meshTransparency.mjs REUSES the acg-transparency engine (recordRelease/verifyReleaseInclusion, RFC-6962): each verified-tier attestation is recorded into a signed Merkle tree, and a logged-verified-collection@1 admits it only when its inclusion proof reconstructs the enrolled-key-signed tree head; the committed logged collection re-verifies offline. node experiments/mesh-fulfillment/meshTransparency.selftest.mjs (7/7) + the committed logged collection (via the CLI) + the signed tree head + every inclusion proof + the mesh-run.yml wiring; gated by mesh-attestations-transparency-logged.
LBA-REQ-079 The system shall admit the mesh transparency log's current tree head only when a consistency proof proves it contains an earlier signed tree head unchanged -- so a fail-closed gate proves the log is APPEND-ONLY (no logged attestation removed or rewritten as it grew). ADR-0059 records + proves INCLUSION of each attestation and calls the log append-only, but inclusion alone does not prove the log only GROWS -- a log operator could publish a head that silently drops an earlier entry. The RFC-6962 consistency proof (already in the acg-transparency engine) closes that. meshLogHistory.mjs REUSES consistencyProof/verifyConsistency (ADR-0022): a logged-collection-history@1 binds an earlier + the current signed tree head + a consistency proof, admitted only when the later tree provably contains the earlier unchanged + the current head matches the committed LBA-REQ-078 log root. node experiments/mesh-fulfillment/meshLogHistory.selftest.mjs (7/7) + the committed history (via the CLI) + the strict growth + the consistency proof + the 078-log binding + the mesh-run.yml wiring; gated by mesh-log-append-only.
LBA-REQ-080 The system shall decide a mesh run FULLY ATTESTED only when its fulfillment, cross-plane parity, verified-tier signatures, transparency inclusion, and append-only proof all hold and name the SAME run identity -- so a fail-closed gate gives a consumer ONE verdict to trust a mesh run end-to-end. The mesh sub-proofs (LBA-REQ-072..079) are each a separate fail-closed gate, but a consumer wanting to trust a run had no single decision + had to confirm by hand that the receipts all refer to the same run. The composite-release-decision (LBA-REQ-071) is the pattern to mirror. meshAttested.mjs REUSES every sub-verifier (decideFulfillment/validateReceipt(parity)/validateVerifiedCollection/validateLoggedCollection/validateHistory) + binds them to one identity, emitting a mesh-run-attested@1 verdict; the committed decision re-derives from every source receipt (currency). node experiments/mesh-fulfillment/meshAttested.selftest.mjs (7/7, one break per sub-proof) + the committed decision (via the CLI) + all five gates + the identity binding + the mesh-run.yml wiring; gated by mesh-run-attested.
LBA-REQ-081 The system shall prove cross-plane VI Analyzer performance parity by validating that a LINUX and a WIN VI Analyzer run share the same benchmark identity and deterministic resultHash, so a fail-closed gate proves the planes ran the SAME benchmark and their run times are comparable performance witnesses. Cross-plane parity (roadmap §8) was proven only for the launch benchmark (LBA-REQ-072); Phase 2 is the SUITE. VI Analyzer has real 2-plane evidence + governed determinism (LBA-REQ-043, the resultHash), but not performance parity (same identity -> comparable timing). The LBA-REQ-072 engine is benchmark-generic + should extend. viAnalyzerParity.mjs REUSES the LBA-REQ-072 core (launchIdentity/decideParity/planeSummary/performanceWitness) via a trendFromEvidence adapter over the committed vi-analyzer-trend-live-evidence@1 captures; a run is parity-proven only when the planes share the identity AND the resultHash. node experiments/vi-analyzer/viAnalyzerParity.selftest.mjs (7/7) + the committed receipt (via the CLI, re-derived from the two evidence files) + identity + resultHash + cross-plane; gated by cross-plane-vi-analyzer-parity.
LBA-REQ-082 The system shall fold the benchmark suite's cross-plane parity receipts into one coverage matrix, so a fail-closed gate proves which benchmark families have proven cross-plane parity and records their LINUX-vs-WIN timing. The suite has two parity families (launch LBA-REQ-072 + VI Analyzer LBA-REQ-081), each a separate gate with its own schema, but no single view of which families are cross-plane parity-proven -- the roadmap Phase 2 capstone + Phase 4 (comparison at scale) bridge; the mesh observatory (LBA-REQ-075) is the pattern to mirror. suiteParityObservatory.mjs folds the committed parity receipts into a benchmark-suite-parity-observatory@1 coverage matrix (family + identity + parity flags + LINUX/WIN performance), re-derived byte-stably from the source receipts (currency); it EXTENDS with no new machinery as families land. node experiments/benchmark-suite/suiteParityObservatory.selftest.mjs (7/7) + the committed observatory (via the CLI) + the re-fold currency + the grounding; gated by benchmark-suite-parity-observatory.
LBA-REQ-083 The system shall fulfill the VI Analyzer benchmark through the mesh fulfillment engine as a benchmark distinct from launch, so a fail-closed gate proves the mesh carries more than one benchmark family (the engine is benchmark-generic). The mesh (Phase 3) had only ever fulfilled the launch benchmark; the fulfillment engine (LBA-REQ-073) is written generically but nothing PROVED it carries the suite. VI Analyzer now has real 2-plane captures + a proven identity (LBA-REQ-081), so it is the natural 2nd family -- the Phase 2 <-> Phase 3 convergence. viAnalyzerMeshRun.mjs REUSES meshFulfillment (073) + trendFromEvidence (081): two golden actors return their VI Analyzer trend from the real evidence, the 073 engine fulfills the run, and a mesh-benchmark-family-run@1 proves it is a distinct family from launch. node experiments/mesh-fulfillment/viAnalyzerMeshRun.selftest.mjs (7/7) + the committed run (via the CLI, re-derived from the evidence) + the fulfillment + the distinct-from-launch identity; gated by mesh-benchmark-family-vi-analyzer.
LBA-REQ-084 The system shall assign each benchmark measurement a stress-quality weight from the mesh-stress calibration and discount a measurement captured on a stressed actor, so a fail-closed gate proves a cross-plane comparison down-weights results captured under contention. Cross-plane comparison (LBA-REQ-072/081, grid LBA-REQ-050) treats each actor's result at face value, but the roadmap Phase 4 requires the mesh-stress calibration to DISCOUNT a result captured on a stressed actor -- a contended actor's timing is not a fair sample. The calibration exists (LBA-REQ-032, monotone/separable/repeatable ladder + independent per-actor stress recovery) but nothing turned it into a per-measurement discount. stressDiscountedComparison.mjs folds the committed real ladder (calibration authority) + concurrent-actors capture (recovered per-actor stress) into a stress-discounted-comparison@1: each measurement gets a stress-quality weight (idle 1.0 .. saturate 0.0) + is discounted at/above heavy; grounded in the real captures. node experiments/mesh-stress-signature/stressDiscountedComparison.selftest.mjs (7/7) + the committed comparison (via the CLI) + the idle-full/saturate-discounted grounding; gated by stress-discounted-comparison.
LBA-REQ-085 The system shall pin every entry timestamp in the packaged .vsix to a fixed constant so that repackaging the same committed source yields a byte-identical artifact, so a fail-closed gate proves a reviewed .vsix sha256 can equal the shipped .vsix sha256. The release-review chain binds an artifact by its vsixSha256 (the reviewer signs a candidate's hash LBA-REQ-068/069; the composite decision blocks publish unless the tagged candidate's hash matches LBA-REQ-071), but vsce package (yazl) stamps each zip entry's mtime with the package wall-clock time and ignores SOURCE_DATE_EPOCH, so two builds of the SAME commit differ by ~72 timestamp bytes and hash differently -- the reviewed hash could never be proven equal to the shipped hash. scripts/normalize-vsix.mjs (pure Node, no deps) walks the zip (EOCD -> each central-directory record -> its local header) and patches only the 2-byte DOS mod-time + mod-date to 1980-01-01, leaving names/order/compression/content untouched; npm run package runs it after vsce package so the shipped artifact depends only on the committed content, never the build time. node test/normalize-vsix.mjs (two same-content zips with different mtimes normalize byte-identical + idempotent + epoch-pinned + fail-closed on a non-zip) run by npm test, plus the wiring + a synchronous behavioral re-proof; gated by reproducible-vsix-normalizer.

Generated from docs/requirements/srs.md on develop. Edit the source in the repository, not this page.

Clone this wiki locally