Skip to content

LBA REQ 060

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

LBA-REQ-060: Live-only net coordination -- the receive-log + net poll read side

Status

Proven

Area

Deployment / agentic (ADR-0040 -- live-only net coordination, off GitHub Discussions)

Statement

The system shall provide a live-only net coordination read side -- a per-actor local receive-log written by lbabus net listen --log and read by lbabus net poll (filtered by type/task; fail-closed without a log) -- so a fail-closed gate proves post->log->poll round-trips over TCP and coordination reads no longer depend on a GitHub Discussion.

Rationale

ADR-0039 moved the host<->VM-agent loop + the reviewer-verdict announcement onto net TCP; an operator directive ("TCP, deprecate the use of github discussions") moves the rest of coordination off Discussions. A Discussion did two jobs -- live relay + async persistence; net send/listen already cover the live relay, but the READ side (poll) had no net equivalent. The operator chose a LIVE-ONLY model (no central/async store): each actor logs what it hears while online.

Acceptance Criteria

  • net listen --log <file> appends every received frame to a per-actor JSONL receive-log (BusWire.ToJson), best-effort (a log error never breaks the listener).
  • net poll [--log <file>] [--tail N] [--type T] [--task T] reads + filters the local receive-log (BusWire.FromJson), mirroring the Discussion poll UX; with no log it prints nothing + exits 0; with no --log/COLLAB_NET_LOG it FAILS CLOSED.
  • Comms-only holds (ADR-0003): the receive-log stores only small coordination frames, never run data.
  • Accepted tradeoff: a peer offline at post time misses the frame -- no async catch-up.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

CmdListen --log + CmdPoll + BusWire.ToJson/FromJson live in tools/collab-cli/Net.cs; the loopback proof is experiments/net-coordination/net-coordination-log-proof.sh (committed receipt net-coordination-log-receipt.json). This is the FIRST increment of retiring the GitHub-Discussion transport (ADR-0040); the call-site migrations + removal are deferred. Authored under the singular-requirement directive (one shall).

TestID

T-060

CodeRef

experiments/net-coordination/net-coordination-log-proof.sh; experiments/net-coordination/net-coordination-log-receipt.json; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally