Files
automaton/tasks/complete/fix-prompt-consistency/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

20 lines
1.0 KiB
Markdown

# Implementation: Fix Prompt Consistency
## Summary
- Added `## Stop Condition (MANDATORY)` block to `prompts/bug_finder.md` requiring CONTRACT_MET output
- Added `## Stop Condition (MANDATORY)` block to `prompts/adversarial_bug_find.md` requiring CONTRACT_MET output (retaining ADVERSARIAL_BUG_FIND_COMPLETE as additional signal)
- Fixed deprecated `{project}/tasks/onboarding/` path in `prompts/onboarding.md:67` → `{project}/.automaton/tasks/onboarding/`
- Expanded `tests/test_prompt_paths.py` with `test_no_concrete_legacy_task_paths` that catches `{project}/tasks/<name>/` patterns beyond just the `{task-name}` placeholder
- All 116 tests pass (53 prompt path tests + 63 other)
## Changes
- `prompts/bug_finder.md`: Added stop condition block
- `prompts/adversarial_bug_find.md`: Added stop condition block
- `prompts/onboarding.md`: Fixed line 67 canonical path
- `tests/test_prompt_paths.py`: Added `CONCRETE_LEGACY_PATH` regex and `test_no_concrete_legacy_task_paths` parametrized test
## Test Results
116 passed in 0.07s
## Blockers
None