Skip to content

Test Plan Part 3

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

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

ID Requirement Level Approach
T-030 LBA-REQ-030 Deterministic (offline) Assert the base-branch policy (pr-base-branch-guard.mjs evaluateBasePolicy) allows non-release heads onto develop (or any non-main base) and permits ONLY release/* and hotfix/* onto main -- BLOCKING develop->main (main never takes develop directly) and feature/authoring->main -- with refs/heads/ normalization and a missing base blocked. Self-test 11/11 gated by acg-governance-pr-base-branch; the .github/workflows/pr-base-branch-guard.yml workflow (runs on PRs targeting main, invokes the guard) is drift-checked by acg-governance-pr-base-branch-workflow-wired.
T-031 LBA-REQ-031 Deterministic (offline) + live evidence Assert the Merkle transparency log (transparency-log.mjs) uses RFC 6962 domain-separated hashing (leaf 0x00, node 0x01, largest-power-of-2 split -- verified against hand-computed n=1/2/3 known answers), that every leaf at sizes 1..9 has an inclusion proof reconstructing the root and every prefix has a consistency proof the new head honors, and that Ed25519 signed tree heads verify -- all FAILING CLOSED on a substituted leaf, wrong index, tampered path/root, rewritten history, or rogue key. Self-test 26/26 gated by acg-transparency-log. Live evidence: the real {codespace, host} attestations recorded under one signed head, both proven included, re-derived by acg-transparency-log-live; and the reviewer-workstation verifier (verify-release-inclusion.mjs) ADMITS the real release-provenance-bundle.json (>=2 witnesses attested + logged) yet 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).
T-032 LBA-REQ-032 Unit (deterministic logic) + real data Assert the mesh-stress-signature engines: the signature extractor derives per-counter features (mean/std/percentiles/drift slope/autocorrelation periodicity) plus across-repeat stability (a feature is signature when its across-repeat coefficient-of-variation is within threshold, else noise) plus MAD outliers (with a std fallback when over half the samples are identical) plus cross-counter outlier co-occurrence within +/-200 ms, over synthetic cases and the real exact-12-FPS Linux capture split into repeats (self-test 5/5, gate mesh-stress-signature-extractor); the calibration-curve fitter maps a synthetic idle..saturate ladder to a per-rung expected value + tolerance band, scores the monotone/separable/repeatable invariants, drops non-tracking features, and inverse-reads an observed signature to its rung with a confidence (self-test 4/4, gate mesh-stress-signature-calibrator); the stress orchestrator emits the monotone commanded ladder with a per-actor VirtualBox throttle + host/guest stress-ng commands + a ladder plan pinning each actor to a distinct level (self-test 5/5, gate mesh-stress-orchestrator).
T-033 LBA-REQ-033 Deterministic (offline replay) + hybrid live provisioning Assert the personal golden-VM onboarding First Win is COVERED by composition (ADR-0023 Phase 1): validateFirstWinReceipt confirms the committed first-win-onboarding@1 receipt composes all six roadmap flow steps to real, committed, Proven-slice realizations on disk (lba init -> build-virtualbox.sh; provision-guest.sh (LBA-REQ-044); provisionerReadiness.mjs (LBA-REQ-049); hybrid activation; probe-activation.sh (LBA-REQ-038); registerMeshActor.mjs (LBA-REQ-039)) and that activation was confirmed live on lba-golden (headless RunVI 20+22=42); the checker FAILS CLOSED on a missing realization, an unconfirmed activation, a forged completeness verdict, or a tampered digest. Self-test 7/7 gated by first-win-onboarding in verify-local-gates.
T-034 LBA-REQ-034 Deterministic (offline) Assert the ISO/IEC/IEEE 26514:2022 information-for-users conformance checker: the committed bounded product set is conformant (10 required items present + non-trivial, the command reference covers every contributed VS Code command, the conformance boundary states a bounded product claim and disclaims full process conformance, and the navigation hub indexes the set), and the checker FAILS CLOSED on an empty set (a finding for every missing item plus any uncovered command). Self-test 2/2 gated by information-for-users-26514 in verify-local-gates.
T-035 LBA-REQ-035 Deterministic (offline) Assert the ISO/IEC/IEEE 29119-3 test report + ISO 10007 status-accounting generator: the committed docs/testing/test-report.md is CURRENT with the canonical sources (the fail-closed gate inventory, the 7 correspondence rules, the coverage floors, and the requirement/ADR/test-item status accounting all derive from the apparatus), rendering is DETERMINISTIC (two renders byte-identical, so --check is a reliable drift gate), and the drift compare FAILS CLOSED on any mutation of the report. Self-test 4/4 gated by test-report-current in verify-local-gates.
T-036 LBA-REQ-036 Deterministic (offline) Assert the ISO/IEC/IEEE 15289 release-procedure checker: the committed docs/release/release-procedure.md cites only resolvable enforcement points (every .github/workflows/*, experiments/**, reviewer-workstation/*, and action path resolves on disk) and names every required release invariant (SemVer tag on main, bidirectional agreement, keyless signing, rekor, transparency-log inclusion, verify-release-inclusion, --no-ff), and the checker FAILS CLOSED on a procedure that cites a missing file or drops a required invariant. Self-test 3/3 gated by release-procedure-references-resolve in verify-local-gates.
T-037 LBA-REQ-037 Deterministic (offline) Assert the continuous-compliance self-audit: the committed repository scores 25/25 across the five-lens rubric (REQ/ARCH/TEST/CM/DOC) over 41 clause-evidence checks (real information items + wired gates + clause anchors), the generated docs/compliance/compliance-posture.md scorecard is current, and the scoring FAILS CLOSED when any single clause-evidence item is missing (an all-false probe scores every lens 0; dropping one file pulls its lens below target). The deep-compliance artifacts (test report, release procedure) are load-bearing across lenses. Self-test 4/4 gated by continuous-compliance-self-audit in verify-local-gates.
T-038 LBA-REQ-038 Deterministic (offline replay) + live probe evidence Assert the LabVIEW activation-confirmation contract (ADR-0023 Phase 1): the committed REAL capture (headless LabVIEWCLI RunVI on the shipped known-answer AddTwoNumbers.vi, LabVIEW 2026) deterministically rebuilds activation-receipt@1 (digest over verdict-bearing fields only, so it replays offline in CI), the receipt validates as ACTIVATED (20 + 22 = 42, exit 0), and the confirmation FAILS CLOSED on a non-zero exit, a wrong known-answer value, a missing success line, a tampered digest, or a verdict contradicting the result rule. Self-test 5/5 gated by activation-receipt-confirms-activation in verify-local-gates.
T-039 LBA-REQ-039 Deterministic (offline) Assert mesh-actor registration is gated on activation (ADR-0023 invariant): registerGoldenActor validates the committed activation-receipt@1 and only then composes the golden mesh-actors.csv row (golden,golden,actor,actor,192.168.56.10,7420,7421,both,AGENT_GENERATED), registration is idempotent (re-registering replaces the golden row and preserves existing mesh rows), and an unactivated (exit!=0 / verdict false) or tampered-digest receipt is REFUSED with the registry left untouched. Self-test 4/4 gated by mesh-actor-registration-requires-activation in verify-local-gates.
T-040 LBA-REQ-040 Deterministic (offline replay) + live 3-instance evidence Assert the distributed capacity-weighted parallel workload (ADR-0028): the committed receipt of a real run (host + 2 codespaces, 42 self-tests) validates — the capacity-weighted split re-derived from the recorded per-instance weights reproduces the disjoint shards, the shards cover every task, the instances are distinct (3 hostnames), every instance attests ripgrep-only, and every task passed (25/9/8) — and validation FAILS CLOSED on overlapping shards, a shared instance, a non-ripgrep tool, or any task failure. Self-test 4/4 gated by distributed-parallel-workload in verify-local-gates.
T-041 LBA-REQ-041 Deterministic (offline replay) + live 3-instance evidence Assert capability-aware distributed routing (ADR-0029): the committed receipt of a real run (a LabVIEWCLI RunVI activation probe + 43 node self-tests across host + 2 codespaces) validates — the LabVIEW task ran on the LabVIEW-capable host, the routing re-derived from the recorded capabilities + weights reproduces the shards, every task ran capability-matched, the shards are disjoint + cover all + distinct-instance + ripgrep-only, and every task passed — and validation FAILS CLOSED on a LabVIEW task placed on a node-only instance, a non-ripgrep instance, or any failure; routeByCapability throws on an unsatisfiable capability. Self-test 5/5 gated by capability-aware-routing in verify-local-gates.
T-042 LBA-REQ-042 Deterministic (offline replay) + live 2-plane evidence Assert cross-plane LabVIEW liveness (ADR-0030): the committed receipt of a real run (this host + the Ubuntu golden VM lba-ubuntu2404-labview2026-scratch, both LabVIEW 2026, each running LabVIEWCLI RunVI on AddTwoNumbers concurrently) validates — >= 2 distinct planes, each returned the known answer (7 + 5 = 12), reported RunVI success, and is activated, all live — and validation FAILS CLOSED on a wrong answer, a single plane, two planes on the same host, or allActivated=false. The live probe reuses a valid active graphical LabVIEW seat before the Xvfb fallback and records the selected display mode. Self-test 5/5 gated by cross-plane-labview-liveness in verify-local-gates.
T-043 LBA-REQ-043 Deterministic (offline replay) + live 2-plane evidence Assert cross-plane VI Analyzer determinism (ADR-0031, North Star): the committed receipt of a real run (this host + the Ubuntu golden VM, each running the same LabVIEWCLIExampleProject VI Analyzer config, 69 tests) validates — >= 2 distinct planes each carry a resultHash and ALL resultHashes are identical (the consensus) — and validation FAILS CLOSED on a divergent plane hash, a single plane, or a forged resultHashesMatch. Self-test 4/4 gated by cross-plane-vi-analyzer-determinism in verify-local-gates.
T-044 LBA-REQ-044 Deterministic (offline) + live install evidence Assert the from-scratch VM is remotely automatable before login, every production golden clone preserves that proof, and the later provisioner installs LabVIEW + VIPM (ADR-0023 Phase 1). test/ubuntu-base-bootstrap.mjs verifies the supported unattended hook, credential file, redacted diagnostics, loopback-only SSH, required packages/services, and first-boot receipt. test/ubuntu-golden-box.mjs validates the exact production definition/metadata, receipt semantics, normalized live proof, and that packaging binds the base receipt before box deletion, VM halt, or package mutation while retaining the console/activation/freshness guards. Both fail closed on missing/stale evidence or contract drift. Separately, checkProvisioner confirms provision-guest.sh installs ni-labview-2026-community and VIPM.
T-045 LBA-REQ-045 Deterministic (offline) + live bridge evidence Assert the human-assisted VM bridge (ADR-0032): checkVmBridge confirms tools/vm-bridge/vm-bridge.sh drives the VM shell via tmux send-keys/capture-pane over ssh, offers a human attach and a secret? prompt detector, and is SECRET-SAFE (no --password/--token flag, no read -s, no sshpass, no credential env var), and the live receipt shows the agent drove the scratch VM and a real password: prompt was detected (agent exit 42) + handed off, never answered; the checker FAILS CLOSED on a secret-ingesting bridge or a receipt where the agent answered a prompt. Self-test 4/4 gated by vm-bridge-human-assisted-secret-safety in verify-local-gates.
T-046 LBA-REQ-046 Deterministic (offline) + live install evidence Assert VIPM functionally installs a LabVIEW community package on the golden VM (ADR-0023 Phase 1): validateVipmInstallReceipt confirms the committed receipt records the operator-designated self-test package g-cli (wiresmith_technology_lib_g_cli 3.0.1.98) plus its dependency closure (LUnit, LUnit-for-G-CLI, Rainbow Terminal), each installed cleanly (No Errors, > 0 files-installed in the VIPM package DB) with 279 files landing under vi.lib, and it replays deterministically (rebuild -> identical digest); the checker FAILS CLOSED when any package did not install cleanly, no files landed in vi.lib, the designated package is absent, the verdict is forged, or the digest is tampered. Self-test 8/8 gated by vipm-functional-package-install in verify-local-gates.
T-047 LBA-REQ-047 Deterministic (offline) + live capture evidence Assert live golden-VM visibility + idle-time analysis (ADR-0023 Phase 1): validateStatusTimelineReceipt confirms the committed REAL timeline receipt (a 44s capture from lba-golden over the bridge, with a mid-capture CPU burst) re-derives its idle-time analysis exactly from the samples -- contiguous idle vs busy spans, idle % (63.6%), longest idle run (18s) -- and the digest is intact; the analyzer discriminates idle from busy (all-idle -> 100%, all-busy -> 0%); the checker FAILS CLOSED on a stale/tampered analysis, a tampered digest, a < 2-sample series, or non-monotonic sample times. Self-test 7/7 gated by vm-live-status-idle-analysis 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