Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Configure permissions changedpermissions

Nearest release: v2.1.335, published 8 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 3 Dec 2026 05:54 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 3 Dec 2026 06:07 UTC.

Upstream edited
Recorded here
Lines+5added
Lines−3removed
From line 429 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits104to this page, all time

The whole hunk

from line 429, old and new numbered
/
lines
from line 429
429429 
430430##### How deep a pattern matches
431431 
432A rule only matches files under its anchor; within that bound, matching depth depends on the pattern shape and, for single-segment directory patterns, the rule type, described below. Bare filenames follow gitignore semantics and match at any depth, so `Read(.env)` and `Read(**/.env)` are equivalent:
432Bare filenames follow gitignore semantics and match at any depth, so `Read(.env)` and `Read(**/.env)` are equivalent:
433433 
434434| Deny rule | Blocks | Does not block |
435435| - | - | - |
from line 436
436436| `Read(.env)` or `Read(**/.env)` | any `.env` at or under the current directory | `.env` in a parent directory or another project |
437437| `Read(//**/.env)` | any `.env` anywhere on the filesystem | nothing; the rule is anchored at the filesystem root |
438438 
439A relative pattern with a single directory segment, such as `src/**`, matches at different depths depending on the rule type:
439A relative pattern with one directory before `/**`, such as `src/**`, matches deeper in a deny or ask rule than in an allow rule:
440440 
441441* **Allow rules**: `Edit(src/**)` matches only `<cwd>/src` and the files under it. To allow a directory name at any depth, write `Edit(**/src/**)`.
442442* **Deny and ask rules**: `Read(secrets/**)` matches a directory named `secrets` at any depth under the current directory, so the rule also applies to nested copies.
from line 623
623623* `Agent(Plan)` matches the Plan subagent
624624* `Agent(my-custom-agent)` matches a custom subagent named `my-custom-agent`
625625 
626Add these rules to the `deny` array in your settings or use the `--disallowedTools` CLI flag to disable specific agents. To disable the Explore agent:
626To stop Claude from starting a subagent with the [Agent tool](https://code.claude.com/docs/en/tools-reference.md#agent-tool-behavior), add that subagent's rule to the `deny` array in your settings or pass it with the `--disallowedTools` CLI flag.
627 
628This example denies the Explore subagent:
627629 
628630```json theme={null}
629631{
Feedback