Unclear It is not clear what makes Claude Code place this hold, or whether a user ever sees it.
The sandbox is the restricted environment Claude Code can run shell commands in. Before Claude Code moves its working folder, it can now hold a copy of the sandbox setup. If it cannot read the sandbox settings at that point, it keeps the sandbox at its strictest.
When you save sandbox settings while such a hold exists:
- If the sandbox is now disabled, the hold is cleared.
- If the sandbox is still enabled, the hold's strictness is recalculated from
allowUnsandboxedCommandsandautoAllowBashIfSandboxed.
Before, disabling the sandbox only reset whether it had been enabled. Separately, on Windows, the check for whether the sandbox is available now answers no when the Bash tool is withheld for a particular backend.
The sandbox now follows settings you change in the middle of a session instead of keeping the values from before the edit.
It is not clear what makes Claude Code place this hold, or whether a user ever sees it.