# Fix Dead-End Phases ## Problem - `decomposition:approved` has `[]` in LEGAL_TRANSITIONS (status.py:91). Parent tasks stuck forever. - `human_intervention` not in LEGAL_TRANSITIONS at all. Referee can transition into it but never out. ## Fix 1. Add `decomposition:approved → [complete]` to LEGAL_TRANSITIONS (parent task completes when all subtasks done) 2. Add `human_intervention → [referee, complete]` to LEGAL_TRANSITIONS (user can send back to referee or mark complete) ## Verification - `status.py --transition complete --task --project .` on a decomposition:approved task should succeed - `status.py --transition referee --task --project .` on a human_intervention task should succeed