{"version":"2.1.326","anchor":"goal-check-ins-skip-paused-goals-sandbox-exec-added-to-wrap","canonical_anchor":"goal-check-ins-skip-paused-goals-sandbox-exec-added-to-wrap","heading":"sandbox-exec is now recognised as a command wrapper when checking permissions","tier":"notice","area":"Goals","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/goal-check-ins-skip-paused-goals-sandbox-exec-added-to-wrap","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### sandbox-exec is now recognised as a command wrapper when checking permissions\n\nClaude Code now treats sandbox-exec like sudo and doas and knows its -f -n -p -D options when checking commands for permission\n\n**What**\n\nBefore running a shell command, Claude Code works out what the command really runs so it can check it against your permission rules. Some commands, such as `sudo` and `doas`, are wrappers that run another command. `sandbox-exec` is now handled the same way:\n\n- `sandbox-exec` was added to the list of command wrappers next to `sudo` and `doas`.\n\n- The table of commands and the options that take a value now lists `sandbox-exec` with `-f -n -p -D`, so the command after those options is found correctly.\n\nThe same members also note two smaller changes nearby:\n\n- A goal check-in now does nothing while the goal is paused.\n\n- Slash-command checks moved from `builtInCommandNames().has` to `isBuiltinWithIdleArgs`.\n\n**Why**\n\nA command wrapped in `sandbox-exec` is now checked against your permission rules by what it actually runs, rather than being misread because of the wrapper's options.\n\n- Area: Goals\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}