{"version":"2.1.333","anchor":"bash-sandbox-auto-allow-can-be-held-for-ask-rules","canonical_anchor":"bash-sandbox-auto-allow-can-be-held-for-ask-rules","heading":"Ask rules can now stop sandboxed shell commands from running without a prompt","tier":"notice","area":"Sandbox","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/bash-sandbox-auto-allow-can-be-held-for-ask-rules","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Ask rules can now stop sandboxed shell commands from running without a prompt\n\nClaude Code can now hold back the automatic approval of sandboxed shell commands that match an ask rule, and ask you instead\n\n**Unclear.** Which server-controlled setting decides whether approval is held back, and whether it is active, is not stated.\n\n**What**\n\nA sandbox is a fenced-off space that limits what a command can touch, and Claude Code can approve shell commands run inside it automatically. An ask rule is a permission rule saying Claude must ask you before running a matching command. Claude Code now holds back that automatic approval when:\n\n- the command matches an ask rule\n\n- the list of commands is too large to check\n\nWhen an ask rule matches, you get a prompt instead. Before, sandboxed commands were approved automatically without checking ask rules. Whether approval is held back depends on a server-controlled setting.\n\n**Why**\n\nAsk rules you have written now apply to sandboxed shell commands too, so a command you wanted to be asked about is not run silently.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}