Auto compact on /goal before work if new turn begins with mostly full context window
Open 💬 0 comments Opened Aug 1, 2026 by Decme
What variant of Codex are you using?
Windows desktop app
What feature would you like to see?
Currently with /goal what happens often is a new turn will begin when the context window has between 10% to 20% left, it then spends a lot of effort thinking, and halfway through the thinking it auto compacts, wasting all that thinking effort.
Changing the auto compact value isn't suitable in this case because: for example if you're nearing the end of a turn in /goal you don't want it to trigger an auto compact early, you want that auto compact to happen between turns, not mid-turn.
Additional information
_No response_