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:
@@ -0,0 +1,27 @@
|
||||
# Implementation: Hook Installation in Onboarding and Upgrade
|
||||
|
||||
## Changes
|
||||
|
||||
### 1. prompts/onboarding.md — Step 2c: Pre-Commit Hook Installation
|
||||
- Added Step 2c between VRAM config and Output sections
|
||||
- Checks for `.git/hooks/` directory
|
||||
- Creates symlink from `.git/hooks/pre-commit` to `~/.automaton/scripts/git-hooks/pre-commit`
|
||||
- Warns if existing hook is not our symlink
|
||||
- Verifies hook works with `status.py --can-edit`
|
||||
|
||||
### 2. scripts/upgrade.sh — Hook installation during upgrade
|
||||
- Added after the "Upgrade Complete" message
|
||||
- Detects `.git/hooks/` directory
|
||||
- If hook doesn't exist: creates symlink
|
||||
- If hook is already our symlink: reports "already linked"
|
||||
- If hook exists but is not our symlink: warns user, prints manual install command
|
||||
- If no `.git/hooks/`: prints note with manual install command
|
||||
|
||||
### 3. scripts/install.sh — Post-install next steps
|
||||
- Replaced single "Next step" with numbered list
|
||||
- Added hook installation as step 2
|
||||
- Added explanation of what the hook does
|
||||
|
||||
## Tests
|
||||
- All 200 tests pass
|
||||
- Shell syntax checks pass for install.sh and upgrade.sh
|
||||
Reference in New Issue
Block a user