Open
Conversation
The CLI already had the bridge status surface, but it reached into workspace source and pretty-printed JSON. HUD callers need the same builder-backed payload as MCP through the packaged CLI with compact output. Constraint: User requested local-only work; no push or PR was created. Rejected: Keep importing ../../../mcp-server/src/tools/bridge.js | packaged CLI builds would depend on workspace source layout. Confidence: high Scope-risk: narrow Directive: Keep bridge status shape owned by the MCP bridge builder; CLI should only collect identity/options and serialize the payload. Tested: pnpm --filter @imdeadpool/colony-cli test -- bridge.test.ts; pnpm --filter @colony/mcp-server test -- bridge-status.test.ts; pnpm --filter @imdeadpool/colony-cli typecheck; pnpm --filter @imdeadpool/colony-cli build; node apps/cli/dist/index.js bridge status --json --repo-root /home/deadpool/Documents/recodee/colony --session-id agent10-cli-bridge-status-20260429 --agent codex --branch agent/agent-10/cli-bridge-status-json-2026-04-29-00-43 Not-tested: Full monorepo test suite.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
colony bridge status --jsonemit compact one-line JSONVerification
pnpm --filter @imdeadpool/colony-cli test -- bridge.test.tspnpm --filter @colony/mcp-server test -- bridge-status.test.tspnpm --filter @imdeadpool/colony-cli typecheckpnpm --filter @imdeadpool/colony-cli buildnode apps/cli/dist/index.js bridge status --json --repo-root /home/deadpool/Documents/recodee/colony --session-id agent10-cli-bridge-status-20260429 --agent codex --branch agent/agent-10/cli-bridge-status-json-2026-04-29-00-43Notes
Local-only constraint was superseded by the follow-up request to create the PR.