Repository navigation
LBA REQ 045
Proven
Deployment / onboarding (ADR-0032 -- human-in-the-loop secret safety)
The system shall provide a human-assisted terminal bridge to the golden VM that lets an automation agent drive the VM's interactive shell while a human types any password or token directly on the VM, so a fail-closed gate proves credentials never transit the agent.
Agent-driven golden-VM onboarding (ADR-0023) needs secrets -- LabVIEW and VIPM activation, sudo passwords -- that must never pass through the automation agent or the LLM. A shared tmux session that lives on the VM lets the agent drive every non-secret step while the human supplies a credential in-band, exactly at the prompt (ADR-0032).
-
tools/vm-bridge/vm-bridge.shdrives the VM's shell over ssh via tmuxsend-keys/capture-pane(run/send/keys/read) and offers a humanattach. -
secret?detects a credential prompt so the agent hands off instead of answering. - The bridge is secret-safe: no
--password/--tokenflag, noread -s, nosshpass, no credential env var.checkVmBridgefails closed on any of these. - Live evidence: the agent drove the scratch VM and a real
password:prompt was detected (agent exit 42) + handed off to the human, never answered; the receipt records it.
The checker experiments/vm-bridge/checkVmBridge.mjs plus its
self-test are gated by vm-bridge-human-assisted-secret-safety in
verify-local-gates and mapped in the RTM. Authored under the singular-requirement
directive (one shall).
tools/vm-bridge/vm-bridge.sh; experiments/vm-bridge/checkVmBridge.mjs; experiments/vm-bridge/verify-vm-bridge.selftest.mjs; experiments/vm-bridge/fixtures/vm-bridge-receipt.json; experiments/verify-local-gates.mjs
Proven