The env block in your user settings sets environment variables (named values that programs read) for Claude Code. A session running on a self-hosted runner, a machine you supply to run Claude Code jobs, now keeps the env block it read when it started. If the file changes later, the change is not applied and a warning is logged starting "Not applying a change to the env block of". The warning explains that the session's own commands can write this file.
Related changes:
- Unreadable user settings: a user settings file that cannot be read is now handled.
- Untrusted folders: the warning shown for a folder you have not trusted now says its values are not read.
- Managed settings: settings set by an organization's admin now show lock notices for bypass-permissions mode and auto mode.
It stops a session from changing its own environment by editing the settings file while it runs. If you edit the env block during a runner session, start a new session to pick the change up.