Tom Boucher
a4764c5611
fix(execute-phase): resurrection-detection must check git history before deleting new .planning/ files ( #2510 )
...
The guard at the worktree-merge resurrection block was inverting the
intended logic: it deleted any .planning/ file absent from PRE_MERGE_FILES,
which includes brand-new files (e.g. SUMMARY.md just created by the
executor). A genuine resurrection is a file that was previously tracked on
main, deliberately removed, and then re-introduced by the merge. Detecting
that requires a git history check — not just tree membership.
Fix: replace the PRE_MERGE_FILES grep guard with a `git log --follow
--diff-filter=D` check that only removes the file if it has a deletion
event in main's ancestry.
Closes #2501
2026-04-21 09:46:01 -04:00
..
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-05 10:23:41 -04:00
2026-04-20 10:10:16 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-20 18:09:21 -04:00
2026-04-15 22:46:31 -04:00
2026-04-10 12:30:46 -04:00
2026-04-20 18:09:21 -04:00
2026-04-05 10:23:41 -04:00
2026-04-20 18:09:21 -04:00
2026-04-17 09:47:15 -06:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-21 09:46:01 -04:00
2026-04-15 22:46:31 -04:00
2026-04-17 09:47:15 -06:00
2026-04-20 18:21:35 -04:00
2026-04-04 07:24:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-20 18:21:35 -04:00
2026-04-20 18:21:23 -04:00
2026-04-17 09:47:15 -06:00
2026-04-17 17:12:02 -05:00
2026-04-10 12:30:46 -04:00
2026-04-20 18:09:02 -04:00
2026-04-15 22:46:31 -04:00
2026-04-04 07:24:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-16 17:08:13 -04:00
2026-04-15 22:46:31 -04:00
2026-04-20 18:25:24 -04:00
2026-04-20 10:09:33 -04:00
2026-04-15 22:46:31 -04:00
2026-04-17 09:47:15 -06:00
2026-03-12 11:35:45 -06:00
2026-04-10 12:30:46 -04:00
2026-04-17 09:47:15 -06:00
2026-04-15 22:46:31 -04:00
2026-04-21 08:40:39 -04:00
2026-04-20 09:31:34 -04:00
2026-04-15 22:46:31 -04:00
2026-04-10 11:25:55 -04:00
2026-04-18 12:11:07 -04:00
2026-04-15 22:46:31 -04:00
2026-04-20 10:11:00 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-15 22:46:31 -04:00
2026-04-04 07:24:31 -04:00
2026-04-20 18:09:21 -04:00
2026-04-15 22:46:31 -04:00
2026-04-17 09:47:15 -06:00
2026-04-20 18:09:21 -04:00
2026-04-16 17:08:30 -04:00
2026-04-20 14:04:31 -06:00
2026-04-20 14:04:31 -06:00
2026-04-15 22:46:31 -04:00
2026-04-20 18:21:43 -04:00
2026-04-20 18:21:35 -04:00
2026-04-17 10:38:47 -06:00
2026-04-15 22:46:31 -04:00
2026-04-17 14:45:03 -04:00
2026-04-15 16:43:02 -04:00
2026-04-20 18:37:32 -04:00
2026-04-15 22:46:31 -04:00
2026-04-20 10:10:16 -04:00
2026-04-20 18:09:21 -04:00