What
The Monitor tool lets Claude run a command and watch its output. The sandbox is a protective area that limits what commands can reach. The tool now checks the sandbox state more carefully.
- Sandbox check: the tool now takes a
permissionPhaseand works outdisableUnsandboxedCommandsbefore it picks a sandbox. Before,shouldUseSandboxwas given only the command. - Refusal: if the sandbox that the permission check counted on is gone, the tool stops with the error "RunMonitorCommand: the sandbox that the check counted on is gone". Before, only the general sandbox policy refusal existed.
- Timeout notice: the housekeeping notice shown when a command times out now gives the exact path of the output file.
Why
A command you approved because it would run in the sandbox can no longer run outside it if the sandbox disappears in between. You get an error instead of the command running unprotected.