Summary
map-framework map-review runs within the same model session. GSD can dispatch reviews to independent AI CLIs (Codex, Gemini, Copilot, OpenCode) for truly independent second opinions. This is cross-AI peer review — the reviewer is a different model, possibly from a different vendor, with no shared context.
What GSD does
/gsd-review --cross-ai
- Dispatches the review task to an independent AI CLI (different from the current runtime)
- Supports: Claude Code, Gemini CLI, Codex, Copilot, OpenCode, Cursor, Windsurf, Kilo, Augment Code, Trae, Cline, Antigravity
- Delivers prompt via stdin-based delivery to the external CLI
- Review result is parsed and presented in the orchestrator session
Why cross-AI matters
- Same-model review is "inbred" — the model reviews its own patterns and biases
- Cross-AI review catches model-specific blind spots
- Independent CLI = true fresh context, no shared session state
- Different vendors = different strengths (Claude for reasoning, Gemini for breadth, Codex for code generation patterns)
Current map-framework state
map-review operates within a single model session
- Review agents (Monitor, Predictor, Evaluator) share the same model and context
- No mechanism to dispatch to external AI runtimes
- No cross-model or cross-vendor comparison
Proposed design
map-review --cross-ai <runtime>
map-review --cross-ai codex # Dispatch to Codex CLI
map-review --cross-ai gemini # Dispatch to Gemini CLI
map-review --cross-ai all # Dispatch to all available, aggregate
External CLI dispatch
- Detect available AI CLIs on the system
- Format prompt for target CLI format (Claude: markdown, Gemini: extension JSON, Codex: slash command)
- Execute:
claude -p "$(cat review-prompt.md)" --output-format json
- Parse result, normalize to common review schema
- Present alongside in-session review for comparison
Multi-vendor aggregation
- When
--cross-ai all: dispatch to all detected CLIs
- Vote/consensus: which issues do all reviewers agree on?
- Disagreements: highlight contradictions for user judgment
- Format: unified report with per-reviewer sections + consensus section
Integration
.map/config.yaml:
review:
cross_ai:
enabled: true
runtimes: [codex, gemini] # Or "all" / "detect"
fallback: claude # If target unavailable
References
- GSD:
commands/gsd/gsd-review.md, cross-AI flag implementation
- GSD Architecture:
docs/ARCHITECTURE.md (cross-AI peer review section)
Acceptance criteria
Summary
map-framework
map-reviewruns within the same model session. GSD can dispatch reviews to independent AI CLIs (Codex, Gemini, Copilot, OpenCode) for truly independent second opinions. This is cross-AI peer review — the reviewer is a different model, possibly from a different vendor, with no shared context.What GSD does
/gsd-review --cross-aiWhy cross-AI matters
Current map-framework state
map-reviewoperates within a single model sessionProposed design
map-review --cross-ai <runtime>External CLI dispatch
claude -p "$(cat review-prompt.md)" --output-format jsonMulti-vendor aggregation
--cross-ai all: dispatch to all detected CLIsIntegration
.map/config.yaml:References
commands/gsd/gsd-review.md, cross-AI flag implementationdocs/ARCHITECTURE.md(cross-AI peer review section)Acceptance criteria
map-review --cross-ai <runtime>flag--cross-ai all: dispatch to all, aggregate with consensus.map/config.yamlcross_ai section