{"version":"2.1.277","anchor":"rulesclaudemd-directory-walk-gains-an-exclude-matcher","canonical_anchor":"rulesclaudemd-directory-walk-gains-an-exclude-matcher","heading":"Rules\/CLAUDE.md directory walk gains an exclude matcher","tier":"use","area":"CLAUDE.md Rules","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/rulesclaudemd-directory-walk-gains-an-exclude-matcher","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### Rules\/CLAUDE.md directory walk gains an exclude matcher\n\nCLAUDE.md\/rules directory scan can now skip paths matched by an exclude pattern\n\n**Unclear.** The finding does not say what supplies the exclude matcher or how a user configures it.\n\n**What**\n\nWhen 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.\n\n**Why**\n\nThis gives Claude Code a way to leave out specific paths when scanning for rules files, on top of the checks it already applies.\n\n- Area: CLAUDE.md Rules\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5"}