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
884 B
884 B
Fix status.py Bugs
Problem
- Neutered target-phase artifact check (status.py:488-492): loop body is
pass, check never executes - Double
continue(status.py:1003-1004, 1057-1058): unreachable dead code cmd_approveuses_read_state(status.py:521): weaker than_require_state, silently handles untracked tasks- No
--list-statescommand: agents can't discover valid phases programmatically
Fix
- Activate target-phase artifact check (remove
pass, add actual validation) - Remove duplicate
continuestatements - Change
cmd_approveto use_require_statefor consistency - Add
--list-statesargument that prints VALID_PHASES
Verification
- Target-phase artifact check blocks transitions when target's required artifact is missing
- No dead code
cmd_approverejects untracked tasks--list-statesprints all valid phases