[Bug] Auto-compact window defaults to 500k tokens without user configuration
Open 💬 0 comments Opened Jun 30, 2026 by mbelot007
Bug Description
BUG: v2.1.196 configures a setting Auto-compact window: auto (500k tokens) causing the usable context window to only 500k without user knowledge or acknowledgement. Must set CLAUDE_CODE_AUTO_COMPACT_WINDOW=1000000 to enable to full usage of the 1M context window.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.196
- Feedback ID: 1a03a61f-4595-4c05-a1b6-c1491885aa86
Errors
[]