You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Environment VariablesArea: what it touches
ImprovementsKind: in v2.1.336,
ImprovementsSection of the release
What
Environment variables are named values a program passes on to the programs it starts. When Claude Code prepares the environment for a child Claude Code session started from inside another, it already removes variables such as CLAUDE_CODE_CHILD_SESSION. It now also removes:
CLAUDE_PID
CLAUDE_PLUGIN_ROOT
CLAUDE_PLUGIN_DATA
A child session started this way no longer inherits them.
Why
Values meant for one plugin or hook stop leaking into a separate Claude Code session started inside it. A plugin is an add-on, and a hook is a command Claude Code runs at set moments.