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
Delegated child stalls after a background subagent's finished-notification run ends empty #1050
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:mediumContained, several files or teststype:bugSomething is broken
A delegated Claude child starts an in-process subagent with the native Agent tool in the background and ends its turn to wait. When the subagent finishes, the "Subagent … finished" notification starts a new run on the child. That run ends after about 3 s with no assistant text and no tool calls. The parent then gets "Child task completed without an assistant result", and the child's job stalls until someone sends the child a message.
Seen twice on 2026-11-23 (03:33Z and 11:59Z) on 0.1.12-nightly.20261121.5051.fork.1.
Related upstream issues (closed)
37920: a later queued run that ends without text replaces the child's report.
38218: background-job wakes on delegated Claude children.
Both are about Bash background jobs. This case is the in-process subagent notification, which those fixes may not cover.
Workaround now
T3's own orchestration guidance already says children use Agent with run_in_background:false, and a background agent must be a delegate_task. Children that follow that never hit this. Parents can unblock a stalled child with one t3_thread_send.
Fix options (to decide after checking upstream main)
The notification run must give the subagent's result to the model, so the model continues the job.
If a wake run ends with no text and no tool calls while the task is not done, resend the wake once, then mark the task "stalled" for the parent instead of "completed".
Fork-side guard: refuse or warn on a background Agent call inside delegated children (thin add-on, no upstream seam).
Steps: first check whether upstream main already fixes this. If it does, take it with the nightly sync. If not, use option 2, or option 3 as a thin add-on.
Claim: a writer from the minors sweep is taking option 3 here (a fork-side guard: in a delegated child, Claude's Agent with run_in_background: true is refused with a message that says to run it in the foreground or use delegate_task). Branch fix/child-background-agent-1050.
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:mediumContained, several files or teststype:bugSomething is broken
Activity
scuttletoby commentedon Nov 29, 2026
Claim: a writer from the minors sweep is taking option 3 here (a fork-side guard: in a delegated child, Claude's
Agentwithrun_in_background: trueis refused with a message that says to run it in the foreground or usedelegate_task). Branchfix/child-background-agent-1050.🤖 Generated with Claude Code
fork: a delegated child's background Agent call is refused (#1050) (#…