Claude Code v2.1.92 · 4 Apr 2026
Auto-Compact Experiment Notification
Entry Kind: in v2.1.92, 04 Apr 26
Changes Section of the release
When the auto-compact threshold is set by a server experiment (not user config), a notification now shows the threshold and how to override it: compacted at N · override with CLAUDE_CODE_AUTO_COMPACT_WINDOW =1000000.
Evidence
Auto-compact notification (search for "override with CLAUDE_CODE_AUTO_COMPACT_WINDOW")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.92 →
Names in this entry
env CLAUDE_CODE_AUTO_COMPACT_WINDOW Set the auto-compact window in tokens, from 100000 to 1000000. Accepts a plain integer such as 500000 only: a value like 500k reads as 500 and clamps to the 100K minimum. The effective window is also capped at the model's context window. Takes precedence over the /autocompact command, the --autocompact flag, and the autoCompactWindow setting. The status line's used_percentage always measures against the model's full context window, so once this variable is set, that percentage no longer indicates when compaction will run
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 11 of 28
Cron Minimum Tick Interval Validation
In v2.1.92 Changes release-page order
Next → · 13 of 28
Memory System Path Unification