Skip to content

feat(mcp): Multi-Driver Symmetry — Phase 1#41

Open
michaeljboscia wants to merge 2 commits into
mainfrom
feat/multi-driver-symmetry
Open

feat(mcp): Multi-Driver Symmetry — Phase 1#41
michaeljboscia wants to merge 2 commits into
mainfrom
feat/multi-driver-symmetry

Conversation

@michaeljboscia

Copy link
Copy Markdown
Owner

What We're Building

Triumvirate is a multi-agent orchestration system that lets Claude coordinate Gemini, Codex, and DeepSeek. This PR initiates the work to make Gemini and AGY first-party drivers with full symmetry.

Phase 1: Add 'claude' and 'agy' as valid agent names

  • Updated is_supported_agent_name in mcp-bridge to include 'claude' and 'agy'.
  • Updated test suite in mcp-bridge to verify positive support for 'claude' and 'agy'.
  • Refined error messages in spawn_session to reflect the expanded agent support.

This is the foundational step enabling Gemini to dispatch work to Claude.

Ref: @docs/briefs/multi-driver-brief.md

michaeljboscia and others added 2 commits May 27, 2026 00:01
- Updated is_supported_agent_name to include 'claude' and 'agy'
- Updated mcp-bridge tests to verify claude/agy support
- Updated spawn_session error message to include new agents
…n writes

Multi-driver symmetry groundwork (compiles; claude path untested vs a real binary):
- add `claude` as a dispatchable driver: claude_command() +
  run_claude_cli_process_with_session()
- caller_driver_identity() + self-dispatch guard so a driver can't ask_agent itself
- derive Default on ParsedAgentResult

Yolo sandbox default — twins can write files where a consult needs them:
- agy: drop the macOS sandbox-exec seatbelt by default; spawn agy directly with
  --dangerously-skip-permissions + --add-dir <cwd, parent>. Restore the old
  (deny file-write*) profile with TRIUMVIRATE_AGY_SANDBOX=1.
- codex: --dangerously-bypass-approvals-and-sandbox by default (auto-suppresses
  --full-auto). Restore --full-auto workspace-write with TRIUMVIRATE_CODEX_SANDBOX=1.

Root cause: ask_agent consults asked the twins to write into a sibling project
dir. agy's sandbox-exec (deny file-write*) returned "operation not permitted"
(and agy then hung retrying the denied write); codex's --full-auto workspace-write
confined writes to cwd, so a sibling project was read-only. Both are now yolo by
default with an env gate to restore the seatbelt. Verified end-to-end: both twins
write into a sibling dir; mcp-bridge agy tests + the codex yolo/full-auto test pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant