You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
ImprovementsKind: in v2.1.292,
ImprovementsSection of the release
Unclear Which callers count as restricted, and so who is affected, is not clear.
What
The Bash tool runs shell commands. A command can normally ask to run outside the sandbox (the protective boundary limiting what it can touch) with dangerouslyDisableSandbox, or to run in the background with run_in_background. For a restricted kind of caller, Claude Code now refuses those options with a message saying the option is not available and to run the command in the foreground. Otherwise both options are forced off.
Why
It limits what these callers can do with shell commands.
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 dangerouslyDisableSandbox, on Agent SDK reference - Python.> Commands running with `dangerouslyDisableSandbox: True` have full system access. Ensure your `can_use_tool` handler validates these requests carefully.agent-sdk/pythonsee the edit
Added sinceA small documentation edit on Orchestrate teams of Claude Code sessions touched a line naming run_in_background after this was published.* **No background subagents from in-process teammates**: an in-process teammate's own subagents run in the foreground, because a teammate's background work can't outlive the lead's process. Claude Code returns an error when a teammate spaw…agent-teamssee the edit
Confirmed sinceAnthropic's documentation has since written up run_in_background, on Agent SDK reference - TypeScript.Notification when a background task completes, fails, or is stopped. Background tasks include `run_in_background` Bash commands, [Monitor](#monitor) watches, and background subagents. For the `run_id` and `ambient` fields, see [`SDKTaskSta…agent-sdk/typescriptsee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich callers count as restricted, and so who is affected, is not clear.
Anthropic's documentation agreesAnthropic's documentation has since written up run_in_background, on Agent SDK reference - TypeScript.