20 lines
1.0 KiB
Markdown
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
|