[Bug]: Turning Ultracode on once makes every new thread and delegated task start with it
Before submitting
- [x] I searched existing issues and did not find a duplicate.
- [x] I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
- Open any thread, pick a Claude model that offers Ultracode (for example Claude Opus 5.5), and turn Ultracode on in the model picker footer.
- Click New thread (or open a new task on mobile).
- Open the model picker in the new thread.
The same carry-over happens without the composer: a thread running with Ultracode that calls delegate_task, t3_thread_launch or schedule_task without target.options / modelSelection starts its child, launched or scheduled thread with Ultracode on.
Expected behavior
Ultracode applies only to the thread it was turned on for. New threads, delegated children, launched threads and scheduled tasks start with it off unless it is chosen for them.
Actual behavior
The new thread starts with Ultracode already on (aria-pressed="true" on the Ultracode toggle). Ultracode is saved with the model's other remembered traits (web stickyModelSelectionByProvider / stickyOptionsByModelByProvider, mobile stickyModelSelection / modelOptionMemory), and the web New thread action also copies the current composer's options. On the server, delegated, remote-delegated, launched and scheduled threads copy the parent's options, Ultracode included.
So one tap makes every later thread, and every child those threads delegate to, run with xhigh effort plus multi-agent workflow orchestration until the user notices and turns it off on each surface.
Impact
Major degradation or frequent failure
Version or commit
0.1.11, and main at 86272b11f0
Environment
Linux desktop app and web client, plus the iOS app; Claude Code provider.
Logs or stack traces
n/a: no error. Thread run records show the Ultracode option set on the first run of threads where it was never chosen, and on every child task those threads delegated.
Workaround
Turn Ultracode off in a thread on each client (web/desktop and mobile separately), and pass explicit target.options when delegating.