Skip to content

Test Plan Part 6

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

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

ID Requirement Level Approach
T-082 LBA-REQ-082 Deterministic (offline) Assert the BENCHMARK-SUITE PARITY OBSERVATORY (ADR-0063): suiteParityObservatory.mjs folds the committed cross-plane parity receipts -- launch (cross-plane-launch-parity-receipt@1, LBA-REQ-072) + VI Analyzer (cross-plane-vi-analyzer-parity-receipt@1, LBA-REQ-081) -- into a benchmark-suite-parity-observatory@1 coverage matrix (family + identity + parity flags + LINUX/WIN performance) with observatoryOk iff every family is parity-proven, FAILING CLOSED on a row claiming parity without cross-plane + identity match, a miscounted coverage statistic, a verdict contradiction, or a tampered digest (selftest 7/7); the committed observatory re-folds byte-stably from the two parity receipts and each row is grounded in a real receipt identity. Gated by benchmark-suite-parity-observatory in verify-local-gates.
T-083 LBA-REQ-083 Deterministic (offline) Assert the mesh carries a SECOND benchmark family (ADR-0064): viAnalyzerMeshRun.mjs REUSES meshFulfillment (LBA-REQ-073) + trendFromEvidence (LBA-REQ-081) so two golden actors return their VI Analyzer workload-trend@1 from the committed vi-analyzer-trend-live-evidence@1 captures and the 073 engine fulfills the run; a mesh-benchmark-family-run@1 is carried only when the fulfillment is proven, the identity is the VI Analyzer identity, and it is DISTINCT from launch, FAILING CLOSED when the fulfillment is not proven, the actor receipts do not descend from the real evidence, the run is not VI Analyzer, it is not distinct from launch, or the digest is tampered (selftest 7/7); the committed run re-derives byte-stably from the two captures. Gated by mesh-benchmark-family-vi-analyzer in verify-local-gates.
T-084 LBA-REQ-084 Deterministic (offline) Assert the STRESS-DISCOUNTED cross-plane comparison (ADR-0065): stressDiscountedComparison.mjs folds the committed mesh-stress ladder (mesh-stress-live-ladder@1, trusted only when monotone+separable+repeatable) + concurrent-actors capture (mesh-concurrent-actors@1, allActorsRecovered) into a stress-discounted-comparison@1 that assigns each measurement a stress-quality weight (idle 1.0 .. saturate 0.0) and discounts at/above heavy, with discountingApplied only when the calibration is trustworthy, every actor recovered, and a clean/discounted split exists, FAILING CLOSED on an invalid calibration, an unrecovered actor, a weight/flag mismatch, a miscounted coverage statistic, or a tampered digest (selftest 7/7); the committed comparison re-derives byte-stably from the two mesh-stress receipts (idle full-confidence, saturate discounted to zero). Gated by stress-discounted-comparison in verify-local-gates.
T-085 LBA-REQ-085 Deterministic (offline) Assert the BYTE-REPRODUCIBLE extension package (ADR-0066): scripts/normalize-vsix.mjs (pure Node, no deps) walks the zip (EOCD -> each central-directory record -> the local file header it points to) and patches ONLY the 2-byte DOS mod-time + mod-date to 1980-01-01, leaving names/order/compression/content/CRCs untouched, so npm run package (which runs it after vsce package) yields a .vsix whose sha256 depends only on the committed content, not the build time. test/normalize-vsix.mjs (run by npm test) builds two zips with identical content but different entry timestamps and proves they normalize to BYTE-IDENTICAL output, that normalization is idempotent, that the DOS timestamp is epoch-pinned, and that a non-zip buffer FAILS CLOSED. Gated by reproducible-vsix-normalizer in verify-local-gates (guards the package+test wiring + re-proves the behavior synchronously on a hand-built stored-entry zip).
T-086 LBA-REQ-086 Deterministic (offline) + dual-OS CI Assert the CROSS-PLANE byte-reproducible extension package (ADR-0067): scripts/normalize-vsix.mjs pins every entry's OS-dependent zip metadata -- DOS mod-time/date (1980-01-01), external file attributes (regular file 0644), version-made-by (Unix) -- and .gitattributes + tsconfig.json (newLine: lf) force LF on the packaged content, so a Windows build and a Linux build of the same commit are BYTE-IDENTICAL. .github/workflows/vsix-cross-plane-repro.yml builds npm run package on ubuntu-latest AND windows-latest and FAILS CLOSED unless the two sha256 match. The offline gate vsix-cross-plane-repro-workflow-wired (in verify-local-gates) proves the workflow builds on both planes + compares the sha + fails closed + the newLine: lf / LF-.gitattributes prerequisites hold; test/normalize-vsix.mjs (run by npm test) asserts the central-directory version-made-by + external attributes are pinned.
T-087 LBA-REQ-087 Deterministic (offline) + dual-OS CI Assert GENUINE cross-plane corroboration (ADR-0069): windows-latest is a genuine windows plane, so experiments/acg-quorum/produce-witness.mjs emits an acg-witness-bundle-v1 from the current plane over the deterministic anchors (version/sourceCommit/gate verdict/viewer seriesHash -- the shipped viewer's projection of the committed mprr fixture, identical on every plane); pngSha256 is an optional Linux-only anchor. .github/workflows/acg-cross-plane-corroboration.yml produces a witness on a multi-substrate matrix (ubuntu-22.04 + ubuntu-24.04 on the linux plane, windows-2022 + windows-2025 on the windows plane, each after npm test) and corroborate-planes.mjs FAILS CLOSED unless ALL substrates concur AND span distinct OS-planes (crossPlane) -- proving the anchor is substrate-independent. produce-witness.selftest.mjs (run by gate acg-cross-plane-corroboration) proves a linux+windows pair corroborates while a single-plane, divergent, or non-pass pair fails closed; the drift gate acg-cross-plane-corroboration-workflow-wired keeps the workflow wired.
T-088 LBA-REQ-088 Deterministic (offline) Assert the DURABLE cross-plane corroboration attestation (ADR-0070): experiments/acg-quorum/cross-plane-attestation.mjs embeds two GENUINE CI witnesses (a real linux plane = ubuntu-latest + a real windows plane = windows-latest, run 30923501292 @ 2a0352c) + their provenance, re-derives the os-plane quorum (compare-witnesses.mjs), and is CROSS-PLANE CORROBORATED only when the quorum PASSES + spans both os-planes (crossPlane); a canonical digest makes it tamper-evident. cross-plane-attestation.selftest.mjs (run by gate acg-cross-plane-attestation) proves the committed attestation validates while a SINGLE-PLANE set (the 1.0.0 defect: two linux witnesses), a non-pass verdict, a tampered witness, a forged verdict, and a tampered digest all fail closed.
T-089 LBA-REQ-089 Deterministic (offline) Assert the SIGNED cross-plane corroboration re-seal (ADR-0071): experiments/acg-quorum/signed-cross-plane-corroboration.mjs REUSES gateReleasePublish (ADR-0018: quorum pass + a verified enrolled sign-off over the quorum digest) and additionally requires the quorum be crossPlane and name the candidate; the committed signed-cross-plane-corroboration-receipt.json records extension 1.0.0 @ 2a0352c + the enrolled maintainer-role sign-off (produced offline by reviewer-workstation/sign-release-quorum.mjs, private key local). signed-cross-plane-corroboration.selftest.mjs (run by gate acg-signed-cross-plane-corroboration) proves a signed crossPlane quorum validates while a single-plane, non-pass, un-enrolled, forged, unnamed, or tampered receipt all fail closed.
T-090 LBA-REQ-090 Deterministic (offline) Assert the GENUINE cross-plane COMPOSITE re-seal (ADR-0072/0073): reviewer-workstation/composite-release-decision-receipt.json (collapsed to the crossPlane re-seal) is assembled via the REUSED composite verifier (composite-release-decision.mjs) from the crossPlane machine quorum (LBA-REQ-088) + the enrolled machine sign-off (LBA-REQ-089) + a signed WINDOWS_VM visual PASS of the byte-reproducible candidate (vsix 2ec7bd31 @ 2a0352c) + the genuine WIN net-staged frame -- all five bindings hold, the quorum is crossPlane, both gates signed by the enrolled sign-off identity (maintainer role). crossplane-composite-reseal.selftest.mjs (run by gate acg-crossplane-composite-reseal) proves the committed crossPlane composite validates as a proven composite decision AND its quorum is crossPlane, and verify-composite-release clears it while rejecting a single-plane composite (the 1.0.0 defect).
T-091 LBA-REQ-091 Deterministic (offline) Assert RUN-BOUND mesh ingestion (ADR-0074): meshIngest.mjs ingests a LIVE dispatch (the workflow client_payload, validated via the LBA-REQ-074 requestOk + identity === dispatchIdentity(benchmark)) + a folder of returned-receipt@1 files, REUSING the LBA-REQ-076 fan-out (deriveTasking + buildCollection + validateTasking + validateCollection) to produce a run-bound actor-tasking@1 + receipt-collection@1 bound to the dispatchId, and FAILS CLOSED on an uncovered requested plane, a declared/receipt plane mismatch, a returned receipt whose identity != the dispatched benchmark, a receipt bound to an unknown task, a duplicate actor, a malformed dispatch, or a malformed returned receipt (selftest 8/8). Gated by mesh-run-ingest in verify-local-gates.
T-092 LBA-REQ-092 Deterministic (offline) Assert RUN-BOUND CROSS-PLANE CORROBORATE + COMPARE (ADR-0075): meshCorroborate.mjs (corroborateRun) consumes the LBA-REQ-091 run-bound receipt-collection@1 and corroborates the collected plane receipts cross-plane -- >= 2 distinct OS-planes, every plane's workload-trend@1 PASSES, each receipt.plane matches its collected plane, and each re-derives dispatchIdentity{metric,workload,n} = the collection identity -- then REUSES benchmark-store compareRuns (LBA-REQ-010) for the LINUX-baseline-vs-WIN-candidate cross-plane-compare@v1 delta, emitting a run-bound mesh-cross-plane-report@1, and FAILS CLOSED on a single-plane collection, a non-PASS plane, an identity mismatch (a plane ran a different benchmark), a malformed collection, a non-trend receipt, or a receipt/collected plane mismatch (selftest 8/8). The committed two-plane fan-out collection corroborates (LINUX+WIN). Gated by mesh-cross-plane-corroborate in verify-local-gates.
T-093 LBA-REQ-093 Deterministic (offline) Assert the NODE-VERSION-PINNED reproducible package (issue #408): a repo-root .nvmrc pins the exact release Node version and .github/workflows/extension-release.yml, .github/workflows/vsix-cross-plane-repro.yml, and .github/workflows/acg-cross-plane-corroboration.yml each source Node via node-version-file: .nvmrc with no floating node-version: literal, so the reviewed (local) build and the CI publish build resolve the SAME Node and the .vsix cannot drift across a Node minor. lba release-preflight asserts the local Node equals .nvmrc (an equal Node clears, a later 24.x minor fails). Gated by release-path-node-pinned in verify-local-gates (proves .nvmrc pins an exact version + every release-path workflow sources it) + the scripts/lba.mjs selftest (the exact-version preflight).
T-094 LBA-REQ-094 Deterministic (offline) + local governance Assert the extension contributes four human task shortcuts (agent preflight, governance review, compound reviewer readiness, compound release candidate); tasks run with VS Code's Node runtime; the governance runner requires a local repo-standards-review checkout, the eight-PDF corpus under STANDARDS_ROOT or C:\design\standards, Docker Linux mode, and the published assurance-workbench:main release-gate profile. The standards corpus is mounted read-only and never packaged. Gated by extension activation tests and human-task-shortcuts.
T-095 LBA-REQ-095 Deterministic (offline) + commit/release governance Assert release-components.json binds extension 1.4.14, AGENTS 0.3.17, lbabus 0.15.12, human tasks 1.0.6, the exact standards-review identity, scoped reviewer keys, and canonical stable VSIX packaging; precommit rejects drift; reviewer staging installs the pinned toolchain; Windows tasks execute npm.cmd through cmd.exe; signing readiness selects and compares the requested version's quorum-purpose key, including the real VS Code GUI launcher's unset exit-status behavior; visual verdicts require exact commit/hash shape; receipts carry indexed clocks and exact candidate evidence; GitHub Release remains canonical. Covered by test/process-command.mjs and the release-component/selftests.
T-096 LBA-REQ-096 Deterministic (offline) + live governance receipt Assert the raw baseline from the pinned repo-standards-review workbench (v0.15.0) remains 25/25 with six PASS and six dash Missing Proof cells, while release-risk-baseline.json independently derives 12/28 (42.9%) BLOCKED across all six gates with explicit missing proof, risk, action, and resolvable artifacts for every present item. Reject a missing row, invalid proof status, version/source/image/static-score drift, unresolved present proof, success-shaped missing proof, or a score that differs from release-components.json. Require Governance Review receipt wiring and generated AGENTS awareness. Covered by test/release-risk.mjs and standards-release-risk-baseline.

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

Clone this wiki locally