Claude Code sandboxed Bash commands now follow the normal permission flow

Claude Code 2.1.325 (November 13, 2026) changes what turning the sandbox on means for prompts.

What changed

Two changelog entries cover it. The first: sandboxed Bash commands now follow the normal permission flow by default. Setting sandbox.autoAllowBashIfSandboxed: true keeps them running without prompts.

The second covers managed settings. If managed settings turn the sandbox on, and you want commands to keep running without prompts, set sandbox.autoAllowBashIfSandboxed: true in your highest-ranking managed source.

In practice, a sandboxed command that no allow rule covers can now ask. Before, the sandbox alone was enough to skip the prompt.

Keeping the old behavior

Set the key under sandbox in settings:

{
  "sandbox": {
    "autoAllowBashIfSandboxed": true
  }
}

The key path comes straight from the changelog. The changelog does not say which settings file to use for a personal setup. For managed deployments it names the highest-ranking managed source.

Related sandbox changes in 2.1.325

All from the same release:

Sources: Claude Code changelog.