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 now writes a CLAUDE_BASE marker to track the baseline commit, enabling accurate detection of commits ahead and uncommitted changes when deciding whether to auto-clean a worktree.
Evidence
Worktree baseline tracking (search for "CLAUDE_BASE", "commitsAhead=")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.