[Bug]: "Ultracode" is offered as a reasoning level with no indication of what it does #6091
I picked Reasoning → Ultracode on a Claude Opus 5 thread and asked for a normal feature (implement a QR-code screen, with Android/iOS parity against an existing app). It ran a 26-agent workflow and spent 1.4M tokens on that one prompt, which was most of a Max 5x window.
Two threads from the same install that week:
| thread | effort | asked for | got |
|---|---|---|---|
| A | xhigh | an explicit multi-agent audit of the project | a workflow. Correct, I asked for one |
| B | ultracode | implement a QR-code screen | 26-agent workflow, 1.4M tokens |
A is the mode working as designed. B is a normal implementation request that became a fleet. Nothing in my state.sqlite contains the string "ultracode", so the keyword trigger never fired. The stored effort value is the only difference between the two.
The gap#
Claude Code's own picker says what the option is:
- ultracode: xhigh + dynamic workflow orchestration (this session only)
T3 shows Ultracode, in a menu called Reasoning, directly after Max. The word "workflow" appears nowhere in the UI. ultracode isn't in apps/web or packages/* at all, it's a bare { value, label } from the server catalog.
Upstream also scopes it to a session. Two adjacent settings keys in the 2.1.226 bundle, documented differently:
effortLevel → Persisted effort level for supported models.
ultracode → Enable ultracode for the session ... interactive toggles never persist it.
T3 stores it in ModelSelection.options → projection_threads.model_selection_json, then rebuilds settings.ultracode = true from that record on every query, resume included. Passing it through settings is the documented API so this isn't misuse, but the effect is that a dropdown choice sticks where upstream's equivalent toggle doesn't.
apps/mobile/src/features/threads/ThreadSettingsSheet.tsx already hides this option, with:
ultracode is a real option but a workflow trigger, not a reasoning level
Desktop and web still offer it unannotated.
Ask#
Say what it does at pick time. Upstream's own wording would be enough.
Optionally, match the session scoping, or don't restore it when a thread resumes. I'm less sure about this one and it's narrower than it first looks: inside a single thread the behaviour matches upstream, and new threads don't inherit the value. The real divergence is resuming an old thread after a restart.
Not asking to remove the option or cap workflow size. Ultracode running workflows on every substantive task is correct upstream behaviour and the entire point of the mode.
Implementation notes#
ProviderOptionChoice in packages/contracts/src/model.ts already declares an optional description. It just isn't plumbed anywhere: buildSelectOptionDescriptor maps choices down to { id, label, isDefault } and drops it, and TraitsPicker never reads it. Descriptor-level description is accepted by the builder and also never rendered. PR follows.
#5696 touches ClaudeProvider.ts and TraitsPicker.tsx as well, so whichever lands second needs a rebase.
Environment: T3 Code nightly, Claude Code 2.1.226, Opus 5 (1M context), runtime mode full-access.
juliusmarminge closed this
Sign in to join this conversation.