Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

New starter variables control history saving and folder settings in child sessions

CLAUDE_CODE_STARTER_SAVES_NOTHING and CLAUDE_CODE_STARTER_READS_FOLDER_SETTINGS shape child sessions and are cleared before further children start

Group of 3 Use it now Notable No documentation found New Features
JSON All of v2.1.337
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Child SessionsArea: what it touches
New FeaturesKind: in v2.1.337,
What probably matters to youSection of the release

Unclear Which value of the variable turns folder settings off, and which settings are affected, is not stated.

What

There are two new environment variables. An environment variable is a named value that a program passes on to the programs it starts. Both apply to "starter" child sessions, meaning a Claude Code session launched by another program or by another Claude Code session. Neither existed in the previous build.

  • CLAUDE_CODE_STARTER_SAVES_NOTHING stops prompt history from being saved. Under certain conditions, Claude Code sets it to "1" for the child processes it launches.
  • CLAUDE_CODE_STARTER_READS_FOLDER_SETTINGS controls whether a child session reads folder-level settings. Child sessions read them unless this variable turns that off. The exact values it accepts were not checked.

A new check decides when prompt history is not saved. It only applies when a separate condition passes. When it does, history is skipped if any of these is true:

When the server sends no value for that flag, the flag does not cause a skip. The same check also feeds other decisions, including one that marks a session as nested inside another.

Both new variables are deleted from the environment handed to further child processes, alongside CLAUDE_CODE_SESSION_ATTENDED.

Why

A program that starts Claude Code can now run a session that saves no prompt history and can choose whether that session picks up folder settings. Because the variables are removed before further processes start, a process launched from such a session does not inherit them.

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 doubtWhich value of the variable turns folder settings off, and which settings are affected, is not stated.

See this entry in the whole of v2.1.337 →

Feedback