What probably matters to youSection of the release
Unclear When Claude Code actually sets CLAUDE_CODE_MCP_SERVE_CHILD instead of CLAUDE_CODE_REMOTE is not clear.
What
A cloud or remote session is a Claude Code session running on a machine Anthropic or your organisation runs, rather than on your own computer. The environment variables it sets up, which are named values programs inherit when they start, have changed:
CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD now honours an explicit "0" coming from the environment, which turns off loading CLAUDE.md memory files from added directories. When it is "0", the runner logs "The server turned off CLAUDE.md from added directories".
CLAUDE_CODE_MCP_SERVE_CHILD is kept when Claude Code strips environment variables, alongside CLAUDE_CODE_CHILD_NOTES_DIR and CLAUDE_CODE_LAUNCHED_BY_SESSION_IDS, and it is copied to background jobs that are taken over after the session that started them ended.
Inside the sandbox, the restricted area commands run in, a credential rule entry named CLAUDE_CODE_REMOTE or CLAUDE_CODE_MCP_SERVE_CHILD is skipped when the remote-session values are present. Plugin language servers, the helper programs that give code intelligence for a language, get the same extra values when started.
Background job records over a size limit are no longer saved, with the message "session record not saved: it is over the size limit".
Shell commands from the client now read the switch tengu_cloud_session_shell, whose fallback in the code is off. Nothing has been read about this switch.
Why
A server running a cloud session can now turn off added-directory CLAUDE.md files, and the log says when it did, which explains missing memory files in such sessions. Programs started by a remote session can now tell from their environment what kind of process they are, and sandbox credential rules can no longer overwrite those markers.
Nothing 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.333: off
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.