# ROUTING-POLICY.md

Single source of truth for model selection across all dispatch paths.
Referenced by: Dorian (Path B), all specialists (Path C).
Canonical spec: SPECIALIST-ARCHITECTURE.md Section 4.

---

## Path B Defaults (Dorian-dispatched, no specialist)

| Task Type | Floor | Default | Ceiling |
|---|---|---|---|
| Simple status checks, single-field updates, reads | gpt-5.3-codex-spark | gpt-5.3-codex-spark | gpt-5.4-mini |
| Standard execution (config edits, short drafts, data retrieval) | gpt-5.3-codex-spark | gpt-5.4-mini | gpt-5.3-codex |
| Code generation, scripting, multi-step execution | gpt-5.4-mini | gpt-5.3-codex | gpt-5.3-codex |

## Path C Defaults (specialist-dispatched)

| Specialist | Task Type | Floor | Default | Ceiling |
|---|---|---|---|---|
| Systems Architect | Config generation, scripts, automation code | gpt-5.4-mini | gpt-5.3-codex | gpt-5.3-codex |
| Systems Architect | Architecture decisions, tradeoff analysis | gpt-5.4-mini | gpt-5.4 | gpt-5.4 |
| Research Intel | Document analysis, structured comparison | gpt-5.4-mini | gpt-5.3-codex | gpt-5.3-codex |
| Research Intel | Nuanced evaluation, subjective analysis | gpt-5.3-codex | gpt-5.4 | gpt-5.4 |
| Ops Manager | Checklists, status updates, simple SOPs | gpt-5.3-codex-spark | gpt-5.4-mini | gpt-5.4-mini |
| Ops Manager | Multi-dependency SOPs, complex process | gpt-5.4-mini | gpt-5.4 | gpt-5.4 |

## Context Window Override

For tasks requiring >80k token ingestion: use gpt-5.3-codex-spark (125k) or
local glm-4.7-flash (202k). This overrides all table defaults.

## Fallback Routing

| Primary | Fallback 1 | Fallback 2 (Local, requires Dorian approval) |
|---|---|---|
| gpt-5.4 | gpt-5.3-codex | qwen2.5 (Ollama) |
| gpt-5.3-codex | gpt-5.4-mini | qwen2.5 (Ollama) |
| gpt-5.4-mini | gpt-5.3-codex-spark | glm-4.7-flash (Ollama) |
| gpt-5.3-codex-spark | gpt-5.4-mini | glm-4.7-flash (Ollama) |

## Governance

- Dorian defines this table. Specialists recommend within range.
- Recommendations within floor-ceiling range stand without review.
- Escalations above ceiling require Dorian approval with justification.
- Dorian may override downward for budget/rate-limit reasons (exception, not norm).
