Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.277 ·

Rules/CLAUDE.md directory walk gains an exclude matcher

CLAUDE.md/rules directory scan can now skip paths matched by an exclude pattern

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaCLAUDE.md Ruleswhat it touches
KindNew Featuresin v2.1.277,
Use it now

CLAUDE.md/rules directory scan can now skip paths matched by an exclude pattern

What

When Claude Code walks a directory looking for CLAUDE.md files and other rules files, the walker and its helper functions now accept an exclude matcher: a pattern that marks certain paths as ones to skip. This is checked alongside the existing checks that already skip symlinks, binary files, and similar cases.

Why

This gives Claude Code a way to leave out specific paths when scanning for rules files, on top of the checks it already applies.

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 finding does not say what supplies the exclude matcher or how a user configures it.

See this entry in the whole of v2.1.277 →

Feedback