{"version":"2.1.274","anchor":"repo-detection-caches-now-get-invalidated-by-path-hue","canonical_anchor":"repo-detection-caches-now-get-invalidated-by-path-hue","heading":"Repo-detection caches now get invalidated by path (HUe)","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274\/e\/repo-detection-caches-now-get-invalidated-by-path-hue","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274","markdown":"### Repo-detection caches now get invalidated by path (HUe)\n\nRepo-detection caches are now cleared by path when a directory changes\n\n**What**\n\nClaude Code keeps several internal caches about repository identity, such as which root directory a path belongs to, its canonical root, its remote slug, and its git directory. A new helper walks these caches and evicts any entries whose key path matches or contains a given path.\n\n**Why**\n\nThis prevents stale repository-identity information from lingering after a directory is moved or a repository changes, which could otherwise cause Claude Code to misidentify which repository or root a path belongs to.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}