Source Intelligence

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.

All of v2.1.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Cloud commits are held back when the branch is checked out in another worktree

You'll notice
Useful3 Signal2
Directory Sync not in their notes

Cloud commits wait rather than apply when the branch is checked out in another worktree.

git worktree prune
What

When directory sync would fast-forward a branch that is also checked out in another worktree, it now waits instead of applying, with a reason of checked_out_elsewhere and a line explaining that applying Claude's cloud commits there would make them look undone in the other tree. If that worktree is gone, git worktree prune clears the block.

Details
  • Before applying an incoming cloud commit the checkout's worktrees are enumerated, honouring core.bare, extensions.worktreeConfig and per-worktree config, plus rebase and bisect head-name files.
  • The same check runs again at commit time, not only before the apply.
  • No flag; this is on for everyone using directory sync.
Evidence

checked_out_elsewhere, which would then show them as undone there

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.246 →