Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Cloud sessions get a new child-process marker and can have added-directory CLAUDE.md turned off

Cloud sessions add a CLAUDE_CODE_MCP_SERVE_CHILD marker for child processes and honour CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=0 from the server

Group of 4 Use it now Notable New Features
JSON All of v2.1.333
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
SessionsArea: what it touches
New FeaturesKind: in v2.1.333,
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_REMOTE_SDK_URL is now cleared, and CLAUDE_RUNNER_HOST_DISABLES_AUTO_MODE is added.
  • CLAUDE_CODE_MCP_SERVE_CHILD is a new marker. A child process started under a remote session can get CLAUDE_CODE_MCP_SERVE_CHILD=1 instead of CLAUDE_CODE_REMOTE=true unless the process is a proper remote session. CLAUDE_CODE_ENVIRONMENT_KIND and CLAUDE_CODE_REMOTE_ENVIRONMENT_TYPE are copied through as well.
  • 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.

Read from
Feature flag
tengu_cloud_session_shell Not enough to say

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.

Read once, for one account on one subscription tier, against v2.1.333. It isn't a statement about your account. What a flag value here can and cannot tell you

What the documentation says
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhen Claude Code actually sets `CLAUDE_CODE_MCP_SERVE_CHILD` instead of `CLAUDE_CODE_REMOTE` is not clear.

See this entry in the whole of v2.1.333 →

Feedback