Closed subagent remains visible in Subagents panel
Resolved 💬 2 comments Opened May 27, 2026 by omarpinarecords Closed May 27, 2026
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.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗