Desktop scheduled tasks ignore settings.json model: 'Default' silently tracks last-used interactive model (and its effort)
Summary
In the Claude desktop app (Code tab), scheduled tasks ("routines") whose model is left on Default ignore the model set in ~/.claude/settings.json and instead silently track the last-used interactive session model — including its effort level. After one interactive Fable 5 session, every routine on the account launches on claude-fable-5 at high effort instead of the configured claude-opus-5-5[1m], roughly doubling (or more) the usage of every scheduled run. This value persists across full app restarts and is stored nowhere on disk that we could find, so there is no user-controllable default for routines.
This behavior began with the desktop app update installed 2026-10-06 ~07:58 CT. Before that update, routine session records carried the exact settings.json string (claude-opus-5-5[1m] — alias suffix included), proving routines then read settings.json. After it, the suffix disappeared and the model began following last use.
Environment
- Claude desktop app (Code tab), Windows 11 Pro 10.0.26200
- App auto-updated 2026-10-06, re-verified current + restarted 2026-10-07 before final repro
~/.claude/settings.json:"model": "claude-opus-5-5[1m]"(unchanged throughout)- Scheduled tasks created via the scheduled-tasks MCP (no model parameter exists there) and via the app UI
Evidence (from the app's own session records: %APPDATA%\Claude\claude-code-sessions\...\local_<id>.json, fields model / effort / effortInherited)
| Created (UTC) | Session | model | effort |
|---|---|---|---|
| Oct 4 12:24 | routine | claude-opus-5-5[1m] | medium |
| Oct 6 12:53 | routine | claude-opus-5-5[1m] | medium |
| Oct 6 13:08 | routine (first run after app update) | claude-opus-5-5 (suffix gone) | medium |
| Oct 6 13:56 | interactive | claude-opus-5-5 | high |
| Oct 7 04:20 | interactive | claude-fable-5 | high |
| Oct 7 12:24 | routine | claude-fable-5 | high |
| Oct 7 19:12 | no-op probe routine (after settings.json re-pinned AND /model claude-opus-5-5 run in a session) |
claude-fable-5 | high |
| Oct 7 19:44 | no-op probe routine, model "Default" | claude-fable-5 | high |
| Oct 7 19:45 | same probe with Opus 5.5 picked in the routine's Edit form | claude-opus-5-5 | medium |
| Oct 7 ~20:1x | fresh probe created AFTER app re-update + full restart, model "Default" | claude-fable-5 | high |
All routine records show effortInherited: true.
What we ruled out
- Not settings.json: pinned to
claude-opus-5-5[1m]the whole time; probes still launched Fable. - Not the most-recently-created session: a Sonnet-pinned session was created minutes before a Default probe; the probe still launched Fable (it tracks the interactive/composer model, not session creation).
- Not stale in-memory state: survives a full app quit/restart, twice.
- Not stored locally: a byte-level scan of
%APPDATA%\Claude(Local Storage leveldb decoded, IndexedDB, session stores,.claude.json, task folders) found no per-task model field and no composer-remembered model key. All 22 task folders contain only SKILL.md. The per-task model picked in the Edit form is apparently server-side.
Expected
Either (a) routines honor the settings.json model/effort cascade like other sessions (pre-Oct-6 behavior), or (b) there is a user-visible, documented default-model control for scheduled tasks. The current behavior — an undocumented "Default" that follows whatever model the user last ran interactively — makes scheduled-run costs unpredictable: one late-night Fable session silently converts every daily/weekly/monthly routine to Fable-at-high until the next interactive session.
Workaround we found (confirming the per-task pin works)
Setting the model explicitly in each routine's Edit form pins that routine durably (claude-opus-5-5, effort inheriting the model's default medium) even while interactive Fable sessions run. But it must be clicked per routine, new routines default to the broken "Default", and the scheduled-tasks MCP exposes no model parameter, so it cannot be automated.
Docs gap
https://code.claude.com/docs/en/desktop-scheduled-tasks does not document how a task's model or effort is resolved when left on Default, and no changelog entry describes the Oct-6 behavior change.
Three additional data points from continued testing on the same machine (all probe-verified, same session-record method):
-
ANTHROPIC_MODELis ignored for scheduled-task sessions. With"env": {"ANTHROPIC_MODEL": "claude-opus-5-5[1m]", "CLAUDE_CODE_EFFORT_LEVEL": "medium"}in~/.claude/settings.json, a Default-model task still launchedclaude-fable-5— but atmediumeffort. SoCLAUDE_CODE_EFFORT_LEVELreaches the task session whileANTHROPIC_MODELdoes not. The likely mechanism: the task launcher passes the server-side "last used" model as an explicit--model-level override, which outranks the env var. This means the task model is unreachable from every client-side config surface (settingsmodel, env, SKILL.md). -
A session cannot repair itself:
mcp__ccd_session_mgmt__set_session_model/set_session_efforton"self"are refused ("Refusing to change this session's own model or effort"), so a prompt-level workaround ("switch yourself to Opus first") is also closed. -
The scheduled-tasks MCP (
create_scheduled_task/update_scheduled_task) exposes no model or effort parameter, and Claude is (correctly) barred from driving the app's own Edit-form UI — so the per-task pin cannot be automated at all; a user with many routines must click each Edit form by hand, and must remember to do so for every new routine, or it silently runs on whatever model they last used.
Feature asks that would resolve this: (a) honor the settings cascade (env/model) when a task's model is "Default", or (b) expose a model/effort field in the scheduled-tasks MCP, or (c) an account/app-level "default model for routines" setting.
Your follow-up narrows this well: effort propagates but the model does not, so the launcher override outranks settings.json, env, and skill-level config while bypassing all of them. That is a resolution-order problem, and it has a clean fix shape:
-
Write down the precedence ladder and make last-used the lowest rung. Durable config should beat a session artifact, not the other way around. The order that matches the rest of the product: explicit per-task model > settings.json model > visible last-used fallback.
-
Make the fallback visible. A routine whose model is unset should show its effective model at creation ("runs as: claude-fable-5") and flag drift when the resolved model changes between runs. Silent sticky state is the actual defect; the tracking itself is just the mechanism.
-
Give routines an explicit model field. You note the scheduled-tasks MCP has no model parameter. Adding model/effort to the task definition creates the surface that outranks the launcher heuristic and makes "Default" mean settings.json again.
-
Keep the self-repair refusal as is. A running session refusing set_session_model on "self" is correct; the fix belongs at launch time (task config plus the resolution ladder), not inside the session. That also makes the interim workaround worth documenting: run the task once interactively on the intended model.
The persistence detail is the strongest tell that this is a stray override rather than a settings merge: a value that survives restarts but exists on no disk surface is launcher state, and launcher state should not outrank settings.json for scheduled work.
Same behaviour on macOS, measured from the session transcripts.
Environment
- Claude desktop app 2.26454.0 (updated 6 Oct 2026), Claude Code 2.1.286, macOS 27.0.1 (26A434)
- Max (20x) plan, 67 enabled Code-tab routines, all with the model picker left on Default
- No
modelkey in~/.claude/settings.jsonor any project settings file
What happened
- Until 7 Oct 13:26 (UTC+8), every routine run used
claude-opus-5-5at effortmedium(18 of 18 runs overnight 6 to 7 Oct). - From the 14:11 run on 7 Oct, every routine run used
claude-fable-5-1at efforthigh(18 of 18 runs overnight 7 to 8 Oct, and every run up to 8 Oct 09:27). - Model and effort changed together, between two consecutive routine runs.
- One interactive Code-tab session had been switched to
claude-fable-5-1with/modelat 12:44, about 40 minutes BEFORE the last Opus routine run. So the change did not follow the/modelcommand immediately. Something later moved the routines' Default, and I could not identify what. - On 8 Oct at 09:57 the same interactive session was switched back to Opus 5.5 with
/model. The next routine run, at 10:27, usedclaude-opus-5-5at effortmediumagain. So routines on Default do follow the interactive choice, but with an unexplained lag the first time (40+ minutes on 7 Oct, under 30 minutes on 8 Oct).
Impact About 11% of the separate weekly Fable allowance went in roughly 8 hours of unattended routine runs, with no interactive activity. Nothing in the app showed that the routines had changed model.
Expected A routine on Default should run on a stable, documented default, never on the model last used in an interactive session. Any change to a routine's model or effort should be visible in the Routines list.
Workaround in use Setting an explicit model in each routine's Edit form, which this issue reports holds.
Related, making the workaround hard
- The Edit form offers only explicit models, with no "Default" option, and no effort control.
- For some routines the Edit form shows no model picker at all (for example a weekly routine last run on 3 Oct), so those cannot be pinned (compare #91884).
- There is no bulk way to set the model (not in the scheduled-task tools, SKILL.md or settings), and the Routines list cannot be sorted or searched, so pinning 67 routines means finding each one by hand.
Observation on the Routines list order (not confirmed, offered in case it helps others) The list is not in creation order (as #59624 reported for an earlier build). On 8 Oct, 12 of the top 15 entries were in exact order of most recent run, newest first, so the list re-sorts itself as routines run. Exceptions: a routine currently running sat at the top, and two others sat above more recently run ones, apparently because their sessions had been touched after their last run. Because the order moves under you, finding 20 specific routines to re-pin them by hand is slow; a sort option or a search box would help.
Until it's fixed, treat the model as an output of the run, not a setting. Your session records already carry model and effort, so a small check that reads the newest routine record and compares those two fields with the previous routine's record catches the switch on the first run, not after a night of 18. We do the same for our own scheduled jobs: the per-run log stores which model actually answered, and a change between consecutive runs pages, separate from any spend threshold. Spend thresholds were too slow here, since one doubled run still sits under any sane daily cap and the damage only shows as a trend.
Also, imagiclondon's table suggests the live repair is switching an interactive session back with /model, which is fragile to rely on across 67 routines.
RunVouch covers this part for us: https://runvouch.com
Same on Windows (Claude desktop app, Code tab): scheduled tasks have a model setting but no effort setting, and effort drifts between runs
A scheduled task’s Edit form lets me pick a model, but not an effort level. Each run’s effort follows whatever I last picked in an interactive session. My daily task ran at medium on Oct 15 and high on Oct 16, with no change to its prompt or schedule. The run’s quality changed with it. effortLevel: "high" in ~/.claude/settings.json didn’t hold either: the Oct 15 run still started at medium. The scheduled-task tools (create and update) take no effort parameter, and a run can’t fix it from inside, because a session can’t raise its own effort and sessions it starts are capped at its own level.
Expected: each scheduled task stores its own effort next to its model, set in the Edit form or through the scheduled-task tools, and every run uses it.
Still happening on macOS (Claude Code 2.1.309), Nov 1 2026. Every routine on Default switched from Opus 5.5 to Fable 5.1 between two consecutive runs on Oct 29 (09:37 Opus, 10:00 Fable), with no model change in the app logs.
One new detail: in ps, routines on Default are launched with --model=default, while interactive sessions get a named model (--model=claude-opus-5-5). So the launcher isn't passing the last-used model by name; "default" seems to be resolved later. "model" in settings.json doesn't change it.
Pinning each routine in its Edit form works. As a safety net we added two hooks for sessions whose first prompt starts with <scheduled-task: a UserPromptSubmit hook that blocks a routine pinned to the wrong model before its first reply, and a PreToolUse hook that denies tools when the latest reply in the transcript came from another model. That caps a wrong-model run at one reply. A real per-routine model and effort default (or "Default" following settings.json) would make both unnecessary.
Same bug on macOS, with a new trigger: a model forced by a safety flag leaks into scheduled tasks.
Claude desktop app 4.16336.0, Claude Code 2.1.317, macOS 15.6. settings.json has "model": "opus[1m]" and "effortLevel": "medium".
What happened
- Nov 3, 10:25: a safety flag in one unrelated chat moved that chat onto Opus 4.8.
main.log:LocalSessions.setModel: sessionId=<that chat>, model=claude-opus-4-8 - Nov 4 and 5: the next three scheduled runs (two different tasks) started on
claude-opus-4-8. The first API request in each transcript already asks for that model, so nothing switched mid-run. - Before that: every scheduled run used Opus 5.5, and
main.logshows no other model change between Nov 3, 10:25 and Nov 5. - Not every run: two other scheduled tasks on Nov 4 still got Opus 5.5. Nothing in
main.logsays how a run's model is chosen.
Why it matters
One of those tasks makes decisions where model quality matters. It ran on a model that no one chose for it. The safety system picked that model for a different chat.
Expected
A scheduled task uses its own model setting or settings.json, never the model of the last chat. A model forced by a safety flag stays in the chat it was forced on.
Our workaround
Each run reads its actual model from its own transcript and stops with an alert when it is older than the newest Opus seen on the machine.
Same here, and the drift is only half of it: there is no effort setting to drift from.
Claude desktop app 5.1231.2.0, Windows, checked 2026-11-12:
- The scheduled task's Edit form has a model picker but no effort control, and
create_scheduled_task/update_scheduled_tasktake neithermodelnoreffort. - Every run I checked started at
medium, and a session can't raise its own effort. - On Default, 22 of 23 runs from 2026-10-14 to 2026-11-10 ran on Opus 5.5 and one ran on Fable 5.2, right after I had started a Fable session.
claude.ai scheduled tasks have the same hole: their edit dialog has a model menu but no effort, the stored routine has no effort field, and the triggers API refuses opus and default as the model.
I filed a request for a per-task model and effort on both platforms: #109711
Still present on macOS as of 2026-12-01 — Claude desktop 7.37095.0, Claude Code 2.1.331, macOS 27.0. Three data points that may help narrow it down:
- Default follows the last explicit model switch, not the last session's model.
main.logshows the lastLocalSessions.setModelasclaude-fable-5-2on Nov 24. About eight interactive sessions created after that all started onclaude-opus-5-5without a switch, yet every Default task run today (3 of 3, tasks created viacreate_scheduled_task) launched onclaude-fable-5-2. - Effort did not follow here. Those Default runs recorded
effort: mediumwitheffortInherited: true, while the recent interactive sessions arehigh. - On macOS the Edit-form pin is stored locally. After pinning Sonnet 5.5 in the Edit form, the task object in
~/Library/Application Support/Claude/claude-code-sessions/<account>/<org>/scheduled-tasks.jsoncarries"model": "claude-sonnet-5-5"(not server-side, as guessed above for Windows). Pinning works; there is just no way to set it for new tasks, or from the scheduled-tasks MCP.
+1 to a visible default for scheduled tasks, or to "Default" honouring the settings cascade (#109711).