Main agent not receiving subagent completion signal (collab multi-agent interrupted), requires manual query to continue
What version of Codex is running?
0.87.0
What subscription do you have?
plus
Which model were you using?
gpt-5.2-codex
What platform is your computer?
Darwin 25.2.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
ghostty
What issue are you seeing?
When using Codex's collab (multi-agent) feature, the main agent is not receiving completion signals from subagents when waiting for them to finish. As a result, the main agent remains stuck in a waiting state and requires manual query or inquiry commands to continue.
The issue manifests as follows:
- Subagent completes execution, but main agent remains in waiting state
- No clear "completion" event or signal appears in CLI/logs
- Task is blocked, requiring manual intervention
What steps can reproduce the bug?
-
Enable collab feature in project directory:
codex features list # Verify collab=true -
Initiate a multi-agent task:
- Main agent instructs creation of two subagents (A: analyze problem logic, B: execute code operations)
- Subagent A returns completion result
- Main agent does not immediately receive completion signal and proceed to next step
- Main agent stays in waiting state with no progress or timeout message
-
Attempt to continue execution:
- Need to manually send status/query subagent status commands to allow main agent to continue
What is the expected behavior?
When subagent finishes execution, main agent should:
- Receive a clear completion signal
- Continue with the subsequent workflow automatically
- Provide clear progress messages or timeout information if signal is delayed
If timeout or signal loss occurs, there should be:
- A configurable timeout/retry mechanism
- Clear error messages indicating the issue
- Options for manual signal acknowledgment or retry
Additional information
No response
A few questions:
- How do you know the sub-agent was done?
- Can you share the main session with
/feedbackand sending us the session ID? - Do you have a stable reproduction? I can't repro with what you mention Thanks :)
@aurexav same questions as above then
@aurexav same questions as above then
- I followed the document and created a notify.py script. This script sends a desktop notification once the subagent completes its task but the main agent remains stalled. Once I’ve notified the main agent via chat, it begins checking the subagent’s status which is already complete.
- Will try it tomorrow.
I can no longer reproduce this issue in version 0.88.0
This feature is still early stage, we are shipping updates at each version but it's very important to get feedback so thanks for this! Keep me posted if you spot anything else
Also, https://x.com/llmjunky/status/2014450361885495350?s=46
Polling-based architectures avoid missed signals entirely. Our setup: IDE Agent Kit rooms watch polls for new messages every 2 minutes and writes them to a file. Claude Code reads the file via a hook. There is no completion signal to miss because the orchestrator checks on a schedule, not in response to an event.
The downside is latency. The upside is that it never gets stuck. If an agent finishes while the orchestrator is busy, the result sits in the room until the next poll. No race conditions, no lost signals, no manual intervention to unstick things.