Files
TheTree_mock/docs/plans/original-completion-2026-10-02/execution/owner-model-routing.md
T

20 lines
1.8 KiB
Markdown

# Owner-authorized model routing
Claude commander and independent reviewer: `claude-opus-5-5`.
Codex default: `gpt-6.1-sol`. Alternative: `gpt-6-astra`, only when Claude Opus 5.5 selects it for the task and records a reason.
Use the persisted `owner_model_cli.py` coordinator entry point for commander and Codex dispatch/run, with `OWNER_RUNNER_CONTROL` pointing to the reviewed Runner checkout. It preserves ordinary Runner decisions, leases, contracts, sandbox, counters, acceptance and review gates. It is not a change to worker source or registered project digests.
The commander result adds `codex_model` and `codex_model_reason`. For a Codex run, the latest recorded commander proposal must be for the same task, have action `run`, and select an allowed model with a nonempty reason. Pass that exact recorded decision to ordinary dispatch. A model-selection-only `wait` decision never starts an implementation.
Example (replace PROJECT, TASK, CONTROL with actual registered values):
```sh
OWNER_RUNNER_CONTROL=CONTROL python3 -B owner_model_cli.py --project PROJECT commander TASK --request 'Choose next action and Codex model under owner policy'
OWNER_RUNNER_CONTROL=CONTROL python3 -B owner_model_cli.py --project PROJECT dispatch recorded-decision.json
```
New-project defaults are also set in the Runner policy. Existing frozen project configurations are not rewritten; the explicit adapter applies owner-authorized model selection at invocation. Bare legacy CLI/MCP dispatch does not provide this routing; use this entry point for future Codex invocations. Antigravity model is unchanged.
Configuration and selected argv are distinct from actual inference evidence. Confirm the worker execution artifact after its next authorized run; no implementation is launched solely to test this setting.