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.166 ·

Wildcard allow-rule validation now rejects unsafe patterns

Entry
JSON All of v2.1.166
EntryKind: in v2.1.166,
ChangesSection of the release

Allow rules with unscoped wildcards (e.g. mcp__*) are now rejected at parse time with a clear error:

> Wildcard tool name "mcp__" is not supported in allow rules. An allow pattern must name the scope it widens — globs are permitted only in the tool position after a literal mcp__<server>__ prefix. Deny and ask rules accept wildcards anywhere. Examples: mcp__puppeteer__

Deny and ask rules continue to accept wildcards anywhere. The validation fires at settings load so the error surfaces early rather than silently failing at permission-check time.

Evidence

New wildcard allow-rule validator (search for "is not supported in allow rules")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.166 →

Feedback