{"version":"2.1.337","anchor":"auto-compact-beside-turn-can-run-when-auto-compact-is-off","canonical_anchor":"auto-compact-beside-turn-can-run-when-auto-compact-is-off","heading":"Background compaction can now run in some cases when auto-compact is off","tier":"notice","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/auto-compact-beside-turn-can-run-when-auto-compact-is-off","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Background compaction can now run in some cases when auto-compact is off\n\nClaude Code's background compaction check can now go ahead in certain conditions even when automatic compaction is turned off\n\n**Unclear.** The full set of conditions that let this run with compaction off is not known.\n\n**What**\n\nCompaction is how Claude Code shortens a long conversation so it fits in what the model can take in at once. Claude Code can prepare a compaction in the background while a turn is running. That step used to stop whenever compaction was set to none. It now goes ahead anyway when a set of conditions holds. Those include:\n\n- `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE` is not set\n\n- a check on which kind of app is running Claude Code, involving `claude-desktop-3p`\n\n**Why**\n\nCompaction may start in cases where it never did before, even with automatic compaction turned off.\n\n- Area: Compaction\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}