Archive completed tasks, add cleanup commands, self-documenting dashboard UI
CI / build (push) Has been cancelled
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
This commit is contained in:
@@ -1 +0,0 @@
|
||||
complete
|
||||
@@ -1 +0,0 @@
|
||||
# ADVERSARIAL_BUG_REPORT\n\nNo adversarial issues found.
|
||||
@@ -1 +0,0 @@
|
||||
# BUG_REPORT\n\nNo bugs found.
|
||||
@@ -1 +0,0 @@
|
||||
# DOC_REVIEW\n\nChanges are minimal and well-understood.
|
||||
@@ -1,10 +0,0 @@
|
||||
# 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
|
||||
@@ -1,4 +0,0 @@
|
||||
# Review
|
||||
- **Status**: approved
|
||||
- **Timestamp**: 2026-06-15T17:33:34.936632
|
||||
- **Comment**:
|
||||
@@ -1,13 +0,0 @@
|
||||
# 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
|
||||
@@ -1,3 +0,0 @@
|
||||
VERDICT: PASS
|
||||
|
||||
All fixes verified. 206 tests pass.
|
||||
Reference in New Issue
Block a user