You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 896ed9a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): refuse worktree removal while another thread references it
Worktree removal and shared-worktree detection only consulted the active
shell, so archived threads sharing a worktree were treated as gone: deleting
a sibling could remove a worktree an archived thread still points at, and
checkpoint branch-drift adoption ignored archived co-owners. Removal now
refuses while any non-deleted thread references the path — resolved by a
single atomic query so a thread can never fall between separate active and
archived reads — drift adoption counts archived siblings, and the legacy
sidebar's bulk delete no longer pre-seeds its deleted-set with the whole
batch (which made the first deletion treat still-alive batch mates as gone).
Co-Authored-By: Claude Fable 5 <[email protected]>
0 commit comments