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
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
EnvironmentArea: what it touches
ImprovementsKind: in v2.1.326,
What probably matters to youSection of the release
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.
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.
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.