Add Test Design phase: test_design.md prompt, workflow state machine, orchestrator updates, implement/referee reference TEST_PLAN.md

This commit is contained in:
2026-06-11 09:25:45 -04:00
parent fec11d29dc
commit f4587886b9
10 changed files with 193 additions and 22 deletions
+7
View File
@@ -44,10 +44,17 @@ Instead of memorizing trigger phrases for each phase, you can just say **"orches
**Trigger**: *"Design the {task-name} task"* (or just *"orchestrate"* in manual mode)
**Interaction**: Agent will grill you for design decisions, trade-offs, and constraints. Present draft for review. Get your sign-off before finalizing.
### Phase 1c: Test Design (Optional)
**Template**: `prompts/test_design.md`
**Output**: `TEST_PLAN.md`
**Trigger**: *"Design tests for the {task-name} task"* (or just *"orchestrate"* in manual mode)
**Interaction**: Agent will grill you for test coverage, edge cases, and test strategy. Present draft for review. Get your sign-off before finalizing.
### Phase 2: Implementation
**Template**: `prompts/implement.md`
**Output**: Code changes + test results
**Trigger**: *"Implement the {task-name} task"* (or just *"orchestrate"* in manual mode)
**Note**: The implementer follows the TEST_PLAN.md (if present) and implements code with tests using TDD.
### Phase 3: Bug Finding
**Template**: `prompts/bug_finder.md`