Model Routing
The G-MODEL-ROUTING-AT-EXEC gate. When a task fires, this tree picks the model. Wrong tier = governance violation OR wasted budget.
What each tier handles
Section titled “What each tier handles”Opus 4.7 stays in the main conversation. It does:
- Plan authoring + amendments
- Audit verdict synthesis (mapping raw evidence → decisions)
- Multi-phase coordination + dependency sequencing
- Novel architectural decisions
- Henry interaction + decision gating
- Rule compliance gating
Sonnet 4.6 runs as a subagent dispatched via the Agent tool. It handles:
- Tool-driven mechanical execution (e.g. run a shipped tool against a target file)
- Per-file code transforms against pre-specified rubric
- Batch operations with deterministic success criteria
- Test authoring against behavior spec Opus wrote
- Grep-heavy evidence gathering
- Documentation generation from structured data
Haiku 4.5 runs as a subagent for trivial reads only:
- File-existence checks
- Glob searches
- Single-value fetches
The 8-element dispatch prompt
Section titled “The 8-element dispatch prompt”When Opus dispatches Sonnet, the prompt MUST include all 8 of:
- Task goal (one sentence)
- Evidence already gathered (file paths, line numbers, grep counts)
- Tool to use (shipped lib/tool path)
- Test requirements (how many, exact behavior)
- Acceptance criteria (deterministic checks)
- Rollback command (exact revert steps)
- Rule constraints the subagent must self-check
- Output format (what to report back)
After Sonnet returns, Opus runs an independent verification (grep, test count, file existence). Trusted-but-verified.
Never dispatch Sonnet for anything novel
Section titled “Never dispatch Sonnet for anything novel”If the pattern isn’t already proven (prior site migrated successfully, prior test passing, prior edit verified), Opus does the first instance itself to establish the pattern.