Closed subagent remains visible in Subagents panel
Resolved 💬 2 comments Opened May 27, 2026 by omarpinarecords Closed May 27, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Summary
A subagent that was closed through Codex still remained visible in the Subagents panel.
Observed behavior
After requesting the subagent be closed, the UI still showed the subagent entry:
- Name: Kuhn
- Role: explorer
- Panel: Subagents
A follow-up close call returned a pending_init-style previous status, but the UI still appeared to show the subagent as present.
Expected behavior
When a subagent is closed, the Subagents panel should either remove it, mark it clearly as closed, or refresh to show the correct state.
Why this matters
Users may think a subagent is still running or consuming resources after it has been closed. This is especially confusing when using subagents for verification or sandbox testing.
Repro outline
- Spawn a subagent from a Codex thread.
- Wait for or receive its completed result.
- Close the subagent.
- Check the Subagents panel.
- The closed subagent may still appear as active/listed.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Closing as duplicate of #23930. The current datapoint has been added there so the report stays consolidated.