Under the hood
Directory sync's git checkout logic gains several new named outcome states
What
The directory-sync feature, which checks out git state to keep a synced copy up to date, now recognizes several new outcome states for a checkout operation:
checkout_mid_operationcheckout_unmergedcheckout_unborncheckout_unreadablesnapshot_refusedno_refacknowledgeother
A new sync kind, checkout_empty, was also added.
Why
More granular outcome tracking lets Claude Code distinguish between different reasons a directory-sync checkout didn't complete cleanly, such as a repository mid-operation, unmerged paths, or an unborn branch, rather than lumping them together.