Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.172 ·

CLAUDE_CODE_CHILD_SESSION Environment Variable

Entry
JSON All of v2.1.172
EntryKind: in v2.1.172,
New FeaturesSection of the release
What

A 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).

Evidence

New env var check (search for "CLAUDE_CODE_CHILD_SESSION")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.172 →

Feedback