Repository navigation
LBA REQ 059
Proven
Deployment / agentic (ADR-0039 -- host<->VM-agent closed loop over TCP, off GitHub Discussions)
The system shall close the host<->VM-agent coordination loop over the lbabus net TCP bus --
after driving the reviewer VM's Copilot agent, the host awaits the agent's reply frame correlated by task
id (fail-closed on mismatch/timeout), and the signed reviewer verdict announces with a semantic net type
(RESOLVED/REFINE/BLOCKED) -- so a fail-closed gate proves the read-back + the semantic types are correctly
derived and coordination rides TCP, not a GitHub Discussion.
drive-agent-chat.sh drove the VM's chat FIRE-AND-SCREENSHOT (a human read PNGs); there was no
programmatic read-back, so the host agent could not close the loop. The verdict announcement (LBA-REQ-058)
rode a GitHub Discussion; an operator directive ("TCP, deprecate the use of github discussions") moves
coordination onto the private TCP bus that already exists (lbabus net, LBA-REQ-007, ADR-0003/0004).
-
await-agent-reply.mjsrunslbabus net listen, parses the rendered frame, and returns the VM agent's reply CORRELATED by--task+--type; it FAILS CLOSED on a task mismatch or a timeout (never accepts an uncorrelated frame as the answer). -
drive-agent-closed-loop.shcomposes the two halves: it starts the awaiter, then keyboard-injects the prompt PLUS a deterministic report-back line (single-line; a newline would submit early) so the VM agent replies over TCP. - The
netenvelope type set carries RESOLVED/REFINE/BLOCKED (option A), so a signed verdict announces overnetas a first-class semantic event (pass->RESOLVED), preserving ADR-0038's semantics off the Discussion bus. - Comms-only holds (ADR-0003): the reply/announcement is a one-line status only, never run data.
await-agent-reply.mjs (+ .selftest.mjs), drive-agent-closed-loop.sh, and
closed-loop-readback-proof.sh live under reviewer-workstation/; the net type set is BusWire.Types in
tools/collab-cli/Net.cs. The FULL retirement of the GitHub-Discussion transport is deferred (ADR-0039
Consequences). Authored under the singular-requirement directive (one shall).
reviewer-workstation/await-agent-reply.mjs; reviewer-workstation/await-agent-reply.selftest.mjs; reviewer-workstation/drive-agent-closed-loop.sh; reviewer-workstation/drive-agent-chat.sh; reviewer-workstation/closed-loop-readback-proof.sh; reviewer-workstation/closed-loop-readback-receipt.json; experiments/verify-local-gates.mjs
Proven