Repository navigation
LBA REQ 062
Proven
Deployment / agentic (ADR-0042 -- MCP transport selection, off GitHub Discussions step 3)
The system shall let the extension's MCP coordination tools select the transport -- the provider
passes the bus-transport config as env (COLLAB_TRANSPORT/COLLAB_NET_HOSTS/COLLAB_NET_LOG)
and the stdio server routes poll_coordination_bus/post_coordination_note to net poll/net send under
net (Discussion default) -- so the agent tool surface coordinates over TCP when configured, proven by a
fail-closed gate.
ADR-0041 migrated the extension's own commands to a selectable transport; the extension's MCP
server -- a separate stdio process that cannot read vscode config directly -- still shelled the
GitHub-Discussion poll/post. Step 3 migrates the agent tool surface too, via env passed at launch.
-
busEnvFromConfig(provider) mapsbusTransport/busNetHosts/busNetLogtoCOLLAB_TRANSPORT/COLLAB_NET_HOSTS/COLLAB_NET_LOG, set on the launchedMcpStdioServerDefinitionenv; empty values omitted (Discussion default). -
pollBusArgs/postNoteArgs(server) routepoll_coordination_bus->net poll --logandpost_coordination_note->net send --hostsundernet, else the Discussionpoll/post. - The tool schemas + the MCP tool doc are unchanged; tools stay soft-
isErroron a missing CLI.
busTransport/pollBusArgs/postNoteArgs in src/mcp/runBenchmarkActorMcpServer.ts;
busEnvFromConfig + the env-passing provideMcpServerDefinitions in
src/mcp/benchmarkActorMcpServerProvider.ts; unit-covered in test/mcp-server.mjs; gate
mcp-net-transport. post-verdict.mjs + the release CI + the Discussion-transport removal are the NEXT
increments (ADR-0042 Consequences). Authored under the singular-requirement directive (one shall).
src/mcp/runBenchmarkActorMcpServer.ts; src/mcp/benchmarkActorMcpServerProvider.ts; test/mcp-server.mjs; experiments/verify-local-gates.mjs
Proven