You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
Unclear Which git commands count as rewriting shared state is not stated.
What
A worktree is a separate checkout of your repository in another folder, and an agent, a helper Claude starts for part of a task, can be kept to its own worktree. Before, a git command was refused only when it targeted something other than the agent's own worktree. Now there is a second reason: a git command that would rewrite what the worktree shares with your own checkout is refused, in every repository.
Why
An agent confined to a worktree can no longer change your own checkout through the parts the two share.
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 doubtWhich git commands count as rewriting shared state is not stated.