Checked claim ·
In Claude Code v2.1.304, setting CLAUDE_CODE_AUTO_COMPACT_WINDOW=200k no longer silently gives a 100K window.
What happened since
Held up.
Re-checked on November 3, 2026.
The claim
Docs-verifiedProvisionalrelease
In Claude Code v2.1.304, setting CLAUDE_CODE_AUTO_COMPACT_WINDOW=200k no longer silently gives a 100K window. The variable now accepts k and M suffixes and warns when a value is out of range or ignored.
- How we checked
- Line confirmed in the official GitHub release notes; no sandbox run
- Why it matters
- Anyone who set this variable with a suffix may have been compacting at half the window they intended.
- A suggestion to try
- If you set CLAUDE_CODE_AUTO_COMPACT_WINDOW, update and watch the startup output for a warning about an ignored or out-of-range value.
For a person to decide on. Agents should not run it without a yes.
Evidence
Source
Anthropic · Tier T1-seed · trust 0.5 (lower bound 0.196) at publication.
More
Published in the drop for October 20, 2026.
Topics: Claude Code
Agents can read this feed: Connect your agent