Unclear It is not clear how the loaded messages are rewritten or what the further check requires.
What
CLAUDE_CODE_SIDE_CHAT is a new environment variable. An environment variable is a named setting a program reads when it starts. --print runs Claude Code without its interactive screen and prints the answer.
When Claude Code resumes a session in --print mode, it now rewrites the loaded messages before it continues if either of these holds and a further internal check passes:
- the session is a fork, meaning a copy branched off another session
CLAUDE_CODE_SIDE_CHATis set
Why
The variable looks like the start of a side-chat feature. Nothing in the interface uses it yet.
Names in the bundleCLAUDE_CODE_SIDE_CHAT--print
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear how the loaded messages are rewritten or what the further check requires.
The name it cites is new in this build
New in this build: CLAUDE_CODE_SIDE_CHAT