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 ·

Shell snapshot invalidation tracks plugin bin/ PATH changes

Cached shell snapshots are now invalidated when plugin bin/ directories change what's on PATH

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

Cached shell snapshots are now invalidated when plugin bin/ directories change what's on PATH

What

Claude Code caches a snapshot of your shell environment for performance. New logic now decides whether to drop that cached snapshot whenever plugins refresh, checking for any of these conditions:

  • Whether plugin bin/ directories added to your PATH have changed
  • Whether the shell configuration's snapshot has become unusable
  • Whether the shell configuration was still in the process of building

One of these specific reasons is logged before the snapshot is invalidated.

Why

This keeps the cached shell snapshot from going stale when plugins change what commands are available on PATH, so Claude Code doesn't keep using outdated shell state after a plugin refresh.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed the Bash tool re-sourcing the shell profile (a multi-second stall on the next command) after every plugin reload; it now does so only…

See this entry in the whole of v2.1.274 →