You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CompactionArea: what it touches
Bug FixesKind: in v2.1.329,
Bug FixesSection of the release
What
Environment 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.
If 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.
Why
Removing the override from your settings takes effect in the running session, without a restart.