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 @@
|
||||
complete
|
||||
@@ -0,0 +1,25 @@
|
||||
# Implementation: Standardize Task Path Conventions
|
||||
|
||||
## Summary
|
||||
Updated all prompts under `prompts/` to use the canonical task path `{project}/.automaton/tasks/{task-name}/` instead of the deprecated `{project}/tasks/{task-name}/`.
|
||||
|
||||
## Files Changed
|
||||
- `prompts/decompose.md`
|
||||
- `prompts/test_design.md`
|
||||
- `prompts/doc_review.md`
|
||||
- `prompts/workflow.md`
|
||||
- `prompts/referee.md`
|
||||
- `prompts/adversarial_bug_find.md`
|
||||
- `prompts/research.md`
|
||||
- `prompts/design.md`
|
||||
- `prompts/implement.md`
|
||||
- `prompts/bug_finder.md`
|
||||
- `tests/test_prompt_paths.py` (new regression test)
|
||||
|
||||
## Verification
|
||||
- `rg "\{project\}/tasks/\{task-name\}" prompts/ templates/` returns no matches.
|
||||
- `python -m pytest tests/test_prompt_paths.py -v` passes (27 tests).
|
||||
|
||||
## Decisions
|
||||
- Templates under `templates/tasks/` did not contain legacy paths.
|
||||
- The regression test lives in `tests/test_prompt_paths.py` and will fail CI if a legacy path is reintroduced.
|
||||
@@ -0,0 +1,4 @@
|
||||
# Review
|
||||
- **Status**: approved
|
||||
- **Timestamp**: 2026-06-14T09:59:50.713408
|
||||
- **Comment**:
|
||||
@@ -0,0 +1,30 @@
|
||||
# SPEC: Standardize Task Path Conventions
|
||||
|
||||
## Goal
|
||||
Ensure every prompt uses the canonical task path `{project}/.automaton/tasks/{task-name}/`.
|
||||
|
||||
## Requirements
|
||||
1. Update all prompts under `prompts/` that reference task paths:
|
||||
- `research.md`
|
||||
- `design.md`
|
||||
- `test_design.md`
|
||||
- `implement.md`
|
||||
- `bug_finder.md`
|
||||
- `adversarial_bug_find.md`
|
||||
- `doc_review.md`
|
||||
- `referee.md`
|
||||
- `decompose.md`
|
||||
- `onboarding.md`
|
||||
- `compaction.md`
|
||||
2. Update `templates/tasks/*` artifacts if they contain legacy paths.
|
||||
3. Add a regression test `tests/test_prompt_paths.py` that fails if any prompt reintroduces the deprecated `{project}/tasks/{task-name}/` path.
|
||||
|
||||
## Acceptance Criteria
|
||||
- [ ] No prompt references `{project}/tasks/{task-name}/` without `.automaton/`.
|
||||
- [ ] Regression test exists and passes.
|
||||
|
||||
## Non-Goals
|
||||
- Changing any prompt semantics beyond path strings.
|
||||
|
||||
## Stop Condition
|
||||
When all acceptance criteria are met, output "CONTRACT_MET".
|
||||
@@ -0,0 +1,18 @@
|
||||
# Verdict: Standardize Task Path Conventions
|
||||
|
||||
## Status: PASS
|
||||
**Completion Date**: 2026-06-14
|
||||
|
||||
## Summary
|
||||
All prompts now use the canonical task path `{project}/.automaton/tasks/{task-name}/`. A regression test prevents reintroduction of the deprecated path.
|
||||
|
||||
## Findings
|
||||
- All 10 affected prompt files updated.
|
||||
- No legacy paths remain in `prompts/` or `templates/`.
|
||||
- Regression test passes.
|
||||
|
||||
## Remaining Issues
|
||||
None.
|
||||
|
||||
## Score
|
||||
+10 PASS
|
||||
Reference in New Issue
Block a user