You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Claude parent blocks its turn on foreground subagents for long parallel work since #27139 #34379
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
Open a Claude thread with the T3 MCP attached (Opus 5.5).
Ask for long parallel work without the word "background", e.g. "Research topic A and topic B in parallel with two subagents."
Watch the parent thread after it launches the subagents.
Expected behavior
The parent sends a short message ("launched 2 subagents, waiting"), and the turn ends. The parent resumes when the children finish. The user can keep talking to the thread in the meantime.
Actual behavior
In about 4 of 5 runs, the parent calls Agent with run_in_background:false. The turn then blocks until every child finishes, often 10–15+ minutes. The UI shows "Thinking" plus "2 subagents · 2 working". The parent sends nothing after its launch line, so it looks hung.
Cause
#27139 trimmed the subagent bullet in orchestrationInstructions.ts to make room for the "Background agent" sentence. It removed the clause "and it finishes in this turn" and "background work" from the delegate_task list. The PR assumed the new sentence covers that clause. It does not: the sentence fires only when the user asks for a "background" agent. Long work the user never calls "background" now matches the native rule, and that rule pins run_in_background:false. The PR also notes that the trimmed text was not run on Claude (credits ran out).
…and no settings beyond yours, and it finishes in this turn (Claude Agent always with run_in_background:false…). Use delegate_task for …, background work, or …
After:
…and no settings beyond yours (Claude Agent, run_in_background:false…). Use delegate_task for … or delegate_task by name. … Background agent: delegate_task, never a background Agent.
Suggested fix: restore a turn-length condition, e.g. "Work that will not finish within this turn, or that the user may want to talk over: delegate_task". An eval case would also help: "parallel long research, no 'background' word" should not end up in a blocking foreground Agent.
Impact
Major degradation or frequent failure
Version or commit
nightly.20261109.4433
Environment
Windows 11, T3 Code desktop (Nightly), Claude Code harness, Opus 5.5
Workaround
Say "in the background" in the request, or add a user instruction that routes long subagent work to delegate_task.
🤖 Claude Opus 5.5 responding on behalf of danechka02111-max
A missing reply message is the smaller part of the problem. A foreground Agent also blocks the parent's own work while the children run.
A common parent plan:
Spawn subagents A and B for independent research.
While they run, do its own analysis: read files, compare data, draft a section.
Based on that analysis, spawn subagents C and D.
When A and B return, merge their results into what it already has.
With run_in_background:false, the parent stops at step 1 and sits idle until both A and B finish. Steps 2 and 3 never overlap with A and B, so a plan meant to run in parallel runs one step after another. The run also takes as long as the slowest child. Each time the parent spawns subagents later in the turn, it stops again. From the user's side, the parent goes silent right after the first spawn and does nothing else.
So the rule needs more than "end the turn". After spawning long children, the parent should stay free to keep working and react to each result as it arrives. An async launch gives it that freedom: delegate_taskmode:"async", or a native background Agent that T3 tracks. A blocking launch should be limited to a short child whose result the very next step needs.
Suggested eval case: "spawn two long research subagents, then do your own analysis, then spawn two more based on it." Pass if the parent does its own analysis before the first two children finish.
Thanks for taking a look. I get that the foreground Agent is deliberate. I'd still push back on "prompt better", because the prompt isn't the problem here.
I asked for work "in parallel with subagents". Under the current rule, the parent spawns them with a blocking call and gets every result at once, only after the slowest child finishes. Say I launch 10 subagents: nine take an hour, one takes five. The nine finished reports sit unused for four hours. The parent can't read them, can't change course, and can't spawn follow-up work, even though the next steps depend on those results. That isn't parallel work. It's a barrier on the slowest task.
Plain Claude Code runs subagents in the background by default. The line T3 injects (Claude Agent, run_in_background:false) overrides that. So my prompt has to fight a system instruction.
It's also a UX problem. Most users don't know T3 has two kinds of subagents, native Agent and delegate_task, and they shouldn't have to. Nothing in the UI tells them that "in the background" is the phrase that switches modes. What they see is a thread stuck on "Thinking · 2 subagents working" for an hour, with no updates, and no way to talk to the parent until the slowest child finishes. To them it looks hung. "Prompt better" means "learn the internal routing rules", and that's a lot to ask of someone who just wrote "do this in parallel".
The evals also still describe the old rule. native-agents-for-unasked-parallel-audit cites "…and you need it only in this turn". #27139 removed that clause from orchestrationInstructions.ts, so long work no longer gets a turn-length check.
I'm not asking to allow background Agent. delegate_taskmode:"async" already does the right thing. The rule just needs to send long work there, for example: "Native Agent for work you need in this turn; work that outlives the turn goes to delegate_task." Then "in the background" would no longer be the only phrase that works.
If this makes sense, could you reopen the issue? I'm also happy to open a PR with that one-line change and an eval case.
Activity
danechka02111-max commentedon Nov 11, 2026
Note
🤖 Claude Opus 5.5 responding on behalf of danechka02111-max
A missing reply message is the smaller part of the problem. A foreground
Agentalso blocks the parent's own work while the children run.A common parent plan:
With
run_in_background:false, the parent stops at step 1 and sits idle until both A and B finish. Steps 2 and 3 never overlap with A and B, so a plan meant to run in parallel runs one step after another. The run also takes as long as the slowest child. Each time the parent spawns subagents later in the turn, it stops again. From the user's side, the parent goes silent right after the first spawn and does nothing else.So the rule needs more than "end the turn". After spawning long children, the parent should stay free to keep working and react to each result as it arrives. An async launch gives it that freedom:
delegate_taskmode:"async", or a native backgroundAgentthat T3 tracks. A blocking launch should be limited to a short child whose result the very next step needs.Suggested eval case: "spawn two long research subagents, then do your own analysis, then spawn two more based on it." Pass if the parent does its own analysis before the first two children finish.
juliusmarminge commentedon Nov 13, 2026
This is how it is meant to work: prompt better...
Closing as not planned.
danechka02111-max commentedon Nov 21, 2026
Thanks for taking a look. I get that the foreground
Agentis deliberate. I'd still push back on "prompt better", because the prompt isn't the problem here.I asked for work "in parallel with subagents". Under the current rule, the parent spawns them with a blocking call and gets every result at once, only after the slowest child finishes. Say I launch 10 subagents: nine take an hour, one takes five. The nine finished reports sit unused for four hours. The parent can't read them, can't change course, and can't spawn follow-up work, even though the next steps depend on those results. That isn't parallel work. It's a barrier on the slowest task.
Plain Claude Code runs subagents in the background by default. The line T3 injects (
Claude Agent, run_in_background:false) overrides that. So my prompt has to fight a system instruction.It's also a UX problem. Most users don't know T3 has two kinds of subagents, native
Agentanddelegate_task, and they shouldn't have to. Nothing in the UI tells them that "in the background" is the phrase that switches modes. What they see is a thread stuck on "Thinking · 2 subagents working" for an hour, with no updates, and no way to talk to the parent until the slowest child finishes. To them it looks hung. "Prompt better" means "learn the internal routing rules", and that's a lot to ask of someone who just wrote "do this in parallel".The evals also still describe the old rule.
native-agents-for-unasked-parallel-auditcites "…and you need it only in this turn". #27139 removed that clause fromorchestrationInstructions.ts, so long work no longer gets a turn-length check.I'm not asking to allow background
Agent.delegate_taskmode:"async"already does the right thing. The rule just needs to send long work there, for example: "NativeAgentfor work you need in this turn; work that outlives the turn goes todelegate_task." Then "in the background" would no longer be the only phrase that works.If this makes sense, could you reopen the issue? I'm also happy to open a PR with that one-line change and an eval case.