Skip to content

Auto-Compaction Indicator at start of turn #9773

@robertmsale

Description

@robertmsale

What feature would you like to see?

When Codex-CLI decides it is time to auto-compact, having an indicator of some kind would be helpful.

Additional information

Sometimes during a session I will have something like 25% context left (so I'm not expecting auto-compaction at that moment), and after submitting a prompt, if Codex determines it is time to auto-compact before --- Working for appears (presumably when the first SSE event happens), it looks like the CLI is frozen. I panic and go "did I break something?" Close the CLI, reopen, resume chat, submit prompt again, and it's frozen again. If I wait long enough, after a few minutes it says "Context Compacted" and then --- Working for appears. Auto-compaction mid-turn is fine because the UI shows activity happening, but when it happens at the beginning of the turn it's not obvious and that's pretty much the enhancement I'm asking for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions