Codex Desktop: automated agent/subagent runs each get a sidebar entry with no way to group or hide them
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 42/100
Research direction
Start by reproducing a multi-agent Codex CLI task on macOS and inspect how its companion-task runs appear in the desktop sidebar. No implementation files or tests are named; done means automated agent and subagent runs are grouped, hidden, or filterable without removing access to them.
Written by the indexing model from the issue text.
Description
Edited after duplicate triage. This issue originally also covered CLI sessions being misfiled into the ChatGPT workspace, and coarse-grained ChatGPT/Codex history separation. Those are already tracked in #33910 and #33087 respectively, so I have removed them here and reacted to both. What remains is the part neither issue covers: automated agent and subagent runs as a distinct session class.
What version of the Codex App are you using (From "About Codex" dialog)?
26.715.21425 (build 5488) — the unified ChatGPT desktop app for macOS (Chat + Work + Codex)
What subscription do you have?
ChatGPT Pro
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
Automated agent and subagent runs spawned by a Codex CLI task each get their own entry in the desktop app's sidebar, indistinguishable from sessions a person actually opened. A single CLI task that fans out to subagents can produce a dozen or more entries — in my case a long run of "Codex Companion Task" rows — none of which I started interactively or would ever want to reopen.
These are byproducts of one task, not conversations. But the sidebar treats them as peers of real sessions, so the more agent work you run, the harder your own sessions become to find. There is currently no way to collapse, group, hide, or filter them.
This is distinct from the two related issues already open:
- #33910 covers CLI sessions being routed to the wrong workspace (a misfiling bug).
- #33087 covers separating ChatGPT history from Codex history (a two-way split).
Neither addresses automated agent/subagent runs, which are a third class: machine-generated, high-volume, and rarely worth surfacing individually even when you are working entirely inside Codex. Fixing #33910 and #33087 would still leave the Codex sidebar full of companion-task rows.
What steps can reproduce the bug?
- Run a Codex CLI task that spawns subagents or companion tasks (any multi-agent run reproduces this quickly).
- Open the unified ChatGPT desktop app on macOS.
- Look at the sidebar.
Observed: one entry per agent/subagent run, listed alongside sessions that were opened by hand, with nothing distinguishing the two.
What is the expected behavior?
Treat automated agent/subagent runs as their own session class and give them somewhere to live that is not the main list. Any of these would resolve it:
- Collapse the runs belonging to one parent task under that task, expandable on demand — this seems like the most natural fit, since they already have a parent-child relationship.
- Hide them from the sidebar by default, with a toggle or filter to show them.
- Mark them with a per-row origin indicator so they can at least be visually skipped, with filtering as a follow-up.
Grouping under the parent task would be the highest-value version, because it preserves access — the runs remain reachable when debugging a task — while removing them from the flat list.
Additional information
The app already distinguishes session origins internally (that is what the workspace routing in #33910 depends on), so this reads as a presentation and filtering affordance rather than new infrastructure.
Related: #33123 requests an unread-only sidebar filter. An origin-based filter would compose well with it.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·