Auto-compact window can now be raised to fit what loads with every request
Claude Code can raise a conversation's auto-compact window when every request carries a heavy fixed load, and the CLAUDE_CODE_AUTO_COMPACT_WINDOW maximum warning is gone
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
ContextArea: what it touches
Internal ChangesKind: in v2.1.327,
ImprovementsSection of the release
Unclear It is not clear what causes the window to be raised, or whether the note is shown anywhere a reader can see it.
What
Auto-compact is when Claude Code summarises older parts of a conversation to free up room. The auto-compact window is how large the conversation may grow, in tokens (the small chunks of text the model counts), before that happens. Claude Code can now raise this window for a conversation when the fixed load sent with every request is large. That fixed load includes things like tool and MCP server definitions.
When the window is raised, a notice appears: "Raised this conversation's auto-compact window from" followed by the old and new token counts.
The context usage view now adds an Auto-compact window line saying it was raised from one size to another in this conversation "to fit what loads with every request". The line appears only when the window was raised.
The context data and the session status gain an optional loadRaise field with fromWindow and toWindow. It is present while the window is raised above the base window.
The warning for an invalid CLAUDE_CODE_AUTO_COMPACT_WINDOW no longer has an upper limit case. It now reads "Set it to a size of at least ..." instead of asking for a size between a minimum and a maximum. The maximum-window check when reading the value was dropped, and the limit now uses the larger, raised window.
The auto-compact window slider now works out its stops from the model's context window and the configured value. The slider is wider, its left and right arrows highlight on hover and respond to clicks, and the tab headers are padded and aligned.
Why
If many tools or MCP servers load with every request, a small auto-compact window can leave little room for the conversation itself. Raising the window means compaction may start later in those sessions. Check the context usage view to see whether this has happened in your conversation.
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 what causes the window to be raised, or whether the note is shown anywhere a reader can see it.