Compaction is how Claude Code shortens a long conversation so that it fits in the space the model can read at once. One setting chooses what compaction keeps. It already accepted messages and messages_and_replies. It now also accepts a third value, messages_and_reply_ends.
In this mode, Claude Code keeps only the end of each long reply that Claude wrote earlier. The cut is shown by a mark that the compaction adds, and a note explaining this goes in with the compacted conversation.
You choose the mode with the CLAUDE_CODE_ELEGANT_MIST environment variable. If the variable is not set, a value sent by Anthropic's server is used instead. When the server sends nothing, the mode is off, so nothing changes unless the variable or the server picks a mode.
This mode changes which of Claude's own earlier replies are still there after a compaction. With long replies cut down to their endings, Claude may no longer see the opening parts of what it wrote before.
tengu_elegant_mist 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.336: 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.336. It isn't a statement about your account. What a flag value here can and cannot tell you