Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

Bash results can say a command stayed sandboxed only because of its permission check

Bash tool results gain an optional field marking commands kept in the sandbox only because their permission check relied on it

Under the hood Internal Changes
JSON All of v2.1.327
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SandboxArea: what it touches
Internal ChangesKind: in v2.1.327,
Internal ChangesSection of the release
What

The sandbox is a restricted space Claude Code can run commands in. Your settings can exempt some commands from it. The results of the Bash tool, which Claude uses to run shell commands, gain an optional true/false field, keptInSandboxByCheck. It is true when a command ran in the sandbox only because its permission check relied on the sandbox, even though your settings would otherwise have exempted it.

Why

Some commands your settings exempt may now still run sandboxed, and this field shows when that happened.

Read from
Names in the bundlekeptInSandboxByCheck
What the documentation says
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 keptInSandboxByCheck, on Agent SDK reference - TypeScript. keptInSandboxByCheck?: boolean; agent-sdk/typescript 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 keptInSandboxByCheck, on Agent SDK reference - TypeScript.

See this entry in the whole of v2.1.327 →

Feedback