Development record
Renaming abcd's home from ~/.abcd to ~/.abcd.noindex, as the noindex stop tells the person to (mv ~/.abcd ~/.abcd.noindex), moves every git worktree kept in the store under it, and git records a worktree's location in absolute form: after the move each repository lists those worktrees as prunable ('gitdir file points to non-existent location'), and a git worktree prune, by hand or by a tool, deletes their links. Reproduced on a scratch repository 2026-10-04: after mv, git worktree list marks the moved worktree prunable; git -C <moved worktree> worktree repair restores it. spc-2610031309233367 neither names this nor tells the person, and on the product thinker's machine the store holds about thirty live session worktrees.
Renaming abcd's home from ~/.abcd to ~/.abcd.noindex, as the noindex stop tells the person to (mv ~/.abcd ~/.abcd.noindex), moves every git worktree kept in the store under it, and git records a worktree's location in absolute form: after the move each repository lists those worktrees as prunable ('gitdir file points to non-existent location'), and a git worktree prune, by hand or by a tool, deletes their links. Reproduced on a scratch repository 2026-10-04: after mv, git worktree list marks the moved worktree prunable; git -C <moved worktree> worktree repair restores it. spc-2610031309233367 neither names this nor tells the person, and on the product thinker's machine the store holds about thirty live session worktrees.
Grounds
- pursued: a person who renames ~/.abcd as the stop says and runs the printed loop finds every store worktree listed again by its repository and none prunable; a moved worktree still listed prunable after the loop would show it wrong
Frontmatter
| id | iss-2610040147016103 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | major |
.abcd/work/issues/resolved/iss-2610040147016103-renaming-abcd-s-home-from-abcd-to-abcd.md
open on GitHub ↗ · commit history ↗
mentions2
- dcn-26100400000000012026-10-04 — Ruling of the technical facilitator, asked by abcd-50, on who reconnects the git worktrees that renaming abcd's home moves (iss-2610040147016103: git records a worktree's location in absolute form, so after `mv ~/.abcd ~/.abcd.noindex` each repository lists every store worktree as prunable until `git -C <worktree> worktree repair` runs, and a prune deletes its link), verbatim: "Person, one printed command". Not chosen: abcd repairing them itself on its first run after the rename (a write into each repository's `.git/worktrees`, outside abcd's home, against itd-2610030720038073 decision 6); decide later. Applied: both stop lines of spc-2610031309233367 print `for w in ~/.abcd.noindex/worktrees/*/*; do git -C "$w" worktree repair; done` after the rename command, recorded as that spec's open question 6, with `TestPrintedRepairReconnectsMovedWorktrees` proving the loop.
- spc-2610031309233367abcd-keeps-its-home-folder-out-of-desktop-search-by-default