Archive completed tasks, add cleanup commands, self-documenting dashboard UI
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:
Lap Tran
2026-06-24 22:43:33 -04:00
parent e13513faaa
commit 4a2301b077
572 changed files with 856 additions and 101 deletions
@@ -0,0 +1,23 @@
# Bug Report: Phase-Scoped Prompts
## Methodology
Reviewed all 9 phase prompts for ALLOWED/FORBIDDEN sections, approval gates, user override resistance, pre-work validation, and prompt length discipline.
## Acceptance Criteria
| # | Criterion | Result |
|---|-----------|--------|
| 1 | Every phase prompt has ALLOWED ACTIONS section | ✅ |
| 2 | Every phase prompt has FORBIDDEN ACTIONS section | ✅ |
| 3 | Every phase prompt includes user override resistance | ✅ |
| 4 | Every phase prompt includes `.state` precondition check | ✅ |
| 5 | Every phase prompt includes `--validate-folder` check | ✅ |
| 6 | Research/decomposition/design/test_design have approval gates | ✅ |
| 7 | implement/bug_finder/etc. do NOT have approval gates | ✅ |
| 8 | orchestrat.md FORBIDDEN includes "must use status.py --create-task" | ✅ |
| 9 | orchestrate.md reduced to under 200 lines | ✅ (143 lines) |
| 10 | No prompt exceeds 150 lines (except orchestrate.md) | ⚠️ See finding 1 |
## Findings
1. **Minor**: `decompose.md` exceeds the 150-line target (contains both the decomposition guidance and the approval gate template). The content is necessary and not easily trimmed without losing guidance. This is a soft target, not a hard limit.
## Verdict: PASS