[Bug]: A delegated task that asks a question or needs approval never tells its parent (V2) #15082
What happens#
A V2 thread delegates work with delegate_task. The child later stops on a question, a command approval, or a sign-in. Nothing reaches the parent:
- The child's run stays
running, so no completion is delivered and the parent is never woken. - If the parent's own turn has already ended, which is the normal case for
mode: "async", nothing will ever answer the child. It waits until someone happens to open its thread. - The only way for the parent agent to find out is to poll
task_status, and the parent agent was never told to. - Subagent threads are hidden from the sidebar and the mobile thread list, so the user can't see that a child is waiting either. The parent row keeps showing Working or Waiting.
Steps to reproduce#
- In a V2 thread, ask the agent to call
delegate_taskwithmode: "async",runtimeMode: "approval-required", and a task that runs a shell command. Tell it to end its turn without polling. - The parent's turn ends. The child reaches the command approval and waits.
- The parent stays idle with no notice, and the parent row in the sidebar gives no sign that a child needs approval.
Expected#
When an app-owned delegated child blocks on a request, its parent should hear about it. That means a notice the parent agent can act on (answer a question with t3_pending_request_respond, or tell the user to approve), and a visible "needs you" state on the parent's row.
The child's result should still arrive through the normal completion delivery when it finishes. Stop and task_cancel must still keep a dropped task from starting new parent turns.
Related#
Still reproduces on
0.0.46-nightly.20261004.2644. It isn't limited to Codex: a Grok (ACP) child gets stuck the same way.Setup: a Claude parent in Full access with two async
delegate_taskchildren inapproval-required.Child Task Blocked on Since Codex gpt-6.1-solread-only review ("Do not modify any files") approval for git log --oneline -304:12:33Z Grok grok-4.7review, then fix the bug approval for its file edit 04:12:51Z More than 10 minutes later,
task_statusstill showed both asstatus: running,workState: working, and nothing had reached the parent.One addition to the comment above:
t3_thread_readon a child does reportpendingRequestCount: 1. Until this is fixed, a parent agent can poll for that, even thought3_pending_request_listleaves the approval out.+1 for #13343. Review fan-out, where the parent ends its turn right after delegating, is exactly the case that stalls.
A related case from OpenCode 2 threads (T3 nightly of 2026-10-04, OpenCode 2.0.22), where nothing was waiting on the other side at all:
- Three orchestration threads run by a headless test driver couldn't reach T3's tools (the MCP-name bug since fixed in #16142), so the model asked through OpenCode's
questiontool how to proceed. Each request stayed open until the driver gave up at 2,400 s. - In a full-access thread, an OpenCode subagent asked for
external_directoryread access to/tmp/*. The request sat for 38 minutes until the turn was interrupted.
These weren't delegated children, but they end the same way as the async case in the report: with no one watching, nothing ever answers the request. OpenCode's own web-search consent form gives up after 60 s, while T3's requests have no limit. #13343's notice covers a child with a live parent. For a parent whose turn has ended, or a thread with no parent, a timeout that declines the request with a message the model can see would let the run carry on or end cleanly.
Model: Claude Opus 5.5 (1M). Harness: OpenCode 2 in T3 Code.
- Three orchestration threads run by a headless test driver couldn't reach T3's tools (the MCP-name bug since fixed in #16142), so the model asked through OpenCode's
Another variant, on 0.0.46-preview.20261002.2598 (orchestrator V2, Linux server, web client):
- Parent: Claude (claude-opus-5-5), full-access, delegates an implementation child with
delegate_task, mode"async". - Child: Claude (claude-opus-5-5), full-access. Mid-run it calls
AskUserQuestionwith four options and a recommended one. - Result: the question appears only as a pending question card in the hidden child thread. The parent gets no notice, and
task_statuskeeps reportingstatus: "running",workState: "working". The child is blocked until someone opens its thread. The user found it by chance.
So this also happens without
approval-required: a plainAskUserQuestionin a full-access Claude child.The plumbing to answer works: the parent can call
t3_pending_request_list(child thread),t3_pending_request_readandt3_pending_request_respond, and the child continues.Workaround we use: children don't use the interactive question tool. They send the question to the parent thread with
t3_thread_send(mode"queue") and keep working; the parent answers by steering the child. Ending the child's turn with the question isn't a good workaround, because the parent is not notified when the follow-up turn finishes (#13490), so children also send a short "done" message to the parent thread at the end of each run.- Parent: Claude (claude-opus-5-5), full-access, delegates an implementation child with
Another case, from a setup where one long-running thread coordinates everything (0.0.46 nightly, orchestrator V2, Linux server, web + mobile clients):
- Parent: a Claude Opus thread that I talk to. It splits work into lanes and hands them to Claude and Codex workers, each on its own branch and worktree.
- Workers: some are
delegate_taskchildren. Others are top-level threads the parent creates over the orchestration RPC so I can open and steer them from the sidebar. - What breaks: when a worker stops on a question or an approval, nothing reaches the parent or me. I ended up writing a sidecar that polls
/api/orchestration/threads/{id}/boundedevery 20 seconds for every open worker, detectsneeds_input, and texts me. It works, but it's a second copy of state T3 already has. It's also the only reason the parent-thread pattern is usable at all.
#13343 looks like the right fix for
delegate_taskchildren, and I'd use it immediately. One gap it leaves (by design, from the description): the notice is only for app-owned delegated children. Top-level threads started for orchestration, throught3_thread_launchor the RPC, still never tell anyone they're blocked. If that's out of scope here, I'm glad to describe it in an Ideas discussion instead.One more case, plus a question about the human side of this before I open a PR.
Our case (nightly
0.0.46-nightly.20261006.2735, orchestrator V2, Linux server, web client): a Claude coordinator thread runs a long multi-step job and hands each step to a Claudedelegate_taskchild (mode: "async"). The child callsAskUserQuestion. The question sits on the hidden child thread,task_statuskeeps sayingrunning, and nothing tells the parent or me. It waited 26 minutes once and 5 h 45 min in a later run. Both times someone found it by opening the child's thread.#13343 wakes the parent agent, and #16634 shows the question on the parent's screen. Neither one notifies the person when they're away from that screen. Desktop notifications (
ThreadNotificationCoordinator.tsx) and the T3 Connect push (projectThreadAwarenessV2inpackages/shared/src/agentAwareness.ts) both skip every thread withrelationshipToParent === "subagent". So a delegated child that needs an answer or an approval never produces an "Input needed" or "Approval needed" notification or phone push, even with notifications on.Why this looks unintended to me:
- The skip came in with 5879be6 ("fix(notifications): silence subagent threads", proposed in #12539 from
fix/silence-subagent-completions). Its goal was to stop completion sounds, toasts and relay alerts from subagent activity (#13663). isProviderNativeSubagentThreadarrived later (#13624), and the skips were never narrowed with it.- The rule that makes silence safe covers provider-native subagents only. #13726: "every request a provider-native subagent raises lands in the top-level parent run". And #13727: "only T3
delegate_taskchildren keep [a composer]". A delegated child's request stays on the child, which is the thread that's skipped.
Proposed fix (small): in both places, keep skipping subagent threads for completion and activity, but don't skip the attention phases (
waiting_for_input,waiting_for_approval) when the thread is a delegated child (!isProviderNativeSubagentThread).- Delegated completions stay silent, so #13663's noise doesn't come back.
- Provider-native subagents are unchanged, since their requests already land on the parent.
- The relay tombstone guard from #15016 needs no change.
- Tests: a delegated child with a pending question or approval notifies; a native subagent and a delegated completion stay silent.
It sits alongside #13343 (the parent agent hears about it) and #16634 (the parent shows it): this covers the person. Would a PR of this shape be welcome, or is keeping delegated children silent intended? I'm happy to open it.
- The skip came in with 5879be6 ("fix(notifications): silence subagent threads", proposed in #12539 from
Another reproduction with a Full access Claude Fable 5.1 coordinator and three async Codex
gpt-6.1-solresearch children.Environment:
- Server:
0.0.46-nightly.20261008.2833, Linux x64. - Client: T3 Code desktop app on macOS,
0.0.46-nightly.20261008.2833.
I regularly use orchestration in Full access. I requested delegated exploration without asking for supervised children. The coordinator explicitly launched all three with
mode: "async",interactionMode: "plan", andruntimeMode: "approval-required".The children stalled on command approvals, including ordinary read-only commands such as
git status,rg, and reading source files.The parent thread showed Waiting, and its subagent indicator remained a blue dot. There was no clear indication that my attention was required. I had to open the child threads to discover the approval requests, after approximately 40 minutes without noticing the blockage.
The coordinator did check all three using
task_status, but each returnedstatus: "running"andworkState: "working". It continued telling me it was waiting for research results. After I pointed out the permission blockage, it cancelled and relaunched the children withruntimeMode: "full-access".There are two connected problems:
- The coordinator unexpectedly chose supervised permissions despite the parent being in Full access and no request for supervised children.
- The approval blockage was not surfaced clearly to either the coordinator or me.
This appears directly relevant to #14416 and #13343. For the UI follow-up, pending child command approvals should produce a clear Needs approval state on the parent and an actionable route to the request, including from the thread list.
Prepared with GPT-6.1 Sol in T3 Code, based on the affected parent and child thread histories and the user's report.
- Server:
Another reproduction on Windows, observed on October 9, 2026.
This has happened several times: a subagent stops on a command approval, but no approval request or notification reaches the main thread. I have to open the subagent from the parent thread to discover that it is waiting for permission.
Notifications and sounds for main threads already work on this device, so this is not a case of notifications being disabled globally.
In the latest occurrence, the child showed a Command approval card for a PowerShell 7 command beginning with
git status --shor…, with Decline and Approve buttons. The composer displayed “Resolve this approval request to continue”. This was only visible after manually opening the child.Expected: a pending child command approval should produce a visible, actionable Needs approval state in the parent and notify the user, while ordinary subagent completions can remain silent.
The exact T3 build and the affected child's provider/runtime mode have not been verified. The screenshot was inspected for this report; it is described above rather than uploaded.
Posted with the user's authorization by Codex in T3 Code, based on their repeated observations and screenshot.
Written and posted by an AI agent (GPT-6-Astra through the Codex harness in T3 Code) on behalf of @alex73630, at their request. The first-person account below describes the user's experience; the agent verified the approval timestamps through a read-only inspection of the local database.
I hit this twice today with Orchestrator V2. One subagent waited overnight, and another waited almost two hours before I opened its thread and found the approval request. I thought the work was still progressing in the background. Neither the parent agent nor I received a notice through desktop/OS or mobile notifications.
The local runtime-request records confirm both file-change approval waits on October 9, 2026 (times below are UTC):
- 00:31:51 → 06:07:17: 5 h 35 min waiting for approval.
- 11:28:54 → 13:21:07: 1 h 52 min waiting for approval.
Both were app-owned
delegate_taskchildren using Codexgpt-6.1-solin Auto mode, with a Codexgpt-6-astraparent. Both requests were eventually approved. That is over seven hours of blocked work across two incidents. The timestamps come from a read-only inspection of the local database; the missing notifications are what I observed.For me, resolving this needs all three outcomes:
- Notify the parent agent. When a delegated child needs input, approval, or sign-in, send the parent an actionable notice and wake it if its turn has ended. Include which child is blocked and what it needs.
- Expose the blocked state to the user. Show “Needs input” or “Needs approval” on the parent, including in the thread list on web, desktop, and mobile, with a direct way to open the child's request. The parent should not look like it is just waiting for work to finish.
- Send an actionable desktop/OS notification and mobile push, when enabled, so the user knows attention is required while away from the app. Keep ordinary subagent completions silent; a request that blocks progress needs an alert.
#13343 and #16634 look like progress on the first two parts. Please also prioritize the human notification gap described above. Unattended delegation is difficult to rely on when a request can silently stop work for hours.
Another reproduction, macOS, T3 Code (Alpha) desktop 0.0.34, October 13, 2026.
Setup: a long-running Claude Opus coordinator thread with four async
delegate_taskchildren on Codex (gpt-6-astra), each running for hours.It happened twice in one session. A child asked a question through its user-input tool, and the parent got nothing. The child sat there until I happened to open its thread and saw the question. Completion notifications from the same children reached the parent fine, mid-turn, so it is only the question path that goes silent.
Workaround until a fix lands: the briefs now tell children to decide and log the decision instead of asking, and to end their turn with the question when they are truly blocked, since a finished turn does wake the parent.
Written by claude-opus-5-5 in Claude Code (T3 Code), posted at my request.
Building on this report and #13343, I prepared the remote-child counterpart on #16719's current d79fdd537c head: c3abe87719, branch feat/remote-child-followups.
For autonomous delegation, delegate_task accepts followUpQuestions: "parent". Omitted or "user" preserves handling in the destination thread; ordinary t3_thread_launch stays unchanged. This is a per-task API option, not a new settings UI.
The destination advertises support and can end a bounded MCP wait on pending requests from the selected run. The source records request identity and a notice under the parent lock, deduplicates it across runtime rebuilds, and uses the existing mailbox steering capability check (queueing when safe native steering is unavailable). An idle parent gets a continuation. The task stays running and its final result arrives separately.
Two task-scoped tools let the owning parent read and answer the question: task_question_read(taskId, requestId) and task_question_respond(taskId, requestId, answers). They reuse the destination's pending-question handlers and current peer grant/mode checks. Another parent's task, an unreported/wrong-run request, a disposed task or an already-resolved question cannot supply a valid answer target. Approval/sign-in notices tell the parent to hand off to the user; these tools cannot approve permissions or sign in. Stop/cancel disposes queued notices and prevents later requests from waking that task's parent.
This follows #13343's request notices and disposal barriers while adding server-peer transport and explicit handling choice. #16634 supplies the related local human UI, and Home #15975 has useful attention/request semantics, without transferring Home's fleet-wide authority. It does not reopen completed tasks or solve later-turn delivery from #13490.
Validation: 57 focused tests in six files pass, plus formatting, targeted lint and strict scoped server/Effect types. A combined checkout with my separately offered launch-recovery bfef035876 and failed-run diagnostics 4a3229a9ac passes 128 tests in seven files and scoped types. Its two launch-flow conflicts were resolved by retaining record-first recovery and persisting the handling policy on the pending child. Original terminal-only wait behavior fails the saved pending-question regression.
Evidence is one-host source SQLite/orchestration with real loopback HTTP/MCP/OAuth and modeled destination thread/provider. It is not actual provider execution, OS-process restart, physical-host or real Connect acceptance; those limits remain explicit. Lint has one unchanged baseline warning in the independent patch.
I am offering the concrete fork commit for direction and routing, rather than assuming approval for new behavior or a PR base in the stack. Would this opt-in remote scope fit the intended #15082/#13343 direction, and which base should a contribution target?
Written with GPT-6.1-Sol (high reasoning) through Codex in T3 Code, on behalf of Lenoridev.
Note
Claude Opus 5.5 responding on behalf of @snnbotchway.
One more case:
task_statuscan say the task is done while a child question is still waiting.- A parent agent started a Codex child (
gpt-6.1-sol) withdelegate_task, modeasync. - The child asked a question with Codex's own ask-user tool, and then its turn ended.
task_statusreportedstatus: completedandworkState: result_available. The summary only said that approval was needed.- The parent got no wake for the question. It found the question only with
t3_pending_request_liston the child thread, after the user saw it in the UI. t3_pending_request_respondaccepted the answer, so the question was still live, not a stale leftover.
So in this case the task looks finished, not
running. A parent that truststask_statuswill move on and never answer. This looks related to #16603, where a task reportscompletedwhile its child still runs a command.- A parent agent started a Codex child (
A terminal child run could make my remote follow-up offer complete its task while a question was still live. The source skipped terminal-run requests; the destination also treated an already-reported live request as settled.
Fixed in 40ffa3204f, on the same fork branch. With
followUpQuestions: "parent", the source reports the request and keeps the task open and answerable until it resolves. Request IDs still suppress duplicate notices. Both linked environments need the correction. Default handling and human-only approval/sign-in authority are unchanged; completion remains pinned to the delegated run.The old code fails five destination readiness cases and the source completion-versus-notice regression. The fix passes 48 focused tests and 77 combined tests with the separate recovery and diagnostics patches, plus targeted formatting/lint and scoped strict/Effect types. Evidence uses source SQLite, loopback HTTP/MCP/OAuth, and a modeled destination/provider. Real-provider resume and two-host acceptance remain unverified. This corrects the remote fork offer; it does not change the local implementation in #13343.
Written with GPT-6.1-Sol (high reasoning) through Codex CLI, on behalf of Lenoridev.
Note
Grok responding on behalf of Julius.
The question half of this report is fixed on main by #19521 (parent wake when a delegated child's
user_inputopens) and #19538 (blocking wait returns the question). Approvals and sign-in are explicitly out of scope for those PRs, so leaving this open for that remaining work. Superseded open fix #13343 was closed.Prepared a focused local fix for the remaining approval-notice behavior. When an app-owned delegated child opens a command, file, permission or MCP elicitation approval, its parent receives a notice telling it to ask the user to handle the request in the linked child thread. The agent is not granted approval authority.
The patch extends the merged #19521 reactor instead of adding another watcher. It retains per-request deduplication, withdraws resolved queued notices, and fences late notices/cancels queued notices when Stop or task disposal wins. The task stays running and its eventual result uses normal completion delivery.
Fork commit: 8b0623408e, based on main
339179f50a. The three new event-backed scenarios fail on unchanged main and pass with this patch. 46 focused tests pass across request notices, delegated completion delivery and Stop, plus the scoped repository TypeScript/Effect check and formatting. Targeted lint has only an unchangedlayerUnavailablewarning. Tests use real source SQLite/orchestration and domain events; no real-provider or client acceptance is claimed.This is the first slice, not a claim that #15082 is fully fixed. Approval requests still do not end a blocking delegate_task wait; their notices arrive when that parent run ends. Early-return metadata and parent attention indicators remain separate work. Provider sign-in also needs a concrete reproduction: main explicitly treats auth_refresh as an internal refresh, not a human-blocking request, so this patch excludes it. No remote delegation changes are included.
Written with GPT-6.1-Sol at high reasoning effort through Codex in T3 Code, on behalf of Lenoridev.
The remote-question part of my earlier offer is now tracked separately in Ideas discussion #20918, as an opt-in feature for remotely delegated children. This keeps it separate from this issue's remaining approval/sign-in fixes; my local approval-notice offer above is unchanged.
Written with GPT-6.1-Sol through the Codex harness in T3 Code.
Reproduced a separate sign-in limitation: a delegated Codex child can issue a URL-based MCP elicitation request, but T3 declines it before creating a pending request for the user.
Tested on main
34c5a6d4461ff7be2c1a059c3c51c3496c1e14df, with Codex CLI 0.163.0 andgpt-6.1-solat low reasoning effort, using an isolated T3 server and provider home.Reproduction:
- An actual Codex parent calls T3
delegate_taskonce withmode: "async", then ends its turn. - Its actual Codex child calls a controlled local MCP tool once.
- During that call, the MCP server sends
elicitation/createwithmode: "url", a sign-in message, anelicitationIdand an example sign-in URL. Codex advertises URL elicitation support and forwards the request to T3.
The fixture received
{"action":"decline"}about 1.2 ms later. Neither thread had a persisted runtime request. The child reported the decline and completed; the idle parent received its normal completion wake.This matches the tested source:
toMcpElicitationResponsereturns decline for URL mode, and the adapter returns that decline before constructing a pending approval.This establishes unsupported URL sign-in requests in that Codex path. It does not reproduce the silently paused child described here. The MCP fixture performs no real OAuth exchange and deliberately returns a tool error after the decline; that error is fixture behavior. No browser login or other provider was exercised. This finding is separate from the approval notices in #20928 and blocking waits in #20037.
Written with GPT-6.1 Sol through Codex in T3 Code, on behalf of Lenoridev.
- An actual Codex parent calls T3
@saphid, did you directly observe a delegated child pausing for sign-in, or was sign-in included as another potentially affected request type? The issue mentions it, while the detailed reproduction and #13343's real-client evidence concern command approvals.
The URL-request experiment ended with an immediate decline and normal parent completion, so we still need the flow that leaves a live child waiting. If you observed that case, could you share:
- The child provider, integration/MCP server or service, T3/provider versions and platform.
- The task or tool action that triggered sign-in after the child had started, and what appeared in the child thread: a T3 request card, a provider prompt or a browser sign-in link.
- Any redacted request/event details or exact card text, and whether completing sign-in let the same child resume.
That would help identify the missing reproduction and distinguish the sign-in case from the approval-notice fixes. If the original occurrence is no longer reproducible, identifying the integration and approximate version would still help.
Written with GPT-6.1 Sol through Codex in T3 Code, on behalf of Lenoridev.
Another reproduction on 0.0.46-nightly.20261008.2819 (Linux, V2):
- A Claude parent launched two read-only consultants with
delegate_taskinmode: "async": a Codex child and a Claude child, each explicitlyruntimeMode: "approval-required",interactionMode: "default". The parent then ended its turn. This was at about 16:13Z. - Each child's first operation, reading a brief file, stopped on an approval: a shell-command approval in the Codex child, and a file-read approval in the Claude child.
- At 20:19Z,
task_statuson the children still returnedstatus: running,workState: working, 4 h 06 min later. The parent was never woken; the stall was found only when the user asked for a status. - Relaunching the same briefs as
full-access+interactionMode: "plan"finished in 16 s (Codex) and 39 s (Claude). The approval wait accounts for the delay; inference was not slow. - At about 20:20Z, a different parent in another project launched reviewer delegates the same way, and they blocked on approvals too. Their owning agent cancelled them at about 20:29Z and relaunched read-capable reviewers.
This reproduction used
mode: "async", so the parent-notice path (#20928) is the one that applies. #20037 covers the separate case of a blockingmode: "wait"call.- A Claude parent launched two read-only consultants with
A small addition for parents that poll rather than wait: while a delegated child is blocked on an approval,
task_statuscould report a distinctworkState(e.g.waiting_for_approval, with the request kind and the child thread) instead ofworking. In the reproduction above,task_statuswas the only signal the parent had, and it readworkingfor four hours. This would complement #20928 (parent notice) and #20037 (blocking waits) without adding a new tool. Agent pending-request tools could stay limited to questions.Note
🤖 Claude Opus 5.5 responding on behalf of Theo
Thanks for the report. One part of this is fixed on main in #19521, #19630, #19538, #16634 and #20037. Please test on the nightly built from main on 2026-10-21, or on the next stable release. One part is still open: parent-agent notification for approvals and sign-in requests. If that part still matters to you, please open a new issue for that part only.
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
Another case of this, with Codex computer use in
delegate_taskchildren (nightly0.0.46-nightly.20261003.2623, orchestrator V2).Setup: a Claude parent in
autoruns several async Codex children. Each child builds and launches the macOS app under its own bundle ID (com.example.app.<lane>), so they can run side by side.What happens: each child's first computer-use action raises an
mcp-elicitationfrom thecua_replserver ("Allow Computer Use to use ""?"). It lands on the hidden child thread. The parent isn't woken and gets no OS notification, so each request waited until I happened to open the child: 5, 8, 12, 18 and 37 minutes. Choosing "Always allow" only covers that one bundle ID, so every new lane asks again.Details that might help whoever picks this up:
mcpServer/elicitation/requesthandler always forwards to the user.auto/full-accessonly changeapprovalPolicy/approvalsReviewerfor commands and patches, so the runtime mode can't keep these from blocking.if (t.lineage.relationshipToParent === 'subagent') continue;), so the request never surfaces anywhere outside the child thread.t3_pending_request_listleaves out approvals,t3_pending_request_respondcan't approve, andtask_statushas no waiting-for-approval state.#13343 would get the parent woken, which helps. Since approvals still need a human, the client follow-up matters as much: an "Approval needed" notification and a "needs you" state on the parent row when a child is blocked. For now I've added an instruction telling children to end their task with
NEEDS_APPROVAL: <app>instead of triggering the prompt, so the parent wakes on completion.