Autocompact won't turn off

Resolved 💬 3 comments Opened Jan 17, 2026 by pauldonnan Closed Jan 17, 2026

What version of Codex is running?

codex-cli 0.87.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.2-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

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

Terminal.app

What issue are you seeing?

Autocompact turned off at command line (codex -- --autocompact:off) (also tried various approaches in toml), TUI confirms it's off, still auto-compacts with no warning at about 50% context usage. I'm managing the context myself to avoid the abundance of issues caused by auto-compaction. Please fix this urgently. Absolute joke having big context windows without this "feature" being toggle-able.

What steps can reproduce the bug?

Uploaded thread: 019bc7c9-9538-7a93-a4f2- 00ae1e38ef27

What is the expected behavior?

Auto-compact OFF

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗