Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Test plugins with evals changedplugin-evals

Nearest release: v2.1.326, published 7 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 17 Nov 2026 02:30 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 17 Nov 2026 02:37 UTC.

Upstream edited
Recorded here
Lines+15added
Lines−0removed
From line 348 where the diff opens
First seen 11 Sep 2026 this site's first read of the page
Recorded edits23to this page, all time

#### Shell grants need a sandbox #### Shell grants refused on a managed machine

The whole hunk

from line 348, old and new numbered
/
lines
from line 348
348348 
349349When a case asked for a tool you didn't grant, the progress output lists it as `not granted`. Tools on a [mocked](#mock-mcp-servers) MCP server need no grant. Tools on a real plugin MCP server need both the server started, with `--allow-real-servers` or `--mocks off`, and a grant by name, such as `--allow-tools "mcp__plugin_my-plugin_github__*"`; a plugin's MCP tools are named `mcp__plugin_<plugin>_<server>__<tool>`.
350350 
351#### Shell grants need a sandbox
352 
351353When you grant `Bash` in any form, every command runs under Claude Code's [OS-level sandbox](https://code.claude.com/docs/en/sandboxing.md). Writes are confined to the run's workspace, your home directory and Claude Code configuration are unreadable, and network access is limited to domains you grant with `--allow-tools "WebFetch(domain:example.com)"`. If you grant Bash or PowerShell on a machine with no sandbox backend, Claude Code refuses each run rather than running it unconfined, and the case shows a run error and usually scores 0. Native Windows has no backend, so run shell-granting suites under WSL2; on Linux, install `bubblewrap` and `socat` first. See the [sandboxing prerequisites](https://code.claude.com/docs/en/sandboxing.md).
352354 
355#### Shell grants refused on a managed machine
356 
357When shell-granting runs are refused on a machine your organization manages, a `sandbox` key in its [managed settings](https://code.claude.com/docs/en/managed-settings.md) can be the cause. The error begins `A shell tool (Bash or PowerShell) was granted but this machine cannot confine it (no sandbox backend on this platform, or it is not installed)`. It names a missing backend even where one is installed.
358 
359When a managed key is the cause, the message ends with `this machine's managed settings:` and the key, which the per-run progress line cuts off:
360 
361* **Without `--json`**: read it from the summary table's `NOTES` column, as in `sandbox.enabled is false`
362* **Under `--json`**: read it from the [JSON result](#json-result), in the run's `error` field
363 
364Ask your administrator whether that setting can change for your machine, or drop the shell grant from that run.
365 
353366### Command options
354367 
355368This table covers the options for run count, models, scoring, cost, tool grants, mocks, and output. Run `claude plugin eval --help` for the complete list, which also includes `--case`, `--tag`, `--eval-dir`, `--no-scaffold`, `--report`, and `--verbose`.
from line 694
681694### Tools are denied, MCP tools are missing, or Bash won't run
682695 
683696Anything beyond the read-only set needs your grant, such as `--allow-tools Bash Write`. Your personal MCP servers never load in a run. The plugin's own servers don't start unless you [opt in](#mock-mcp-servers), and their tools then also need an `--allow-tools "mcp__plugin_<plugin>_<server>__*"` grant; a mocked tool needs neither.
697 
698If you granted Bash and the runs are still refused, read the full error, which the per-run progress line cuts short. It is in the summary table's `NOTES` column, or in the run's `error` field under `--json`. See [Shell grants refused on a managed machine](#shell-grants-refused-on-a-managed-machine) when the full error names a managed setting, or [Shell grants need a sandbox](#shell-grants-need-a-sandbox) when it doesn't.
684699 
685700### The run exits 1 but the results look fine
686701 
Feedback