codex - 💡(How to fix) Fix Closed subagent remains visible in Subagents panel

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

A subagent that was closed through Codex still remained visible in the Subagents panel.

Error Message

After requesting the subagent be closed, the UI still showed the subagent entry:

Root Cause

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.

RAW_BUFFERClick to expand / collapse

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

  1. Spawn a subagent from a Codex thread.
  2. Wait for or receive its completed result.
  3. Close the subagent.
  4. Check the Subagents panel.
  5. The closed subagent may still appear as active/listed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

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.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Closed subagent remains visible in Subagents panel