Repository navigation
Description
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
- From a Claude Opus parent thread, start a delegate:
delegate_taskwithtarget: { providerInstanceId: "codex", model: "gpt-6-luna", options: { reasoningEffort: "high" } }. - Tell the parent: "change that subagent to medium effort."
Expected behavior
The parent calls t3_thread_configure on the child's childThreadId with the new modelSelection. That works today:
- Claude child:
t3_thread_configurereturned a sequence, and the read-back showed the new effort. On the child's next turn the provider log showsquery.apply_flag_settings {"effortLevel":"high"}beforeprompt.offer. - Codex child: the rollout's
turn_contextshowseffort: lowfor turn 1 andeffort: highfor turn 2. - A Sonnet agent told to use
t3_thread_configureon thechildThreadIddid it without trouble.
Actual behavior
Parent agents don't find this path. Instead they cancel the delegate and start a new one, or they tell the user it can't be done. Two cases from my own threads:
- Cancel and restart (2026-10-22): two Sol delegates were running at high when I said "no, med effort by default." The parent replied "I stopped both Sol agents and restarted them at medium effort," which threw away their work.
- "Can't be done" (2026-11-06): a delegate was resumed with
t3_thread_sendafter a rate limit. The parent said: "the T17 thread still runs at high effort from its original brief. Resuming a thread can't change that … I'll start a fresh T17 delegate at medium." I changed it by hand in the UI.
Nothing an agent sees connects effort changes to t3_thread_configure:
t3_thread_configure(apps/server/src/mcp/toolkits/thread/tools.ts) says "Read a thread's provider, model, and modes, or set … OmitthreadIdfor this thread." It doesn't mention child or delegate threads, and it's a deferred tool, so agents only see its name until they search.delegate_task,task_status,t3_thread_sendnever mention changing a running delegate's settings.t3_thread_sendtakes no model or options, which is why the 11-06 agent concluded that resuming can't change effort.- The injected orchestration instructions tell agents to
task_cancela delegate they "replace," and to make every re-check a newdelegate_task. Nothing says to retarget instead.
Two runtime gaps make it worse:
- The running turn keeps its old effort. In the Claude adapter,
apply_flag_settingsis only sent when a turn starts. Aftert3_thread_configuremid-turn, the child kept--effort=lowuntil its next turn. Neither tool says so. (I didn't check whether a mid-turnapply_flag_settingswould work for Claude. Codex sets effort per turn anyway.) task_statuskeeps reporting the old effort. After the change, the originaltaskIdstill reportsoptions: [{effort: "low"}], even for a run that went at high. Only the newtaskIdfrom the follow-upt3_thread_sendreportshigh. A parent that checks its work sees the old value and concludes the change failed.
Suggested fix
- In the
t3_thread_configuredescription, say it works on a delegate'schildThreadIdand takes effect on that thread's next turn. - Point to it from
delegate_task/task_status(for example: "to change a running delegate's model or effort, uset3_thread_configureonchildThreadId"), and from the orchestration instructions, as the alternative to cancelling and restarting. - Make
task_statusreport the thread's currentmodelSelection(or both the requested and current values), so the change can be seen. - Optional: return a note from
t3_thread_configurewhen the target thread has a turn in progress, saying the change applies from the next turn.
Impact
Major degradation or frequent failure
Version or commit
T3 Code (Beta) desktop 0.1.9
Environment
macOS (Darwin 27.0.0), parents on Claude Opus 5.5; delegates on Claude Haiku 5.5, Sonnet 5.5, Codex gpt-6-luna, GPT-6.1 Sol
Logs or stack traces
# Claude child provider log (~/.t3/userdata/logs/provider/events.<child>.log), outgoing only
16:51:24 query.open effort=low
16:51:24 prompt.offer (turn 1; t3_thread_configure effort=high sent during this turn)
16:54:26 query.apply_flag_settings effortLevel=high
16:54:26 prompt.offer (turn 2, sent with t3_thread_send)
# Codex child rollout, turn_context entries
turn 1 effort=low (t3_thread_configure reasoningEffort=high sent mid-turn)
turn 2 effort=highWorkaround
Tell the parent to call t3_thread_configure with the delegate's childThreadId and a full modelSelection (same instanceId/model, new effort/reasoningEffort). It applies from the delegate's next turn.
Related: #30442 (Pi rows don't show effort), #21077 (closed; report requested and effective options).
Activity
fix(server): task_status shows the effort a delegate runs at after a …
test(evals): agents cancel a delegate to change its effort