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_NOTHINGstops 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_SETTINGScontrols 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:
CLAUDE_CODE_SKIP_PROMPT_HISTORYis setCLAUDE_CODE_STARTER_SAVES_NOTHINGis set- the server-controlled flag
tengu_cosmic_cerfis pinned to false for the account
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.
Which value of the variable turns folder settings off, and which settings are affected, is not stated.