Skip to content

Compact finishes and only compacts to 25% left #13909

Open

Description

@bigshiny90

What version of Codex CLI is running?

0.111.0

What subscription do you have?

pro

Which model were you using?

gpt-5.4 high

What platform is your computer?

Darwin 25.2.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

Ghostty

What issue are you seeing?

using Compact or autocompaction at 17% context left, only compact to 25% context left.

same in Codex app.

What steps can reproduce the bug?

pretty self-obvious

What is the expected behavior?

actually compact so that we have freed up our context window

Additional information

might be related to #13946 - specifically Finding 2: Mid-turn compaction infinite loop

Activity

  1. added
    contextIssues related to context management (including compaction)
    on Mar 23, 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

    bugSomething isn't workingcontextIssues related to context management (including compaction)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions