Skip to content

LBA REQ 067

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

LBA-REQ-067: Remove the GitHub-Discussion transport from the lbabus CLI

Status

Proven

Area

Deployment / agentic (ADR-0047 -- remove the CLI Discussion transport, off GitHub Discussions step 8 / final)

Statement

The system shall NOT expose a GitHub-Discussion coordination transport from the lbabus CLI -- the init/post/poll/wait/delta subcommands and the GraphQL Discussion client are removed (GitHubGraphQL keeps only the REST release-tag + issue-comment calls for selfcheck/defect), leaving the live-only lbabus net TCP bus as the sole coordination transport -- so a fail-closed gate proves the CLI carries no Discussion transport.

Rationale

step 7 (ADR-0046) made the coordination product surface net-only, leaving the CLI's own Discussion commands (init/post/poll/wait/delta) reachable by nothing in the product. This final step removes them + the GraphQL Discussion client, completing the off-Discussions migration (steps 1-8). GitHubGraphQL.cs was shared: selfcheck reads release tags (REST) + defect appends an issue comment (REST) -- those keepers stay.

Acceptance Criteria

  • Program.cs no longer dispatches init/post/poll/wait/delta (the Cmd* methods + help entries + the EnforceVersionOrNull guard + the ParseAll/SeedBody/Eq/Dur helpers are gone); version/ capabilities/selfcheck/grep/defect/net/resource/agents/docs remain.
  • GitHubGraphQL.cs is REST-only (drops the Discussion records + Query/ResolveContext/FindDiscussion/ CreateDiscussion/EnsureDiscussion/ListComments/AddComment; keeps ListReleaseTags + AddIssueComment); Config.cs drops the discussion-only fields (Category/Title/AgentId/Counterpart/AddressesMe).
  • The 12 discussion / version-guard ci cases are retired (the grep + defect + runner-meta cases remain); the build + a CLI smoke test verify the removal.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

the removal is in tools/collab-cli/{Program.cs, GitHubGraphQL.cs, Config.cs} + the ci cases; gate cli-no-discussion-transport. A doc/cleanup follow-up (step 8b) sweeps the stale docs (collab-cli README/AGENTS.md, ci/README.md, docs/mcp-tools.md, reviewer-manual-test-plan.md, root README.md) + trims the ci mock's vestigial GraphQL/release handlers + retires experiments/ollama-bus/bus-agent.mjs -- none block a gate. Completes the off-Discussions migration. Authored under the singular-requirement directive (one shall).

TestID

T-067

CodeRef

experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally