Skip to content

LBA REQ 061

github-actions[bot] edited this page Nov 19, 2026 · 2 revisions

LBA-REQ-061: Bus transport selection in the extension -- Discussion default, net opt-in

Status

Proven

Area

Deployment / agentic (ADR-0041 -- bus transport selection, off GitHub Discussions step 2)

Statement

The system shall let the extension select the coordination-bus transport -- GitHub Discussion (default) or the live-only lbabus net TCP bus (opt-in via busTransport/busNetHosts/busNetLog) -- so postNote/pollBus/the reviewer-verdict announcement ride net send/net poll when configured, and a fail-closed gate proves the switch + the Discussion-safe default.

Rationale

ADR-0040 gave net a live-only coordination model; the extension still shelled the GitHub-Discussion post/poll for pollBus/postNote/the verdict announcement. Step 2 of the off-Discussions migration lets the extension select the transport WITHOUT breaking existing users -- the Discussion stays the default; net is opt-in during the transition.

Acceptance Criteria

  • Config labviewBenchmarkActor.busTransport (discussion default | net) + busNetHosts (CSV peer host(s)) + busNetLog (local receive-log path).
  • Under net: postNote -> net send --hosts <hosts> --type NOTE; pollBus -> net poll --log <log>; the verdict announcement -> busSendArgs (net send --type <RESOLVED/...> --task <release-task> --message-file <verdict>), reusing the semantic net types (ADR-0039).
  • The Discussion default is unchanged (no user-facing change; the remediation-on-ENOENT + busPostArgs tests still hold); the verdict announcement stays best-effort.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

busConfig + busSendArgs + the transport branches live in src/extension.ts; the config is in package.json; busSendArgs + the branches are unit-covered in test/extension-activation.mjs; gate bus-transport-select. The MCP tools + post-verdict.mjs + the release CI are the NEXT increments (ADR-0041 Consequences). Authored under the singular-requirement directive (one shall).

TestID

T-061

CodeRef

src/extension.ts; package.json; test/extension-activation.mjs; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally