Unclear How a session comes to be treated as a runner child is not stated.
Claude Code has a worker that seeds your home settings, meaning it fills in settings files in the session's configuration folder. Before, it started only on a managed cloud worker, and any CLAUDE_CONFIG_DIR (the environment variable that moves Claude Code's configuration folder) stopped it.
It now starts for two kinds of session:
- Managed sessions, which replace files in that folder that did not come from the seeding
- Runner child sessions, which keep those files
A runner child session must set CLAUDE_CONFIG_DIR to an absolute path, meaning a full path starting from the top of the file system. If the session is neither kind, or the variable is missing or not absolute, the worker does not start. The environment variable CLAUDE_CODE_DISABLE_HOME_SETTINGS_SEED controls switching the seeding off.
Sessions started by a self-hosted runner can now get seeded home settings, and files already in their configuration folder are left alone.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Add the variable to a [saved local environment](#set-environment-variables-for-local-sessions), then start a new session from that environment. For a variable such as `PATH`, `CLAUDE_CONFIG_DIR`, or `API_TIMEOUT_MS`, follow [its own instru…desktop see the edit
From the same shell, set [`CLAUDE_CONFIG_DIR`](/docs/en/env-vars) to a fresh directory in place of `~/.claude`, and pass [`--setting-sources user`](/docs/en/cli-reference#cli-flags) to turn off project configuration such as `.claude/settin…debug-your-config see the edit
How a session comes to be treated as a runner child is not stated.
Anthropic's documentation has since written up CLAUDE_CONFIG_DIR, on Debug your configuration.