{"version":"2.1.326","anchor":"monitor-tool-sandbox-policy-and-exact-output-path","canonical_anchor":"monitor-tool-sandbox-policy-and-exact-output-path","heading":"Monitor tool refuses to run when the sandbox it counted on is gone","tier":"notice","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/monitor-tool-sandbox-policy-and-exact-output-path","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Monitor tool refuses to run when the sandbox it counted on is gone\n\nThe Monitor tool now checks the sandbox again before running and refuses if the sandbox it was approved under has disappeared\n\n**What**\n\nThe 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.\n\n- Sandbox check: the tool now takes a `permissionPhase` and works out `disableUnsandboxedCommands` before it picks a sandbox. Before, `shouldUseSandbox` was given only the command.\n\n- 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.\n\n- Timeout notice: the housekeeping notice shown when a command times out now gives the exact path of the output file.\n\n**Why**\n\nA 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.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}