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.
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 sinceAnthropic's documentation has since written up keptInSandboxByCheck, on Agent SDK reference - TypeScript.keptInSandboxByCheck?: boolean;agent-sdk/typescriptsee 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.