Skip to content

LBA REQ 065

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

LBA-REQ-065: Flip the coordination default to net + graceful no-op when unconfigured

Status

Proven

Area

Deployment / agentic (ADR-0045 -- flip the coordination default to net, off GitHub Discussions step 6)

Statement

The system shall default the coordination-bus transport to the live-only lbabus net TCP bus (GitHub Discussion becomes a legacy opt-out) AND degrade gracefully when net is unconfigured -- net poll with no receive-log and net send --skip-if-no-peer with no peer both exit 0 with a hint (no error, no dead loopback) -- so a fresh install coordinates over TCP once a peer/log is set and does nothing quietly until then.

Rationale

off-Discussions steps 1-5 (ADR-0040..0044) made net available in the extension, the MCP surface, and post-verdict.mjs, and dropped the release-CI Discussion announce -- but each kept Discussion the DEFAULT (opt-in net) during the transition. With the net loop proven live (ADR-0039) + no CI Discussion use, the only thing pinning Discussion as the default is inertia. Flipping naively would error/hang an unconfigured install (net poll no-log was fail-closed; net send no-peer sat in a dead loopback), so the flip is paired with a graceful no-op.

Acceptance Criteria

  • labviewBenchmarkActor.busTransport defaults to net; the extension, the MCP provider + stdio server, and post-verdict.mjs all default to net; Discussion is the legacy opt-out (busTransport: "discussion" / COLLAB_TRANSPORT=discussion).
  • net poll with no receive-log exits 0 with a hint (softened from fail-closed); net send --skip-if-no-peer with no peer exits 0 with a hint; the extension/MCP/post-verdict callers pass --skip-if-no-peer when no host is configured -- an unconfigured net-default install is a silent no-op.
  • npm test proves the extension + MCP default flip; the net-coordination-log receipt proves the graceful poll (pollWithoutLogGraceful).

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

the flip is in package.json + src/extension.ts + src/mcp/* + reviewer-workstation/post-verdict.mjs; the graceful branches are in tools/collab-cli/Net.cs. Gates net-default-graceful + bus-transport-select (default === 'net'). Updates the ADR-0041/0042/0043 defaults + softens the ADR-0040 poll fail-closed. The FINAL step -- deprecating + removing the Discussion transport (Program.cs + GraphQL) + the CI mock GraphQL harness -- is deferred (ADR-0045 Consequences). Authored under the singular-requirement directive (one shall).

TestID

T-065

CodeRef

src/extension.ts; src/mcp/benchmarkActorMcpServerProvider.ts; src/mcp/runBenchmarkActorMcpServer.ts; reviewer-workstation/post-verdict.mjs; package.json; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally