{"version":"2.1.336","anchor":"eval-shell-grant-refused-when-sandbox-settings-are-too-large","canonical_anchor":"eval-shell-grant-refused-when-sandbox-settings-are-too-large","heading":"Sandboxed shell runs are refused, not run unprotected, if sandbox settings are bad","tier":"notice","area":"Sandbox","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/eval-shell-grant-refused-when-sandbox-settings-are-too-large","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Sandboxed shell runs are refused, not run unprotected, if sandbox settings are bad\n\nIf sandbox settings for an eval shell run are too large or invalid, Claude Code now refuses the run instead of writing the settings unchecked\n\n**What**\n\nA sandbox is a fenced-off space where Claude Code runs commands with limited access to your files and network. For one kind of sandboxed shell run, which Claude Code reports as an eval shell grant, it writes the sandbox's settings to a `settings.json` file first. It now checks those settings before writing them. If they are too large or fail validation, it stops with an error instead.\n\nThe error says the run was refused rather than run without the sandbox. It also says that a very long list of files in `ansible.cfg` can cause this. Before, the file was written without any check.\n\n**Why**\n\nA bad set of sandbox settings now stops the run, so a command does not end up running without the sandbox's limits. If you see this error, a long file list in `ansible.cfg` is one thing to check.\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}