Before submitting
Area
apps/server
Steps to reproduce
- Parent calls delegate_task (async). The child finishes and the parent is woken as expected.
- Parent sends the same child more work with t3_thread_send.
- The child finishes that follow-up turn.
Expected behavior
The parent is woken for the follow-up result, the same as for the first one.
Actual behavior
The parent is never woken. The result only shows up if the parent polls task_status (latestTerminal*).
It looks like finalizeAppOwnedSubagent returns early once the child has already delivered one result, so every later turn is skipped:
|
const existingResultTransfer = parentProjection.contextTransfers.find( |
|
(transfer) => |
|
transfer.type === "subagent_result" && |
|
transfer.sourceThreadId === childThreadId && |
|
transfer.targetThreadId === parentThreadId, |
|
); |
|
if (existingResultTransfer !== undefined) { |
|
return; |
This is on the V2 branch (#2829), not main. It's different from #12285 / #13338: it happens with just one child, and #13338 doesn't change this check.
Impact
Major degradation or frequent failure
Version or commit
0.0.43-preview.20260923.2138 (Linux). Mac:
Environment
Linux (self-hosted server) and macOS. Claude and Codex providers.
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
Start a new delegate_task for each follow-up instead of using t3_thread_send, or have the parent poll task_status.
Before submitting
Area
apps/server
Steps to reproduce
Expected behavior
The parent is woken for the follow-up result, the same as for the first one.
Actual behavior
The parent is never woken. The result only shows up if the parent polls task_status (latestTerminal*).
It looks like finalizeAppOwnedSubagent returns early once the child has already delivered one result, so every later turn is skipped:
t3code/apps/server/src/orchestration-v2/Orchestrator.ts
Lines 8168 to 8175 in 5239fe0
This is on the V2 branch (#2829), not main. It's different from #12285 / #13338: it happens with just one child, and #13338 doesn't change this check.
Impact
Major degradation or frequent failure
Version or commit
0.0.43-preview.20260923.2138 (Linux). Mac:
Environment
Linux (self-hosted server) and macOS. Claude and Codex providers.
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
Start a new delegate_task for each follow-up instead of using t3_thread_send, or have the parent poll task_status.