{"version":"2.1.172","anchor":"claude-code-child-session-environment-variable","canonical_anchor":"claude-code-child-session-environment-variable","heading":"CLAUDE_CODE_CHILD_SESSION Environment Variable","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.172\/e\/claude-code-child-session-environment-variable","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.172","markdown":"### CLAUDE_CODE_CHILD_SESSION Environment Variable\n\n**What**\n\nA new `CLAUDE_CODE_CHILD_SESSION` environment variable that marks a session as a child session, suppressing certain persistence behaviors (e.g. session data is not persisted when this is set alongside other child-session conditions).\n\n**Evidence**\n\nNew env var check (search for `\"CLAUDE_CODE_CHILD_SESSION\"`)"}