Repository navigation
Description
What happened
I set my default model to Claude Opus 5.5. I set it globally. I tried to set it on the project, too, but that went into a different void, one that has since been fixed (#42282, more on that below). And yet every single time my webhook-triggered "Switchboard triage" task woke up, it reached past all of that and started the thread on claude-fable-5-2, like a houseguest who ignores the guest room you made up and sleeps in the bathtub every night because that's where they slept the first time.
So I went looking for the setting that was doing this. Over MCP, it doesn't exist:
schedule_taskhas no model parameter. No options either, so effort is out too.- Updating the task through
schedule_taskcan't change the model. list_scheduled_tasksdoesn't show the model. It shows the title, the prompt, the schedule, whether it's enabled, the last run status, and then just stops talking, like a witness who's been advised by counsel.
The model is stored. It's sitting right there in scheduled_tasks.model_selection_json. Agents can't see it, can't set it, and can't fix it. The only door in is the Scheduled tasks editor in Settings, which no agent will ever click on, because it's an agent.
Diagnosis
Here's the whole mystery, in two lines:
// apps/server/src/mcp/OrchestratorMcpService.ts:2375 (v0.1.11); ~2461 on main
const modelSelection =
parent?.thread.modelSelection ?? (yield* projectDefaultModelSelection(project));Translation: "Whatever model the agent who scheduled this was running at that moment is now the model forever. Tell no one."
The project default only gets a look-in when there's no calling thread. Over MCP, there essentially always is one, because that's what an agent is. The global default never gets consulted at all. So the model your scheduled work runs on, possibly for weeks, is set by whichever model happened to be holding the pen the day you said "hey, set this up." It's model selection by birth order.
The schemas back this up:
OrchestratorMcpScheduleTaskInput/OrchestratorMcpSaveScheduledTaskInput(packages/contracts/src/orchestratorMcp.ts) have nomodelSelectionfield.service.updateScheduledTaskacceptsprompt,title,schedule,enabled,freshSession, andbindToCurrentThread. Model is not invited.OrchestratorMcpScheduledTask, the result of both create and list, has no model field. The one thing you'd need to debug this is the one thing it won't say.
Still true on main as of today.
Steps to reproduce
- Set the global default model to model A (say,
claude-opus-5-5). - From an agent thread running model B (say,
claude-fable-5-2), callschedule_taskwith a prompt and a webhook or cron schedule. Leave outbindToCurrentThread. - Call
list_scheduled_tasks. Observe the absence of any model, which is a strange thing to observe but here we are. - Trigger the task. The run's thread starts on model B.
- For the morbidly curious:
select model_selection_json from scheduled_tasksshows model B, along with whatever options the caller had on, frozen in amber.
Version
Server 0.1.11, current stable (serverVersion from /.well-known/t3/environment). The relevant code is unchanged on main. The triage CLI is also 0.1.11, for completeness.
Environment
Linux arm64 cloud host, t3 background service (boot-service), MCP tools called from Claude Agent threads (claudeAgent provider). Settings have projectSettingsFolded: true.
Evidence
Task scheduled-task:89e1e3d8-a52b-42f2-b375-26f0a329debb, created 2026-11-23T21:29Z with created_by=agent and creation_source=mcp. Its stored model_selection_json:
{"instanceId":"claudeAgent","model":"claude-fable-5-2","options":[{"id":"fastMode","value":false}]}Its run_count was 12. I checked three of those runs, at 19:33:36Z, 19:34:26Z, and 19:36:01Z on 2026-11-24. All three started on claudeAgent / claude-fable-5-2.
Then I looked at the rest of the table. Four other agent-created tasks on the same machine had quietly pinned themselves to Fable the same way. I didn't pick that model for any of them. Nobody picked it. It was inherited, like a family curse or a Terraform state file.
After I edited the tasks by hand in Settings → Scheduled tasks, they stored claude-opus-5-5. So the plumbing works fine. Agents just aren't allowed near the faucet.
Related issues
- Scheduled tasks bound to a thread should be able to follow the thread's current model instead of pinning one #34148 (closed): tasks bound to a thread now follow that thread's current model. Good change. It doesn't cover new-thread tasks created over MCP, which is the case here.
- [Bug]: t3_project_update defaultModelSelection is still ignored after settings are folded (follow-up to #14991) #42282 / fix(server): t3_project_update saves the default model where Settings reads it #42297:
t3_project_updatewrotedefaultModelSelectionsomewhere nothing read from once project settings were folded. I hit this in the same session, it was fixed today, and it's in nightly. Genuinely, credit where due: that one got turned around fast. It's a separate bug from this one. - Thread model/provider selection is not authoritative: queued runs, cron, delegated completions, and stale clients freeze or durably revert it #19376 (closed as a duplicate): the broader "who actually owns the model selection" saga, for anyone who wants the full extended-universe lore.
Fix applied or workaround
I edited each task by hand in Settings → Scheduled tasks and picked the model I'd been assuming it was using all along. The web editor sends modelSelection on save, and it sticks. No local patch.
What I'd love:
schedule_tasktakes an optionalmodelSelection, options like effort included, on both create and update.- When none is given, a new-thread task follows the project or global default at run time instead of permanently adopting the caller's model. Or, if pinning is the intended design (I can see an argument for it), say so in the result so it isn't a surprise discovered via SQLite.
list_scheduled_tasksand theschedule_taskresult include the stored model, so the next person debugging this can do it without opening the database.
Filed by
Claude Opus 5.5 (claude-opus-5-5) in Claude Code, via t3 triage, on behalf of the user. Which model wrote this was a deliberate choice, and I'd like scheduled tasks to get the same courtesy.
Activity
juliusmarminge commentedon Nov 24, 2026
This is the same problem as #16833, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.