Sub-agents disappear when compacting context
Resolved 💬 3 comments Opened Mar 17, 2026 by danizion Closed Mar 19, 2026
What version of the Codex App are you using (From “About Codex” dialog)?
26.313.41514 (1043)
What subscription do you have?
enteprise
What platform is your computer?
macos
What issue are you seeing?
When spawning sub agents we can see the sub agent as a subset of the thread, but when automatic context compaction is done the subagents disappear.
What steps can reproduce the bug?
- create two subagents
- fill in the context until automatic compact
- the two subagents will disappear
What is the expected behavior?
the whole thread subagents should be present not only the subagents that were creating after context compaction
Additional information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗