{"version":"2.1.329","anchor":"settings-sourced-claude-autocompact-pct-override-is-put-back","canonical_anchor":"settings-sourced-claude-autocompact-pct-override-is-put-back","heading":"Removing CLAUDE_AUTOCOMPACT_PCT_OVERRIDE from settings now takes effect without restart","tier":"notice","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/settings-sourced-claude-autocompact-pct-override-is-put-back","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Removing CLAUDE_AUTOCOMPACT_PCT_OVERRIDE from settings now takes effect without restart\n\nWhen no settings file still sets `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE`, Claude Code puts back its startup value or clears it\n\n**What**\n\nEnvironment variables are named values that change how a program behaves. Your settings files can set them. `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE` sets how full the context window must be before Claude Code shrinks the conversation automatically. The context window is the amount of text the model can take in at once.\n\nIf you set this variable in a settings file and later remove it, Claude Code now notices. When no settings source still sets the current value, the variable goes back to the value it had when Claude Code started. If it had none, it is removed. Telemetry variables already worked this way.\n\n**Why**\n\nRemoving the override from your settings takes effect in the running session, without a restart.\n\n- Area: Compaction\n- Names: `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}