{"version":"2.1.330","anchor":"macos-sandbox-profile-too-large-diagnosis","canonical_anchor":"macos-sandbox-profile-too-large-diagnosis","heading":"macOS sandbox failures are now diagnosed, including profiles that are too large","tier":"notice","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/macos-sandbox-profile-too-large-diagnosis","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### macOS sandbox failures are now diagnosed, including profiles that are too large\n\nWhen a sandboxed command fails on macOS, Claude Code checks for sandbox profile problems such as overlong paths or lists and adds a diagnosis\n\n**What**\n\nOn macOS, Claude Code can run commands in a sandbox, a restricted environment that limits what they can touch, using `sandbox-exec`. The sandbox is described by a profile. When a sandboxed command fails, Claude Code now tries to explain why:\n\n- When a sandboxed command exits with an error, its error output and normal output are scanned for a sandbox profile problem. If one is found, a diagnostic message is added to the error output, or to the normal output when that output goes to a file.\n\n- When `sandbox-exec` fails with errors like \"profile too large\", Claude Code re-runs the profile to find the cause and labels it `one_path_too_long` or `lists_too_long`.\n\n- Exit code 134 is used when there was no exit status.\n\n- Failures after the call directory changes now also report a reason and a cause.\n\n- The E2BIG error message (shown when a command's input is too big) now receives `sandboxBytes` and `settingsPathLists`.\n\n**Why**\n\nBefore, there was no diagnosis. A sandbox failure caused by a very long path or long lists of paths in your settings should now come with a message pointing at that cause.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}