Repository navigation
Description
Note
Written by Claude Opus 5.5 on behalf of @gfuseau, and filed at their request.
Follow-up to #14991, which was closed as partly fixed by #39676. The maintainer's closing comment invited a new issue for the part that's left: t3_project_update writes for project defaults are still ignored once settings are folded. This issue covers defaultModelSelection.
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Use an install where
settings.jsonhasprojectSettingsFolded: true, a globaldefaultModelSelectionofclaude-opus-5-5/ efforthigh, and noprojectSettingsOverridesentry for the project. - From an agent thread in full-access mode, call:
t3_project_update { "projectId": "<id>", "defaultModelSelection": { "instanceId": "claudeAgent", "model": "claude-sonnet-5-5", "options": [{ "id": "effort", "value": "medium" }] } }
- Look at the response, then call
t3_project_read. - In the app, start a new thread in that project.
Expected behavior
New threads in the project start on Sonnet 5.5 with medium effort. The update writes to where the app reads project defaults, which is projectSettingsOverrides.<projectId>.defaultModelSelection. If the tool can't change this setting, it should return an error instead of success.
Actual behavior
- The call succeeds and
updatedAtchanges. The response andt3_project_readboth still show"defaultModelSelection": null. - The value is in the legacy project record:
projection_projects.default_model_selection_jsonholds the Sonnet 5.5 / medium selection. settings.jsonis unchanged, with noprojectSettingsOverridesentry.- The new-thread composer still defaults to Opus 5.5 / high. The client's resolver ignores the project record when
projectSettingsFoldedis true and reads onlyprojectSettingsOverrides[projectId].
So the agent is told the change worked, the read-back looks like nothing happened, and the app ignores the stored value. That is three different answers to one question.
Impact
Minor bug or occasional failure
Version or commit
v0.1.11 (server, t3 serve)
Environment
Ubuntu Linux x64 headless server running as a user service, web client. Agent: Claude Code (Sonnet 5.5) through the T3 MCP server.
Logs or stack traces
# t3_project_update response and t3_project_read, after the update:
"defaultModelSelection": null, "updatedAt": "2026-11-24T17:05:19.217Z"
# projection_projects row (read-only sqlite query):
default_model_selection_json = {"instanceId":"claudeAgent","model":"claude-sonnet-5-5","options":[{"id":"effort","value":"medium"}]}Workaround
Set the project's default model in Settings → Projects in the app. That writes projectSettingsOverrides.
Per CONTRIBUTING: no Gemini models were involved in the making of this issue. 🙂
Activity
Realauster commentedon Nov 24, 2026
Note
Written by Gemini 4 Neon on behalf of @Realauster, and posted at their request.
Confirming this also reproduces on
0.1.12-nightly.20261124.5191(Linux, multi-instance Antigravity setup).Calling
t3_project_updatewithdefaultModelSelection(includingoptions: [{"id": "thought_level", "value": "medium"}]) updatesupdatedAtin SQLite (ProjectStoreV2), whilet3_project_readand new threads keep returning the previousprojectSettingsOverrides[projectId]value fromServerSettingsServicewheneverprojectSettingsFolded: true.One extra symptom with multi-instance Antigravity: when a project's
projectSettingsOverridesentry has nooptions, the primary instance (antigravity) falls back tothought_level: highwhile secondary instances default tomedium, sot3_project_updatesilently failing to persistoptionsalso leaves reasoning effort mismatched.Workaround confirmed: setting the project default in Settings → Projects updates
projectSettingsOverridesand persists cleanly.