Compact finishes and only compacts to 25% left

Open 💬 0 comments Opened Mar 7, 2026 by 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

View original on GitHub ↗