Claude Code v2.1.222 ·
Parked agents refuse to resume into a worktree that vanished
A parked agent refuses to resume if its worktree disappeared, instead of landing in the wrong directory.
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.222,
ImprovementsSection of the release
What
Resuming a parked or isolated agent verifies the recorded worktree first and refuses rather than silently landing somewhere else.
Details
- stats and verifies the recorded worktree and touches it
- falls back to a covered directory only when the session's fences cover it
- otherwise raises a terminal error saying the agent cannot be resumed
Evidence
This agent cannot be resumed: its worktree
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.222 →