Unclear It is not clear what the default becomes when the remote switch gives no answer.
What
sandbox.autoAllowBashIfSandboxed is the setting that lets shell commands run without asking for permission when they run inside the sandbox, a restricted area that limits what a command can touch. How its default is chosen has changed.
- If you have not set it yourself, it used to fall back to true. The fallback is now the opposite of a server-side switch, or gate, named
bot_protected_tengu_compiled_pudding. You get whatever that gate yields. - No reading of this gate (
tengu_compiled_pudding) has been taken, so its value is unknown. It is also unknown what happens when the gate is absent. - The description of the related sandbox setting now says
sandbox.autoAllowBashIfSandboxed"still defaults to false, so sandboxed commands keep going through the permission flow unless it is set to true". It used to say it defaulted to true.
Why
If you never set this option, sandboxed shell commands may start asking for permission where they used to run straight away, without any change on your side. To keep a fixed behaviour, set sandbox.autoAllowBashIfSandboxed to true or false explicitly.
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.
When `sandbox.enabled`, `sandbox.autoAllowBashIfSandboxed`, or `sandbox.allowUnsandboxedCommands` is set above the local [settings level](https://code.claude.com/docs/en/settings.md#settings-precedence), `/sandbox` prints `Sandbox settings…sandboxing see the edit
While `blockReadsOutsideWorkingDirectories` is on and Claude Code's [`sandbox.autoAllowBashIfSandboxed`](https://code.claude.com/docs/en/settings-reference#sandbox-autoallowbashifsandboxed) is off, a sandboxed command that reads outside th…third-party/claude-desktop/code see the edit
It is not clear what the default becomes when the remote switch gives no answer.
A small documentation edit on Code in Claude Desktop on 3P touched a line naming sandbox.autoAllowBashIfSandboxed after this was published.