CI / build (push) Has been cancelled
- Archive 79 completed framework-dev tasks from tasks/ -> tasks/complete/ - status.py: add --cleanup-done and --install-cleanup-schedule commands - Add scripts/automaton-cleanup.sh for periodic task archiving - Dashboard: rename 'Background' tab -> 'Agent', 'Cleanup' agent -> 'Completed Task Archiver', remove redundant group headers and pill badges, dim inactive agent placeholders - .rules.md: add Self-Documenting UI Names rule - New tests: test_cleanup_done.py, expanded test_app.py and test_task.py
13 lines
1.3 KiB
Markdown
13 lines
1.3 KiB
Markdown
# Adversarial Bug Report: Autopilot Gate Integration
|
|
|
|
## Deep Review
|
|
The gate-check loop in orchestrate.md replaces the previous drive_all() pseudocode with an explicit phase-by-phase process. Each phase is validated before and after. Approval gates are hard stops, not soft suggestions.
|
|
|
|
## Potential Issues
|
|
1. **Self-approval risk**: In autopilot mode, the orchestrator prompt says "STOP and wait for user approval" at approval gates. However, the orchestrator is the same agent that completes the phase. A non-compliant orchestrator could skip the approval gate and call `--approve` itself. Mitigation: `--approve` is designed to require explicit user action, but the enforcement is prompt-based within a single agent session.
|
|
|
|
2. **Session context loss at approval pause**: When autopilot pauses for user approval and the user returns in a new session, the orchestrator must re-read `.state` to know where it left off. This works correctly but depends on the `.state` file being written before the pause.
|
|
|
|
3. **No timeout on approval pauses**: If the user never returns to approve a phase, the task is stuck in `:awaiting_approval` indefinitely. This is by design (user must approve), but there's no notification mechanism.
|
|
|
|
## Verdict: PASS — the self-approval risk is an inherent limitation of prompt-based enforcement, not a bug. |