Sub-agents disappear when compacting context
Resolved 💬 3 comments Opened Mar 17, 2026 by danizion Closed Mar 19, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
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_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Known issue. I have a pre-fix. Fix will land soon
This should be resolved in the next release