Files
automaton/tasks/complete/upgrade-pre-commit-autopilot-check/IMPLEMENTATION.md
T
Lap Tran 4a2301b077
CI / build (push) Has been cancelled
Archive completed tasks, add cleanup commands, self-documenting dashboard UI
- 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
2026-06-24 22:43:33 -04:00

497 B

Implementation: Upgrade Pre-Commit Hook

Changes

  • Modified scripts/git-hooks/pre-commit
  • Added autopilot detection: reads .agent.md for Autopilot: Enabled
  • Added non-terminal task scanner: runs status.py --list and checks for non-complete tasks
  • Added hollow task warning: if autopilot is on and non-terminal tasks exist, prints warning
  • Does NOT block commit — only warns

Files Changed

  • scripts/git-hooks/pre-commit: ~25 lines added after the existing edit-phase check