Repository navigation
LBA REQ 047
Proven
Deployment / onboarding (ADR-0023 Phase 1 -- live golden-VM visibility)
The system shall stream the golden VM live status and analyze a captured timeline for idle spans, so a fail-closed gate proves the committed idle-time analysis is correctly derived from the samples.
The human-assisted golden-VM workflow has long stretches of "dead time" invisible to both human and agent -- LabVIEW sitting idle while VIPM silently waits to connect is the archetype. A live monitor that streams the VM's CPU busy% over the bridge, plus a deterministic idle-time analysis of a captured timeline, surface and quantify that dead time so it can be driven out (advances ADR-0023 Phase 1).
-
experiments/vm-live-status/vm-live-status.shstreams overall CPU busy% (plus LabVIEW cpu/mem + vipm/Xvfb presence) over the bridge and can capture an NDJSON series. -
vmStatusAnalysis.mjsderives contiguous idle vs busy spans, idle %, and the longest idle run from a sample series. -
validateStatusTimelineReceiptfails closed unless the committed analysis re-derives exactly from the samples and the digest is intact. - Live evidence: a real 44s capture on
lba-golden(a mid-capture CPU burst) yielded 63.6% idle, two idle spans, longest idle run 18s; the receipt records it.
The analyzer experiments/vm-live-status/vmStatusAnalysis.mjs plus its
self-test are gated by vm-live-status-idle-analysis in verify-local-gates and mapped
in the RTM. Authored under the singular-requirement directive (one shall).
experiments/vm-live-status/vmStatusAnalysis.mjs; experiments/vm-live-status/vm-live-status.sh; experiments/vm-live-status/verify-vm-live-status.selftest.mjs; experiments/vm-live-status/fixtures/vm-status-timeline-receipt.json; experiments/verify-local-gates.mjs
Proven