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 @@
# Verdict: project-scoping-enforcement
## Status: PASS
**Completion Date**: 2026-06-15
## Summary
Fixed 7 critical and medium scoping issues that would cause silent misdirection when working on the automaton framework and another project simultaneously. Added `--project` flag to all status.py commands across 16+ files. Closed the pre-v2.0 task bypass gap by making all operational commands refuse untracked tasks. Added `--upgrade` command for bootstrapping `.state` files.
## Findings
- All 192 tests pass
- Critical scoping issues (_find_project_dir false positive, silent fallback, scope check) fixed
- Dashboard scope fix implemented
- `--project {project}` added everywhere
- Untracked task enforcement implemented
- `--upgrade` command implemented
- Process violation: task was created after implementation was complete — this is a behavioral issue, not a code issue
## Remaining Issues
- `_infer_state_from_artifacts` heuristic returns `bug_find` instead of `research` for SPEC.md-only tasks (low impact, only affects `--upgrade`)
- No automated enforcement preventing agents from editing files without a task (inherent to prompt-driven frameworks)
## Score
+10