{"version":"2.0.24","anchor":"auto-allow-bash-commands-in-sandbox-mode","canonical_anchor":"auto-allow-bash-commands-in-sandbox-mode","heading":"Auto-Allow Bash Commands in Sandbox Mode","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.24\/e\/auto-allow-bash-commands-in-sandbox-mode","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.24","markdown":"### Auto-Allow Bash Commands in Sandbox Mode\n\n**What:** When sandboxing is enabled and you're in \"accept edits\" mode, safe bash commands now execute automatically without permission prompts.\n\n**How to use:**\n\n`# Enable the sandbox with auto-allow feature claude --configure # Select \"Sandbox BashTool, with auto-allow in accept edits mode\" # Now when you ask Claude to create files\/directories, commands like # mkdir, touch, mv, cp execute automatically when sandboxed` **Details:**\n\n- Only activates when all conditions are met: sandbox enabled, auto-allow feature enabled, command is sandboxable, and user is in \"acceptEdits\" mode\n- Safe commands like `mkdir`, `touch`, `rm`, `rmdir`, `mv`, `cp`, `sed` are pre-approved in acceptEdits mode\n- User-defined deny\/ask rules are still respected\n- Commands can be excluded via `sandbox.excludedCommands` configuration\n- Falls back to standard permission prompting if conditions aren't met\n- **Evidence**: `hL0()` function at lines 206586-206604 and `TN6()` decision logic at line 206562 in pretty-v2.0.24.js"}