Skip to content

LBA REQ 038

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

LBA-REQ-038: LabVIEW activation confirmation via a headless known-answer probe

Status

Proven

Area

Deployment / onboarding (ADR-0023 Phase 1 — personal golden-VM activation confirmation)

Statement

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.

Rationale

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, canonical AddTwoNumbers.vi — that must return the known answer is the robust signal and doubles as the benchmark-execution path. This is the first delivered slice of the Planned LBA-REQ-033 umbrella, proven live on the reference host's activated LabVIEW 2026.

Acceptance Criteria

  • experiments/activation/probe-activation.sh runs LabVIEWCLI -OperationName RunVI headless (Xvfb) on the known-answer probe VI and captures a raw result.
  • buildActivationReceipt.mjs produces a deterministic activation-receipt@1 whose digest covers only the verdict-bearing fields (inputs, expected + parsed output, exit code, success, VI name, LabVIEW version), so a committed real capture replays offline byte-stably.
  • Activation is confirmed only when the probe exits cleanly, reports success, and returns the expected sum; the checker FAILS CLOSED on a non-zero exit, a wrong value, a missing success line, a tampered digest, or a contradicted verdict.
  • A committed REAL capture + receipt (LabVIEW 2026, 20 + 22 = 42) is the live evidence; CI replays it deterministically without LabVIEW.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

The builder/validator experiments/activation/buildActivationReceipt.mjs plus its self-test are gated by activation-receipt-confirms-activation in verify-local-gates and mapped in the RTM. Authored under the singular-requirement directive (one shall).

TestID

T-038

CodeRef

experiments/activation/buildActivationReceipt.mjs; experiments/activation/buildActivationReceipt.selftest.mjs; experiments/activation/probe-activation.sh; experiments/activation/fixtures/activation-receipt.json; experiments/activation/fixtures/activation-capture.json; experiments/verify-local-gates.mjs; experiments/windows-docker-container/vm-lifecycle-core.selftest.mjs; experiments/windows-docker-container/vm-lifecycle.selftest.mjs; experiments/windows-docker-container/verify-vm-lifecycle-cache.mjs

RTM Status

Proven

Clone this wiki locally