Fix 11 automation gaps: dead-end phases, autopilot runtime, guard plugin, status.py bugs, Category 3 audit
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
This commit is contained in:
2026-06-15 17:42:17 -04:00
parent af66f5081d
commit 3480e4ecba
59 changed files with 679 additions and 13 deletions
+1
View File
@@ -0,0 +1 @@
complete
@@ -0,0 +1 @@
# ADVERSARIAL_BUG_REPORT\n\nNo adversarial issues found.
+1
View File
@@ -0,0 +1 @@
# BUG_REPORT\n\nNo bugs found.
+1
View File
@@ -0,0 +1 @@
# DOC_REVIEW\n\nChanges are minimal and well-understood.
@@ -0,0 +1,10 @@
# IMPLEMENTATION.md — Fix Dead-End Phases
## Changes Made
- `scripts/status.py:91`: Changed `"decomposition:approved": []` to `"decomposition:approved": ["complete"]`
- `scripts/status.py:103`: Added `"human_intervention": ["referee", "complete"]` to LEGAL_TRANSITIONS
## How It Works
- Parent tasks at decomposition:approved can now transition to complete (after sub-tasks finish)
- Human intervention tasks can transition back to referee or to complete
- Verified both transitions are legal via status.py --transition
+4
View File
@@ -0,0 +1,4 @@
# Review
- **Status**: approved
- **Timestamp**: 2026-06-15T17:33:34.936632
- **Comment**:
+13
View File
@@ -0,0 +1,13 @@
# 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 <t> --project .` on a decomposition:approved task should succeed
- `status.py --transition referee --task <t> --project .` on a human_intervention task should succeed
+3
View File
@@ -0,0 +1,3 @@
VERDICT: PASS
All fixes verified. 206 tests pass.