{"version":"2.1.333","anchor":"sandbox-exec-error-classifier","canonical_anchor":"sandbox-exec-error-classifier","heading":"macOS sandbox failures are now sorted into kinds","tier":"internal","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/sandbox-exec-error-classifier","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### macOS sandbox failures are now sorted into kinds\n\nClaude Code now recognises several kinds of macOS sandbox failure, such as a profile that is too large or a nested sandbox\n\n**Unclear.** How the kind of failure is shown or used is not stated.\n\n**What**\n\nOn macOS, Claude Code can run commands inside a sandbox (a fenced-off space that limits what a command can touch) using the system tool sandbox-exec. Claude Code now sorts a sandbox-exec failure into one of these kinds:\n\n- Refused, because the sandbox profile is too large or a piece of data in it is over the maximum length.\n\n- A nested sandbox, reported as \"Operation not permitted\".\n\n- A vague \"profile compilation failed\".\n\n- Aborted, with an internal assertion failure.\n\n**Why**\n\nThis may give clearer information when a macOS sandbox fails to start.\n\n- Area: Sandbox\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}