{"version":"2.1.327","anchor":"auto-compact-window-raised-for-fixed-load","canonical_anchor":"auto-compact-window-raised-for-fixed-load","heading":"Auto-compact window can now be raised to fit what loads with every request","tier":"notice","area":"Compaction","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/auto-compact-window-raised-for-fixed-load","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Auto-compact window can now be raised to fit what loads with every request\n\nClaude 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\n\n**Unclear.** It is not clear whether the automatic raise happens by default or only when switched on.\n\n**What**\n\nAuto-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.\n\n- When the window is raised, a notice appears: \"Raised this conversation's auto-compact window from\" followed by the old and new token counts.\n\n- 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.\n\n- 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.\n\n- 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.\n\n- 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.\n\n**Why**\n\nIf 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.\n\n- Area: Compaction\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}