Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.304 ·

Permission path patterns get a length limit and can match whole folders

Over-long path patterns in permission rules are now flagged as too costly, and a pattern can also match everything inside the folder it names

You'll notice Improvements
JSON All of v2.1.304
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.304,
ImprovementsSection of the release

Unclear The length limit is not stated, nor whether a pattern that is too long ends up as a refusal or an error.

What

Permission rules can name files or folders with wildcard patterns. Claude Code has changed how it turns those patterns into matches:

  • A pattern that is too long is now marked as too costly to check instead of being matched without any limit.
  • A second match is built for each pattern so it also covers paths underneath the one it names, the way a folder covers what is inside it.
  • Paths in permission patterns are now resolved in a way specific to patterns.
Why

The limit protects Claude Code from patterns that would take a very long time to check. The folder matching may change which paths an existing rule covers, so it is worth checking that rules still allow and block what you expect.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe length limit is not stated, nor whether a pattern that is too long ends up as a refusal or an error.

See this entry in the whole of v2.1.304 →

Feedback