What
Compaction is when Claude Code summarises a long conversation to make room. Idle compaction does this while the session (your open conversation with Claude Code) is sitting idle. There are two new controls:
idleCompactionis a new setting. Set it to false to stop Claude Code compacting a long conversation while the session is idle. It defaults to true. Setting it to true does not turn idle compaction on. When it is false, the eligibility check stops early withidle_compaction_off.CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENSis a new environment variable (a setting passed to Claude Code from your shell). It replaces theminTokensvalue from thetengu_sunny_locketremote config, cannot go below a minimum, and is listed among the compaction-related environment variables.
Whether idle compaction runs at all still comes only from tengu_sunny_locket. Its mode must be "log" or "compact", and without a value from the server the mode is "off".
Why
You can now refuse background compaction of an idle conversation, or change how large a conversation must be before idle compaction is considered. Neither control can turn idle compaction on where the server has not enabled it.
tengu_sunny_locket Not enough to sayNothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.290: not a boolean we can read
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.
Read once, for one account on one subscription tier, against v2.1.290. It isn't a statement about your account. What a flag value here can and cannot tell you
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.
A reading is one sample. Claude Code evaluates its flags remotely, so no client sees the targeting rule behind a value and this says nothing about your account.