Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.275 ·

auto-allow-bash-if-sandboxed setting surfaced in diagnostics with its source

Diagnostics now report whether autoAllowBashIfSandboxed is on and where that value came from

You'll notice Improvements
JSON All of v2.1.275
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SandboxArea: what it touches
ImprovementsKind: in v2.1.275,
ImprovementsSection of the release
What

A settings snapshot used for diagnostics and telemetry now reports whether the autoAllowBashIfSandboxed setting is enabled, along with where that value was set from: unsupported, policy, default, or settings.

Why

This makes it easier to see, when diagnosing a session, whether bash commands are being auto-allowed because they're sandboxed, and whether that behavior comes from a policy, a default, or the user's own settings.

Read from
Names in the bundleautoAllowBashIfSandboxed
Since it was published

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.

Confirmed since Anthropic's documentation has since written up autoAllowBashIfSandboxed, on Agent SDK reference - Python. | `autoAllowBashIfSandboxed` | `bool` | `True` | Auto-approve bash commands when sandbox is enabled | agent-sdk/python see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up autoAllowBashIfSandboxed, on Agent SDK reference - Python.

See this entry in the whole of v2.1.275 →

Feedback