Dave
40d96008c9
feat(story-200): auto-prune worktrees when stories are archived
...
- Add `prune_worktree_sync` to worktree.rs: removes a story's worktree
if it exists, delegating to `remove_worktree_sync` (best-effort,
failures logged internally)
- Update `sweep_done_to_archived` to accept `git_root` and call
`prune_worktree_sync` after promoting a story from 5_done to 6_archived
- Add Part 2 to the sweep: scan 6_archived and prune any stale worktrees
for stories already there (catches items archived before this feature)
- All worktree removal failures are logged but never block file moves
- Add 5 new tests: prune noop, prune real worktree, sweep-on-promote,
sweep-stale-archived, sweep-not-blocked-by-removal-failure
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-26 14:58:52 +00:00
..
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 18:20:52 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 17:48:54 +00:00
2026-02-24 21:03:52 +00:00
2026-02-24 17:51:15 +00:00
2026-02-24 19:27:18 +00:00
2026-02-24 18:11:08 +00:00
2026-02-24 23:11:27 +00:00
2026-02-24 18:37:26 +00:00
2026-02-24 18:55:36 +00:00
2026-02-24 19:07:37 +00:00
2026-02-24 19:11:37 +00:00
2026-02-24 19:40:47 +00:00
2026-02-24 19:55:48 +00:00
2026-02-24 20:06:49 +00:00
2026-02-24 20:22:50 +00:00
2026-02-24 20:22:50 +00:00
2026-02-24 20:48:51 +00:00
2026-02-24 20:54:52 +00:00
2026-02-24 21:12:53 +00:00
2026-02-24 21:33:54 +00:00
2026-02-24 21:35:55 +00:00
2026-02-24 22:11:55 +00:00
2026-02-24 22:30:56 +00:00
2026-02-24 23:44:04 +00:00
2026-02-24 22:43:57 +00:00
2026-02-24 22:44:58 +00:00
2026-02-25 19:10:11 +00:00
2026-02-25 13:52:17 +00:00
2026-02-25 03:21:27 +00:00
2026-02-25 03:40:28 +00:00
2026-02-25 13:04:33 +00:00
2026-02-25 16:08:22 +00:00
2026-02-25 13:11:50 +00:00
2026-02-25 13:16:51 +00:00
2026-02-25 13:30:03 +00:00
2026-02-25 15:27:08 +00:00
2026-02-25 15:27:08 +00:00
2026-02-25 16:06:22 +00:00
2026-02-25 16:06:22 +00:00
2026-02-25 16:27:16 +00:00
2026-02-25 17:44:33 +00:00
2026-02-25 18:11:27 +00:00
2026-02-25 19:21:12 +00:00
2026-02-25 19:36:13 +00:00
2026-02-25 19:51:14 +00:00
2026-02-25 19:53:15 +00:00
2026-02-25 19:55:16 +00:00
2026-02-25 20:11:17 +00:00
2026-02-25 20:33:18 +00:00
2026-02-26 10:54:58 +00:00
2026-02-26 10:42:34 +00:00
2026-02-25 21:55:20 +00:00
2026-02-25 21:55:20 +00:00
2026-02-25 21:57:21 +00:00
2026-02-25 22:12:22 +00:00
2026-02-26 12:17:07 +00:00
2026-02-26 14:58:52 +00:00
2026-02-26 14:58:52 +00:00
2026-02-26 14:58:52 +00:00
2026-02-26 14:58:52 +00:00
2026-02-26 14:58:52 +00:00