Repository navigation
ADR 0042
github-actions[bot] edited this page Nov 19, 2026
·
2 revisions
- Status: Accepted
- Date: 2026-08-03
- Deciders: operator directive (2026-08-03, the live-only net model) + agent
- Relates to: LBA-REQ-062, ADR-0041 (extension transport selection), ADR-0040 (live-only net coordination), ADR-0039 (semantic net verdict types), src/mcp
ADR-0041 let the extension select the coordination-bus transport (Discussion default, net opt-in). The
extension's MCP server (a stdio process launched by the provider) still shelled the GitHub-Discussion
poll/post for its poll_coordination_bus / post_coordination_note tools. Step 3 migrates the MCP tools
too. The MCP server is a separate process, so it cannot read vscode config directly.
-
The provider passes the transport as env.
busEnvFromConfigmaps the extension'sbusTransport/busNetHosts/busNetLogconfig toCOLLAB_TRANSPORT/COLLAB_NET_HOSTS/COLLAB_NET_LOG, set on the launched stdioMcpStdioServerDefinitionenv. Empty values are omitted → Discussion default. -
The server selects the transport from env.
pollBusArgs/postNoteArgsroutepoll_coordination_bus→net poll --logandpost_coordination_note→net send --hostsundernet, else the Discussionpoll/post. Same env names as the CLI (COLLAB_NET_LOG) + the extension config. -
Discussion stays the default; the tool schemas are unchanged (no doc/registry change — the MCP tool doc
still matches). The tools stay soft-
isErroron a missing CLI.
This is requirement LBA-REQ-062.
-
The agent tool surface coordinates over TCP too. With
busTransport=net, an agent'spoll_coordination_bus/post_coordination_noteride the live bus + the local receive-log — no github.com dependency — matching the extension commands (ADR-0041). -
Deferred:
post-verdict.mjs+ the release-CI verdict announcement (which have no persistentnetpeer in CI), then deprecating + removing the Discussion transport + the CI mock GraphQL harness.
Generated from docs/architecture/adr/ADR-0042-mcp-transport-selection.md on develop. Edit the source in the repository, not this page.