What
Auto mode lets a classifier (an automatic checker) decide whether Claude may use a tool without asking you, and autoMode settings add your own allow and deny rules to it. A self-hosted runner, the program that starts Claude Code sessions on your own machines, can now forward these rules from the server:
- A new
--server-auto-mode-listsoption takesall,no-allowornone. The defaultno-allowwithholds the server's allow list. The runner sends this choice when it registers (server_auto_mode_lists) and logs it when it differs from the default. - The server's
autoModeblock (allow, environment and soft_deny lists) is written intolauncher-settings.jsonfor the session. Before, that file held only hooks. - It is only applied when
CCR_AUTO_MODE_APPLYis1. Entries that are blank or contain control characters are refused, and the whole block is dropped if it would go over the--settingssize limit. - The runner logs whether the server asked it to apply the lists, and when it is not applying them.
- The session started by the runner now has
CCR_AUTO_MODE_APPLY,CCR_AUTO_MODE_ALLOW,CCR_AUTO_MODE_ENVIRONMENTandCCR_AUTO_MODE_SOFT_DENYcleared, so inherited or server-supplied values for them cannot reach it. - Starting a session now reports whether writing to its input succeeded, and the runner sets up a watch that is fed by the health server and stopped on exit.
Why
Admins of self-hosted runners can push auto-mode rules into sessions, while allow rules, which let actions through without checks, are held back unless chosen. Clearing the variables keeps the runner's own environment from slipping rules into sessions.
Names in the bundleautoMode