DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.
Worktree cleanup passes account state to the removal hook
Under the hood
Useful2Signal2
Elsewhere
Worktree removal now passes account state to your WorktreeRemove hook and the record-clearing call.
What's wrong with this entry?
Anonymous. No account, no email.
What
The routine that removes a git worktree now receives storage and credentials and hands both to the WorktreeRemove hook and to the call that clears the recorded worktree.
Details
Lock ownership, Windows reparse point handling and the fallback to git worktree remove are unchanged, as is the wording of the kept and removed log lines.
Evidence
WorktreeRemove hook did not remove worktree, kept at:
Strings lifted out of the shipped bundle, so the claim above can be checked against them.