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,20 @@
|
||||
# Implementation: fix-migrate-find-precedence
|
||||
|
||||
## Bug
|
||||
`migrate-project.sh` uses `find` without parentheses around `-name` tests combined with `-prune`, causing `-prune` to bind only to the last `-name` test. This results in incorrect pruning — some directories that should be pruned are still traversed.
|
||||
|
||||
## Fix
|
||||
Added parentheses around the `-name` tests in the `find` command at `scripts/migrate-project.sh:108`:
|
||||
|
||||
```diff
|
||||
- find . -name .git -o -name node_modules -o -name .automaton -prune ...
|
||||
+ find . \( -name .git -o -name node_modules -o -name .automaton \) -prune ...
|
||||
```
|
||||
|
||||
This ensures `-prune` applies to the entire OR-group, not just the last `-name` test.
|
||||
|
||||
## Files Changed
|
||||
- `scripts/migrate-project.sh` (line 108): added `\(` and `\)` around the `-name` group
|
||||
|
||||
## Tests
|
||||
No new tests added — shell script syntax change only. Verified with `bash -n scripts/migrate-project.sh`.
|
||||
Reference in New Issue
Block a user