You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
MemoryArea: what it touches
ImprovementsKind: in v2.1.286,
ImprovementsSection of the release
What
Claude Code looks through subfolders of your project for nested memory files such as CLAUDE.md and rules. That search now understands git worktrees. A worktree is a second working folder linked to the same git repository, often used to work on another branch side by side.
It works out when you are inside a worktree and maps paths between the worktree and the main checkout.
It checks folder boundaries properly, so a folder such as /foo/bar2 is no longer treated as being inside /foo/bar.
Why
Nested CLAUDE.md files and rules should be found correctly when you work from a worktree, and a folder whose name merely starts the same way as your project no longer gets swept in.