You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release
Unclear It is not clear which accounts get the lower auto window and so would see this notice.
What
Auto-compact is when Claude Code shortens the conversation once the context window (how much text the model can hold at once) gets full enough. /autocompact sets how full that is. New fields prepare for telling you that auto now means a lower window.
The session state shared with programs built on the SDK gains autoWindow and autoWindowAnnouncement. These let an app show a one-time notice that auto is a lower window, with choices such as /autocompact auto all and /autocompact keep all.
The calculation behind context usage can take a new showsWindowAhead option. When it is set, it works out a window from an experiment, reports autocompactSource as "experiment", and adds an autoWindow field to the result. Which parts of Claude Code turn this option on was not checked.
Why
If you leave /autocompact on auto, compaction may start earlier than you are used to on some accounts. The notice is meant to let you choose between the new auto window and keeping what you had.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which accounts get the lower auto window and so would see this notice.
Anthropic's release notes agreeAdded an Auto-compact window row to /config to see and change the size that /autocompact sets