You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.290,
ImprovementsSection of the release
Unclear It is not clear whether there are other conditions that turn the guard on or off.
What
A worktree is a separate working copy of a git repository, so several tasks can work on the same project without touching each other's files. Claude Code can keep a background session confined to its own worktree, and it blocks writes and shell commands that reach outside it.
Before, the error always said the path was in the shared main checkout. Now Claude Code tracks which worktree the session belongs to. If the path is in a different worktree, it gives a separate message saying so and points to the copy of the file inside the session's own worktree.
When several agents work in several worktrees at once, the old message could point at the wrong place. The new one says which kind of mistake happened, so the agent or you can fix the path.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether there are other conditions that turn the guard on or off.