Archive completed tasks, add cleanup commands, self-documenting dashboard UI
CI / build (push) Has been cancelled
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:
@@ -1,20 +0,0 @@
|
||||
# SPEC: Add Post-Commit Autopilot Driver Reminder
|
||||
|
||||
## Problem
|
||||
When autopilot is enabled, tasks can be left hanging after commits. There's no
|
||||
automated reminder to drive them to completion.
|
||||
|
||||
## Requirements
|
||||
1. Create a post-commit hook at `scripts/git-hooks/post-commit`
|
||||
2. After a commit succeeds, check if autopilot is enabled (.agent.md)
|
||||
3. If autopilot is enabled and non-terminal tasks exist, output a summary:
|
||||
- Number of non-terminal tasks
|
||||
- Their current phases
|
||||
- Clear instruction: "Run the orchestrator to drive them to completion"
|
||||
4. Exit 0 always (informational only, never blocks)
|
||||
|
||||
## Acceptance Criteria
|
||||
- Post-commit hook exists and is executable
|
||||
- Hook output is silent when no work remains or autopilot is off
|
||||
- Hook prints actionable summary when work exists and autopilot is on
|
||||
- bash -n passes syntax check
|
||||
Reference in New Issue
Block a user