Skip to content

Test Plan Part 5

github-actions[bot] edited this page Nov 20, 2026 · 3 revisions

labview-benchmark-actor — Test Plan (part 5 of 8)

ID Requirement Level Approach
T-067 LBA-REQ-067 Deterministic (offline) Assert the lbabus CLI carries NO GitHub-Discussion transport (ADR-0047): tools/collab-cli/Program.cs no longer dispatches init/post/poll/wait/delta and has no CmdPost/CmdPoll/CmdWait/CmdInit/CmdDelta, while "net" => NetCommands.Run + defect/selfcheck remain; GitHubGraphQL.cs has no Discussion GraphQL surface (FindDiscussion/CreateDiscussion/EnsureDiscussion/addDiscussionComment/DiscussionRef) but keeps ListReleaseTags + AddIssueComment; Config.cs drops Category/Title/AddressesMe. Gated by cli-no-discussion-transport in verify-local-gates; the collab-cli dotnet build + a CLI smoke test (removed commands exit 1, net intact) cover the runtime.
T-068 LBA-REQ-068 Deterministic (offline) + live evidence Assert the NET-ONLY LIVE VM-AGENT DRIVE (ADR-0049): the committed net-only-live-drive-receipt.json (schema net-only-live-drive-receipt@1) seals >=1 drive from the reviewer VM (senderId WIN, matched) over lbabus net + the released-CLI net-only proof (collab-cli-v0.15.0 rejects init/post/poll/wait/delta, observed unknown command on the VM); the verifier net-only-live-drive.mjs re-derives the digest + verdict deterministically and FAILS CLOSED on a non-WIN/unmatched drive, an incomplete net-only proof, a forged verdict, or a tampered digest (selftest 7/7). Gated by net-only-live-drive in verify-local-gates. Live evidence: 3 drives from the actor VM over TCP -- net-only install, benchmark re-drive (launch-to-ready 2604.2 ms/5 samples -> PASS), and the WIN sign-off for collab-cli 0.15.0 (version=0.15.0, post -> unknown command, PASS) -- no GitHub Discussion.
T-069 LBA-REQ-069 Deterministic (offline) Assert the RELEASE-WITH-REVIEW DRIVE BINDING (ADR-0050): the committed release-with-review-drive-receipt.json (schema release-with-review-drive-receipt@1) binds a matched WIN staging drive over lbabus net (LBA-REQ-068) to a signed reviewer verdict (LBA-REQ-057) whose target is the SAME candidate (component/version/commit/vsixSha256) and to a net announce (LBA-REQ-058) correctly derived from the signed verdict; the verifier release-with-review-drive.mjs REUSES verifyReviewerVerdict/gateVisualReview/buildVerdictBusPost and FAILS CLOSED on a candidate mismatch, an unverified sign-off, a non-publishing gate, a mis-derived announce, or a tampered digest (selftest 7/7). Gated by release-with-review-drive in verify-local-gates. Committed round: ext 0.5.0 staged over net (task rev-1785753563), signed PASS by the enrolled sign-off identity (maintainer role), announced RESOLVED on extension-release-0.5.0.
T-070 LBA-REQ-070 Deterministic (offline) Assert the COMPOSITE RELEASE DECISION (ADR-0051, capstone): the committed composite-release-decision-receipt.json (schema composite-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), and the verifier composite-release-decision.mjs REUSES gateReleaseWithReview + FAILS CLOSED unless both gates publish AND the machine quorum consensus (version + sourceCommit), the visual verdict target (component/version/commit/vsixSha256), and a matched WIN net staging drive all name the SAME candidate (selftest 7/7: machine-consensus unbound, visual-target unbound, failing quorum, forged visual sign-off, tampered digest). Gated by composite-release-decision in verify-local-gates. Committed round: ext 0.5.0 -- a passing 2-witness quorum + an enrolled sign-off + an enrolled signed visual PASS, all bound to the candidate staged over net (task rev-1785753563, senderId WIN), one reviewer (the enrolled sign-off identity (maintainer role)) signing both gates.
T-071 LBA-REQ-071 Deterministic (offline) Assert the COMPOSITE RELEASE ENFORCEMENT (ADR-0052): tools/release-governance/verify-composite-release.mjs --component extension <version> REUSES the gated composite validateReceipt and clears the committed ext 0.5.0 candidate (exit 0) but FAILS CLOSED (exit 1) for a version with no proven composite decision; and .github/workflows/extension-release.yml's agreement job runs the CLI (after verify-visual-review) with the release job needs: [build, agreement], so the composite decision gates the publish. Gated by composite-release-enforced in verify-local-gates (the CLI clears 0.5.0 + fails closed for 0.9.9-none; the workflow wires the CLI + the release-needs-agreement dependency). Enforcement runs only on ext-v* tags / workflow_dispatch.
T-072 LBA-REQ-072 Deterministic (offline) + real committed data Assert CROSS-PLANE LAUNCH-BENCHMARK PARITY (ADR-0053): the committed cross-plane-launch-parity-receipt.json (schema cross-plane-launch-parity-receipt@1) proves the Linux + Windows launch-to-ready trends measure the SAME benchmark via launchIdentity = sha256 over {metric, workload, n} (one LINUX + one WIN, identities match), while recording the plane means + signed delta + faster plane as performance witnesses; the verifier launchParity.mjs FAILS CLOSED on an identity mismatch (different workload/n), a same-plane pair, an invalid trend, or a tampered digest (selftest 7/7). Gated by cross-plane-launch-parity in verify-local-gates, which re-derives the receipt from the committed launch-trend fixtures (experiments/launch-parity/fixtures/{linux,win}-launch-trend.json) and asserts it reflects their means -- LINUX 2604.2 ms vs WIN 2410.6 ms (WIN faster by 193.6 ms).
T-073 LBA-REQ-073 Deterministic (offline) + real committed data Assert MESH-RUN CROSS-PLANE FULFILLMENT (ADR-0054, roadmap Phase 3): the committed mesh-run-fulfillment-receipt.json (schema mesh-run-fulfillment-receipt@1) proves a dispatched labview-ide-launch run is FULFILLED iff >= minActors DISTINCT enrolled actors covered the requested [LINUX, WIN] planes, each returning a valid plane-tagged workload-trend@1 receipt with an AGREEING benchmark identity (the LBA-REQ-072 launchIdentity); the verifier meshFulfillment.mjs FAILS CLOSED on too few actors, a duplicate actor, an uncovered plane, an invalid receipt, an identity disagreement, or a tampered digest (selftest 7/7). Gated by mesh-run-cross-plane-fulfillment in verify-local-gates. Committed run: 2 golden-VM actors -- golden-linux (LINUX, 2604.2 ms) + golden-win (WIN, 2410.6 ms) -- each embedding its real launch-trend receipt.
T-074 LBA-REQ-074 Deterministic (offline) Assert the GITHUB-NATIVE MESH-RUN DISPATCH transport (ADR-0055): meshDispatch.mjs validates a committed mesh-run-dispatch@1 request (benchmarkId + {metric,workload,n} + minActors>=1 + a non-empty valid requestedPlanes set + dispatchId, carrying the LBA-REQ-072 launchIdentity) and FAILS CLOSED on a missing benchmarkId, minActors<1, an empty/invalid planes set, or a tampered digest (selftest 7/7); the committed request BINDS to the LBA-REQ-073 fulfillment (same benchmarkId + identity + minActors + planes); and .github/workflows/mesh-run.yml triggers on repository_dispatch[mesh-run] and runs both meshDispatch.mjs + meshFulfillment.mjs. Gated by mesh-run-dispatch-wired in verify-local-gates.
T-075 LBA-REQ-075 Deterministic (offline) Assert the MESH COVERAGE OBSERVATORY (ADR-0056): meshObservatory.mjs folds the committed mesh-run receipts -- dispatch (mesh-run-dispatch@1, LBA-REQ-074) + fulfillment (mesh-run-fulfillment-receipt@1, LBA-REQ-073) + cross-plane parity (cross-plane-launch-parity-receipt@1, LBA-REQ-072) -- into a mesh-coverage-observatory@1 coverage matrix + consistency ledger (benchmarks x planes x actors; each run's consistent flag true iff dispatched + fulfilled + all artifacts name the SAME identity), and FAILS CLOSED on an identity disagreement, an un-fulfilled run counted coherent, a miscounted coverage statistic, a stale re-fold, or a tampered digest (selftest 7/7); the committed observatory re-derives byte-for-byte from the committed source receipts (currency) and its folded row is grounded in the real LBA-REQ-073 fulfillment (same identity + actor count + covered planes). Gated by mesh-coverage-observatory in verify-local-gates.
T-076 LBA-REQ-076 Deterministic (offline) Assert the LIVE FAN-OUT contract (ADR-0057): meshFanout.mjs DERIVES an actor-tasking@1 set from the committed dispatch (one identity-bound task per requested plane, carrying the LBA-REQ-072 launchIdentity) and validates a receipt-collection@1 mapping each returned plane-tagged receipt back to its task, and FAILS CLOSED on an unbound task, a collected receipt with no matching task, a plane/identity mismatch, a duplicate actor, or a tampered digest (selftest 7/7); the committed tasking re-derives from the dispatch (currency), the collection RECONSTRUCTS the committed LBA-REQ-073 fulfillment (its actor set IS the fulfillment actor set), the fan-out is identity-bound end-to-end, and .github/workflows/mesh-run.yml runs the fan-out step. Gated by mesh-live-fanout-wired in verify-local-gates.
T-077 LBA-REQ-077 Deterministic (offline) Assert the opt-in VERIFIED TIER (ADR-0058): meshVerifiedTier.mjs REUSES the ADR-0016 acg-provenance engine to attest each returned receipt with the actor's enrolled Ed25519 key, and a verified-receipt-collection@1 admits a receipt only when it carries a valid acg-witness-attestation-v1 from its declared, enrolled actor (verified against mesh-actor-keys.json), FAILING CLOSED on an unsigned/forged receipt, an un-enrolled actor, a key that does not match the enrolled one, an attestation not by the declared actor, or a tampered digest (selftest 7/7); the committed verified collection re-verifies against the committed collection + enrolled keys, every collected receipt is attested by its declared enrolled actor, and .github/workflows/mesh-run.yml runs the verified-tier step. Gated by mesh-verified-tier-attested in verify-local-gates.
T-078 LBA-REQ-078 Deterministic (offline) Assert TRANSPARENCY-LOGGING the mesh-actor attestations (ADR-0059): meshTransparency.mjs REUSES the ADR-0022 acg-transparency engine to record each verified-tier attestation into an RFC-6962 signed Merkle tree, and a logged-verified-collection@1 is admitted only when its signed tree head verifies against the enrolled log key (mesh-log-key.json) and EVERY attestation carries a valid inclusion proof against that signed root, FAILING CLOSED on an unsigned/wrong-key tree head, a missing or non-reconstructing inclusion proof, a tree-size mismatch, a verified-collection binding mismatch, or a tampered digest (selftest 7/7); the committed logged collection re-verifies, the tree logs every attestation, and .github/workflows/mesh-run.yml runs the transparency step. Gated by mesh-attestations-transparency-logged in verify-local-gates.
T-079 LBA-REQ-079 Deterministic (offline) Assert the APPEND-ONLY consistency proof (ADR-0060): meshLogHistory.mjs REUSES the ADR-0022 acg-transparency engine to bind an earlier + the current signed tree head + an RFC-6962 consistency proof in a logged-collection-history@1, admitted only when both tree heads verify against the enrolled log key (mesh-log-history-key.json), the log STRICTLY GREW, the consistency proof proves the later tree contains the earlier unchanged (verifyConsistency), and the current tree head matches the committed LBA-REQ-078 log by Merkle root + size, FAILING CLOSED on an unsigned/wrong-key tree head, a non-growing/shrinking log, a tampered consistency proof, a current head that does not match the 078 log, or a tampered digest (selftest 7/7); .github/workflows/mesh-run.yml runs the append-only step. Gated by mesh-log-append-only in verify-local-gates.
T-080 LBA-REQ-080 Deterministic (offline) Assert the composite MESH-RUN-ATTESTED decision (ADR-0061): meshAttested.mjs decideAttested REUSES every sub-verifier (decideFulfillment 073 + validateReceipt parity 072 + validateVerifiedCollection 077 + validateLoggedCollection 078 + validateHistory 079) and decides a run attested only when all five gates pass AND all layers name the SAME run identity; a mesh-run-attested@1 receipt re-derives from the committed source receipts (currency), FAILING CLOSED when ANY one sub-proof is broken, on an identity mismatch, a stale gate set, a verdict contradiction, or a tampered digest (selftest 7/7, one break per sub-proof); .github/workflows/mesh-run.yml runs the capstone step. Gated by mesh-run-attested in verify-local-gates.
T-081 LBA-REQ-081 Deterministic (offline) Assert cross-plane VI Analyzer PERFORMANCE PARITY (ADR-0062): viAnalyzerParity.mjs REUSES the LBA-REQ-072 engine (launchIdentity/decideParity/planeSummary/performanceWitness) via a trendFromEvidence adapter over the two committed vi-analyzer-trend-live-evidence@1 captures (LINUX + WIN), and proves a run parity-proven only when the planes are cross-plane, share the benchmark identity {viAnalyzerMs, vi-analyzer-labviewcli-example, n}, AND share the deterministic resultHash (the LBA-REQ-043 link), FAILING CLOSED on an identity mismatch, a non-cross-plane pair, a differing resultHash, an invalid trend, or a tampered digest (selftest 7/7); the committed receipt re-derives byte-stably from the two evidence captures. Gated by cross-plane-vi-analyzer-parity in verify-local-gates.

Generated from docs/testing/test-plan.md on develop. Edit the source in the repository, not this page.

Clone this wiki locally