fix(models): Ultracode is offered on Sonnet 5, Sonnet 5.5 and Haiku 5.5 #17606
main fromrefs/pull/17606/head·opened View on GitHubNote
Responses generated with Claude
Problem#
The Reasoning picker offers Ultracode only on the Opus and Fable profiles. Claude Code gates Ultracode on the model supporting xhigh effort, not on a model family:
- Claude Code's bundled model table (2.1.296) lists
xhigh_effortforclaude-sonnet-5,claude-sonnet-5-5,claude-haiku-5-5andclaude-opus-5-5, and not forclaude-sonnet-4-6. - The model-config docs say Ultracode is unavailable when workflows are off or "the model doesn't support
xhigheffort", and list Sonnet 5.5 among the models with xhigh. - In a T3 Code thread on Claude Sonnet 5.5,
/effort ultracodeis accepted ("Ultracode on (this session only): dynamic workflows on every task. Effort stays high."). The picker for that model has no Ultracode entry, although its profile already lists Extra High.
Change#
Adds the Ultracode option, with the same description and the same ultracode to xhigh effort mapping the Opus profiles use, to the sonnet-5 profile (Claude Sonnet 5 and 5.5) and the haiku-5-5 profile. Bumps the manifest updatedAt, as the model manifest doc requires. No code change: Ultracode is compiled by the existing compileClaudeModelSelection path, which sends effort xhigh plus the ultracode setting.
Left alone: profiles without xhigh (Sonnet 4.6, Haiku 4.5, Opus 4.6 and older) and Opus 4.7, whose profile maps xhigh to max and where I did not check Ultracode.
Scope and approval#
Maintainer approval for this direction has not been obtained. I am submitting it as a focused change that extends an established capability (Ultracode, already shipped for Opus and Fable) to models Claude Code already treats as supporting it. It adds no setting and changes no default.
Related, not duplicated:
- #13875 is the accepted issue about following the model inventory Claude Code reports. I added a comment there noting that reported capabilities only apply to ids the catalog does not already know, and suggesting that Ultracode availability could eventually follow the reported effort levels. That would be a larger change than this one.
- #13913 (open) implements #13875 for models the catalog does not know. It does not touch known models such as Sonnet 5.5.
- #14193 (open) copies the
sonnet-5profile into a newsonnet-5-5profile to change its default effort. If both land, the new profile needs this option too.
Verification#
Running client (web)#
Run on the current PR head (f975b4bf35, rebased onto main at 18656a3402) with vp run dev in a dedicated worktree: its own .t3 state and ports, T3 web opened in T3 Code's built-in Browser panel, a server project, a new thread, the local Claude Code install as the Claude provider. The screenshots were taken with that panel's preview_snapshot; no other browser or automation tool was used. For the "before" run I replaced only model-manifest.json with the one from main and restarted the dev server, so the only difference between the two runs is this PR's manifest change. I opened the Reasoning picker for each model.
| Model | Before (main manifest) | After (this PR) |
|---|---|---|
| Claude Sonnet 5.5 | ![]() | ![]() |
| Claude Haiku 5.5 | ![]() | ![]() |
| Claude Sonnet 5 (under Legacy models) | ![]() | ![]() |
Observed:
- Before: all three models list Low, Medium, High, Extra High, Max and Ultrathink, with no Ultracode.
- After: all three list the same options plus Ultracode ("xhigh effort plus multi-agent workflow orchestration") between Max and Ultrathink. The defaults are unchanged (High for Sonnet 5 and 5.5, Medium for Haiku 5.5).
- Selecting Ultracode on Claude Sonnet 5.5 changes the picker trigger to "Ultracode" (screenshot).
- The screenshots are on the
pr-17606-evidencebranch of my fork, not on this PR's branch.
One thing I learned while doing this: the server prefers the newer of the bundled and the remotely fetched manifest by updatedAt, and the remote copy is main's file. The first push of this PR had an updatedAt older than main's, so a running server would have shown main's data and hidden the change. The branch is now rebased on main with updatedAt bumped past it.
Tests#
- Added tests in
claudeModelOptions.test.ts: Ultracode compiles to effortxhighplussettings.ultracodeforclaude-opus-5-5,claude-sonnet-5-5,claude-sonnet-5andclaude-haiku-5-5. Selecting it onclaude-sonnet-4-6falls back to its default efforthighwith noultracodesetting. pnpm exec vp test run src/claudeModelOptions.test.ts src/provider/ModelManifest.test.ts src/provider/ClaudeModelCatalog.test.tsinapps/server, re-run on the current head: 3 files, 26 tests pass. With the manifest change reverted, the three new Sonnet 5, Sonnet 5.5 and Haiku 5.5 cases fail.vp fmt --checkon both changed files is clean.- The capability table was read from the installed Claude Code 2.1.296 binary.
Not checked: I did not send a message with Ultracode selected, so the picker's xhigh plus ultracode setting path is covered by the unit tests above and not by a live turn on Sonnet or Haiku. The /effort ultracode run on Sonnet 5.5 quoted under Problem went to Claude Code directly. I did not run vp lint (my install could not parse vite.config.ts, an excludeFiles field error unrelated to this change), and I did not check the mobile picker, which hides Ultracode by design.
🤖 Generated with Claude Code
Claude Sonnet 5.5 (claude-sonnet-5-5) via Claude Code in T3 Code
- 1
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
🟢 Approval recommended#
The manifest changes follow existing Ultracode patterns and are covered by focused tests.
0 open findings
What changed in this PR
Extends existing Claude Ultracode support to Sonnet 5, Sonnet 5.5, and Haiku 5.5.
Changes:
- Adds Ultracode options mapped to
xhigh. - Updates the manifest timestamp.
- Adds compilation and unsupported-model tests.
File Description apps/server/src/provider/model-manifest.jsonEnables Ultracode for supported profiles. apps/server/src/claudeModelOptions.test.tsVerifies Ultracode compilation and fallback behavior. 🧠 Review effort: Balanced
💡 Add a
code-reviewagent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.- Adds Ultracode options mapped to
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: Path: .coderabbit.config.ts
- Review profile: CHILL
- Plan: Advanced
- Run ID:
d592cc88-55b1-4771-91b4-c6658a5aad75
📥 Commits
-
Reviewing files that changed from the base of the PR and between a1db449fe4fecafcb473340771163e791b7fb3d6 and e954c18b25bb957b58a157fbe35ed2cd9bba419f.
📒 Files selected for processing (2)
-
apps/server/src/claudeModelOptions.test.tsapps/server/src/provider/model-manifest.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
-
📝 Walkthrough
-
Walkthrough#
The model manifest adds the
ultracodeeffort option for Sonnet 5 and Haiku 5.5, mapping it toxhigh. Tests cover the mappings for four Claude models and the behavior for Sonnet 4.6.Changes#
Ultracode effort support
Layer / File(s) Summary Add and verify ultracode mappings
apps/server/src/provider/model-manifest.json,apps/server/src/claudeModelOptions.test.tsThe Sonnet 5 and Haiku 5.5 profiles add ultracodeand map it toxhigh. Tests cover four Claude models and verify that Sonnet 4.6 retainshigheffort without anultracodesetting.Priority: ⬇️ Low
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Feature
Suggested reviewers:
juliusmarminge
Merge Risk: ⚪ Minimal · up to
e954cThe change adds Ultracode for Sonnet 5 and Haiku 5.5, with tests covering the resulting settings and the Sonnet 4.6 fallback. No actionable merge-blocking risk is identified.
Architecture Summary#
Architecture risk: 🔵 Low · up to
e954cThe change affects 1 system.
Changed systems:
apps/serverArchitecture concerns No architecture-level concerns identified.
Review details
-
Systems and components
- observed — apps/server (service) was modified; 2 changed files map to changed impact.
Before / after behavior
- observed — Modified behavior in apps/server/src/claudeModelOptions.test.ts: Adds coverage for
claude-opus-5-5,claude-sonnet-5-5,claude-sonnet-5, andclaude-haiku-5-5, expectingultracodeinput to producexhigheffort and theultracode: truesetting. - observed — Modified behavior in apps/server/src/claudeModelOptions.test.ts: Adds coverage asserting that
claude-sonnet-4-6mapsultracodeinput tohigheffort and omits theultracodesetting. - observed — Modified behavior in apps/server/src/provider/model-manifest.json: The manifest’s
updatedAtvalue changed from2026-10-08T21:30:00Zto2026-10-09T20:35:28Z. - observed — Modified behavior in apps/server/src/provider/model-manifest.json: The Sonnet 5 effort options gained an
ultracodechoice with a description identifying it as xhigh effort plus multi-agent workflow orchestration.
Pre-merge checks |
4-
✅ Passed checks (4 passed)
-
Check name Status Explanation Linked Issues check Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Check skipped because no linked issues were found for this pull request. Title check The title clearly and concisely identifies the main change: enabling Ultracode for Sonnet 5, Sonnet 5.5, and Haiku 5.5. Description check The description includes all required sections, explains the problem and implementation, documents scope and related issues, reports focused verification results, and identifies unverified checks and …
-
✨ Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment `@coderabbitai help` to get the list of available commands.-
coderabbitai[bot](GitHub profile, opens in a new tab) approved these changes
Note
This comment is posted by Julius' dot
Closing for missing UI verification evidence. At
e954c18, the manifest adds Ultracode to the Reasoning picker for Sonnet 5, Sonnet 5.5 and Haiku 5.5, but the PR explicitly says the picker was not checked in a running client and provides no before/after screenshots. The reported compilation tests establish the option mapping, not the changed picker. Add before/after screenshots from a running T3 client and describe the model and selection checks you observed, then request reconsideration.juliusmarminge closed this
Sign in to join this conversation.






Approvability#
Verdict: Not approved
Macroscope's review found this PR not approvable — This PR expands the user-facing Ultracode workflow to three additional production model paths through runtime manifest configuration. The option is off by default and well tested, but the change is in an area primarily maintained by other contributors and should receive human review.
You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).