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,21 @@
# Adversarial Bug Report: hook-install-process
## Summary
No critical issues. Two minor observations.
## Bugs Found
### Bug 1: upgrade.sh doesn't verify python3 is available (Low)
- **Severity**: Low
- **Location**: scripts/upgrade.sh line 26
- **Description**: The script runs `python3 "$STATUS_SCRIPT" --upgrade` without checking if python3 exists. If python3 is not on PATH, the upgrade silently fails (due to `|| true`).
- **Suggested Fix**: Add a python3 availability check at the start.
### Bug 2: Pre-commit hook doesn't handle bare repos (Low)
- **Severity**: Low
- **Location**: scripts/git-hooks/pre-commit
- **Description**: If the project uses a bare repo or worktrees, `.git/hooks/` may not exist at the expected path.
- **Suggested Fix**: Use `git rev-parse --git-dir` instead of assuming `.git/hooks/`.
## Score
+5