Fix bugs 1-11: interactive research/design, doc review phase, orchestrator state machine, design phase in workflow, fix verdict task creation contradiction

This commit is contained in:
2026-06-10 23:44:55 -04:00
parent 3cdb95e083
commit 3ac1b0858b
12 changed files with 600 additions and 553 deletions
+24 -6
View File
@@ -26,30 +26,48 @@ The agent must report back with:
Once onboarded, the project moves through these phases. The agent should use the provided prompts to transition between them.
### Easier workflow with "orchestrate"
Instead of memorizing trigger phrases for each phase, you can just say **"orchestrate"** or **"continue"** and the Orchestrator will:
- In **Autopilot mode**: automatically drive the task all the way to completion
- In **manual mode**: tell you the next step and give you the command
### Phase 1: Research
**Template**: `prompts/research.md`
**Output**: `SPEC.md`
**Trigger**: *"Research {task-description}"*
**Trigger**: *"Research {task-description}"* (or just *"orchestrate"* in manual mode)
**Interaction**: Agent will grill you for requirements, edge cases, and constraints. Present draft for review. Get your sign-off before finalizing.
### Phase 1b: Design (Optional)
**Template**: `prompts/design.md`
**Output**: `DESIGN.md`
**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 2: Implementation
**Template**: `prompts/implement.md`
**Output**: Code changes + test results
**Trigger**: *"Implement the {task-name} task"*
**Trigger**: *"Implement the {task-name} task"* (or just *"orchestrate"* in manual mode)
### Phase 3: Bug Finding
**Template**: `prompts/bug_finder.md`
**Output**: `BUG_REPORT.md`
**Trigger**: *"Find bugs in the {task-name} task"*
**Trigger**: *"Find bugs in the {task-name} task"* (or just *"orchestrate"* in manual mode)
### Phase 4: Adversarial Verification
**Template**: `prompts/adversarial_bug_find.md`
**Output**: `ADVERSARIAL_BUG_REPORT.md`
**Trigger**: *"Perform adversarial bug find for {task-name}"*
**Trigger**: *"Perform adversarial bug find for {task-name}"* (or just *"orchestrate"* in manual mode)
### Phase 5: Referee
### Phase 5: Documentation Review
**Template**: `prompts/doc_review.md`
**Output**: `DOC_REVIEW.md`
**Trigger**: *"Review docs for the {task-name} task"* (or just *"orchestrate"* in manual mode)
### Phase 6: Referee
**Template**: `prompts/referee.md`
**Output**: `VERDICT.md`
**Trigger**: *"Review the {task-name} task"*
**Trigger**: *"Review the {task-name} task"* (or just *"orchestrate"* in manual mode)
## Prompt Rendering Convention