Unclear What the messages and messages_and_replies modes do is not known.
What
Claude Code has a new setting that chooses a mode called messages or messages_and_replies. It is read first from the environment variable CLAUDE_CODE_ELEGANT_MIST. An environment variable is a named value given to Claude Code from outside it, usually from your shell. If that is not set, the value comes from a remotely controlled flag, tengu_elegant_mist, whose built-in default is off.
CLAUDE_CODE_ELEGANT_MISTandtengu_elegant_mistonly take effect with the valuesmessagesormessages_and_replies. Any other value, including the defaultoff, means no mode is chosen.CLAUDE_CODE_ELEGANT_MISTis also added to the lists of environment variables that are passed on to the programs Claude Code starts.- Compaction summaries now record the prompts you sent that have not been answered yet, along with your recent prompts. Compaction is when Claude Code shortens a long conversation into a summary to make room. The unanswered prompts are stored as
unansweredPromptsin the data saved at the start of a turn, and also in a second summary field.
No reading has been taken of the tengu_elegant_mist flag, so it is not known who it is turned on for. What the mode does after it is chosen was not traced.
Why
With the default value, nothing changes. Setting CLAUDE_CODE_ELEGANT_MIST yourself is the only way to try the mode directly. The new record of unanswered prompts means requests you made but that were not yet answered can be kept in the summary when a conversation is compacted.
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.331: 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.331. It isn't a statement about your account. What a flag value here can and cannot tell you
What the messages and messages_and_replies modes do is not known.