You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Owner question: leave four model-policy routes to the Claude Code hook only? #769
My recommendation: accept it for now (no extra changes to upstream files), and look again if agents ever run on Codex.
What this is about. The model policy (#731, PR #747) makes the server check which model an agent picks when it starts or changes a thread, including on linked machines. Four routes are checked only by the model-guard hook inside Claude Code, not by the server:
the project's default model,
schedule_task and run_scheduled_task_now,
forking a thread with t3_thread_transfer.
A server check there would need more lines in upstream's own files, which we keep as few as possible.
What accepting costs:
Codex agents are not covered on those four routes, because the hook only runs in Claude Code. Today all agents are Claude (Opus 5.5 / Fable 5.2), so nothing is open now.
A scheduled task made from inside a thread runs on that thread's own model, not the project default. So a thread you started on a model outside the policy could schedule runs on that model. Agent-started threads are already checked, so this only follows your own picks, which Owner question: does the model policy bind only agents, or people too? #125 leaves free.
The other choice: a follow-up PR that adds a server check on those routes, with its own announced lines in upstream files (more upkeep at every upstream update).
Activity
scuttletoby commentedon Nov 22, 2026
Owner decision (in chat, 2026-11-22): accept. The 4 rare routes stay checked by the Claude Code hook only; no server check for now.
Posted by the orchestrator from the owner's chat answer.
🤖 Generated with Claude Code
scuttletoby commentedon Nov 27, 2026
Decided: accept; the 4 rare routes stay checked by the Claude Code hook. Nothing left to build.