Kevin
Reaping — two sweeps, one landing test
worktree_reaper retires directories; branch_reaper retires bare refs. Both gate on landed_on_main (ancestry OR patch-id OR tree identity) and one protect list.
Provenance
This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.
- daemon/src/worktree_reaper.py
- daemon/src/branch_reaper.py
- daemon/config/worktree-retire.yaml