How Claude remembers your project changedmemory
Nearest release: v2.1.327, published 2 hours after 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 17 Nov 2026 18:21 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 17 Nov 2026 18:37 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−2removed
From line
223
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits52to this page, all time
The whole hunk
from line 223, old and new numbered
/
from line 223
223223| `/*.md` | `.md` files directly in the base directory, not in subfolders |
224224| `src/components/*.tsx` | `.tsx` files directly in the base directory's `src/components/`, not in subfolders |
225225
226Glob syntax treats `[` as the start of a bracket expression such as `[abc]`. A pattern with a `[` that can't be read as a bracket expression, such as `photos [2024/**`, is invalid: it matches nothing, and the rule's other patterns keep working. To match a literal `[` in a file name, escape it inside single quotes, as in `'photos \[2024/**'`.
227
226228You can specify multiple patterns and use brace expansion to match multiple extensions in one pattern:
227229
228230```markdown theme={null}
from line 239
237239Each brace group multiplies the number of expanded patterns: `src/*.{ts,tsx}` expands to two patterns, and `{a,b}/{c,d}/*.{ts,tsx}` to eight. To keep expansion bounded, a rule's whole `paths` list shares one budget of 1,000 expanded patterns and 4 MiB, and patterns without braces don't count against it.
238240
239241Claude Code uses any pattern that would exceed the budget unexpanded, and its literal braces match no files.
240
241Glob syntax treats `[` as the start of a bracket expression such as `[abc]`. A pattern with a `[` that can't be read as a bracket expression, such as `photos [2024/**`, is invalid: it matches nothing, and the rule's other patterns keep working. To match a literal `[` in a file name, escape it as `photos \[2024/**`.
242242
243243#### Rule frontmatter reference
244244
No line in this hunk matches that.