Development record
Two concurrent runs of the worktree store's add for the same name race: the second run's git fails because the branch already exists, and the adopt-after-failure path then claims the first run's worktree, reports that the checkout hook failed with git's branch-exists message, which is false, and lays the local tier inside a worktree the first run may still be checking out. Found by the Opus review of the store's step 2 on 2026-10-23.
issueopenminoriss-2610231125086511
Two concurrent runs of the worktree store's add for the same name race: the second run's git fails because the branch already exists, and the adopt-after-failure path then claims the first run's worktree, reports that the checkout hook failed with git's branch-exists message, which is false, and lays the local tier inside a worktree the first run may still be checking out. Found by the Opus review of the store's step 2 on 2026-10-23.
Frontmatter
| id | iss-2610231125086511 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2610231125086511-store-add-adopts-concurrent-worktree.md
open on GitHub ↗ · commit history ↗
References1
- itd-2609091014076309Session and agent worktrees live in a machine-scoped store that abcd lists and reclaims, never beside the user's own projectsrelated