What probably matters to youSection of the release
Unclear It is not clear what either variable changes in Claude Code's behaviour beyond being read and passed on.
What
Claude Code reads two new environment variables. An environment variable is a setting you give a program when you start it. Both appear to be meant for an app that runs Claude Code inside itself.
CLAUDE_CODE_HOST_KEPT_ENV: a comma-separated list of variable names. Upper and lower case are treated as the same.
When Claude Code starts a background session, which is a separate Claude Code run working on its own, the new session now receives four more variables if they are set in the session that started it:
The tmux launcher also passes CLAUDE_CODE_HOST_KEEPS_ROUTE and CLAUDE_CODE_HOST_KEPT_ENV into the sessions it opens. The four names are added to the lists of variables that are allowed through. The record of each started session also gains a fromOrdinaryContainer field.
Why
If you set any of these variables, they now carry over to background and tmux sessions, so those sessions behave like the one you started from. The two disable variables look like off switches for subagent names and in-place updates. Nothing documents these variables yet.
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 doubtIt is not clear what either variable changes in Claude Code's behaviour beyond being read and passed on.