CI / build (push) Has been cancelled
- Fix decomposition:approved and human_intervention dead-end phases - Add scripts/autopilot.py: real drive_all() implementation - Fix guard plugin: throw Error instead of injecting user messages - Fix status.py: double continue, _require_state, --list-states - Add Category 3 (git-based modification) audit - Add Category 5 (stuck-task detection) audit - All 206 tests pass
708 B
708 B
Fix Dead-End Phases
Problem
decomposition:approvedhas[]in LEGAL_TRANSITIONS (status.py:91). Parent tasks stuck forever.human_interventionnot in LEGAL_TRANSITIONS at all. Referee can transition into it but never out.
Fix
- Add
decomposition:approved → [complete]to LEGAL_TRANSITIONS (parent task completes when all subtasks done) - Add
human_intervention → [referee, complete]to LEGAL_TRANSITIONS (user can send back to referee or mark complete)
Verification
status.py --transition complete --task <t> --project .on a decomposition:approved task should succeedstatus.py --transition referee --task <t> --project .on a human_intervention task should succeed