Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

New CLAUDE_CODE_CHILD_NOTES_DIR and related variables passed to child sessions

Claude Code can create a private notes folder per session and pass it to child sessions as CLAUDE_CODE_CHILD_NOTES_DIR, alongside new launcher variables

Group of 2 You'll notice Notable No documentation found Internal Changes
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SessionsArea: what it touches
Internal ChangesKind: in v2.1.326,
What probably matters to youSection of the release

Unclear When Claude Code creates this folder, and what the launched sessions do with it, is not stated.

What

An environment variable is a named value a program receives from whatever started it. A child session is a copy of Claude Code started by another session. Three new environment variables appear in this build.

  • CLAUDE_CODE_CHILD_NOTES_DIR: a session can create a private folder for itself, readable only by your user account (mode 0700). It hands the folder's path to the child sessions it launches only when the folder was created safely. A child accepts the inherited path only if it is a full path, ends with the expected folder name, sits under a recognised parent folder and is not a symbolic link, which is a shortcut to another location.
  • CLAUDE_CODE_LAUNCHED_BY_SESSION_IDS: the launcher passes this along with the notes folder.
  • CLAUDE_CODE_WITHHOLD_PRODUCT_EVENTS: this is cleared when the environment for background services is set up.
  • Cleanup: CLAUDE_CODE_LAUNCHED_BY_SESSION_IDS and CLAUDE_CODE_CHILD_NOTES_DIR are removed from the environment a process inherits. The notes folder variable also appears on several lists of allowed and blocked variables, where one list deletes it and another skips it.
  • Child launch: for child sessions that are not display-only, the launcher now adds an extra set of variables based on the session id, next to CLAUDE_CODE_CHILD_SESSION and CLAUDE_CODE_SESSION_ATTENDED.

Why

A parent session now has a way to give the child sessions it starts a notes folder. If you or a wrapper script clean up or inspect the environment, you will see these variables appear.

Read from
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 creates this folder, and what the launched sessions do with it, is not stated.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_CHILD_NOTES_DIR

See this entry in the whole of v2.1.326 →

Feedback