Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.274 ·

Repo-detection caches now get invalidated by path (HUe)

Repo-detection caches are now cleared by path when a directory changes

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaElsewherewhat it touches
KindInternal Changesin v2.1.274,
Under the hood

Repo-detection caches are now cleared by path when a directory changes

What

Claude 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.

Why

This 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.

See this entry in the whole of v2.1.274 →