Skip to content

Sub-agents disappear when compacting context #14982

Closed

Description

@danizion

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

Activity

  1. added
    appIssues related to the Codex desktop app
    on Mar 17, 2026
  2. github-actions commented on Mar 17, 2026

    @github-actions
    Contributor
  3. jif-oai commented on Mar 18, 2026

    @jif-oai
    Contributor

    Known issue. I have a pre-fix. Fix will land soon

  4. jif-oai commented on Mar 19, 2026

    @jif-oai
    Contributor

    This should be resolved in the next release

  5. added
    subagentIssues involving subagents or multi-agent features
    and removed
    agentIssues related to the core agent loop
    on Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appsubagentIssues involving subagents or multi-agent features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions