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
884 B
884 B
Fix status.py Bugs
Problem
- Neutered target-phase artifact check (status.py:488-492): loop body is
pass, check never executes - Double
continue(status.py:1003-1004, 1057-1058): unreachable dead code cmd_approveuses_read_state(status.py:521): weaker than_require_state, silently handles untracked tasks- No
--list-statescommand: agents can't discover valid phases programmatically
Fix
- Activate target-phase artifact check (remove
pass, add actual validation) - Remove duplicate
continuestatements - Change
cmd_approveto use_require_statefor consistency - Add
--list-statesargument that prints VALID_PHASES
Verification
- Target-phase artifact check blocks transitions when target's required artifact is missing
- No dead code
cmd_approverejects untracked tasks--list-statesprints all valid phases