feat(workspace): point planning guardrails at omo
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
export const PROMETHEUS_PLAN_TEMPLATE = `## Plan Structure
|
||||
|
||||
Generate plan to: \`.sisyphus/plans/{name}.md\`
|
||||
Generate plan to: \`.omo/plans/{name}.md\`
|
||||
|
||||
\`\`\`markdown
|
||||
# {Plan Title}
|
||||
@@ -81,7 +81,7 @@ Generate plan to: \`.sisyphus/plans/{name}.md\`
|
||||
|
||||
### QA Policy
|
||||
Every task MUST include agent-executed QA scenarios (see TODO template below).
|
||||
Evidence saved to \`.sisyphus/evidence/task-{N}-{scenario-slug}.{ext}\`.
|
||||
Evidence saved to \`.omo/evidence/task-{N}-{scenario-slug}.{ext}\`.
|
||||
|
||||
- **Frontend/UI**: Use Playwright (playwright skill) - Navigate, interact, assert DOM, screenshot
|
||||
- **TUI/CLI**: Use interactive_bash (tmux) - Run command, send keystrokes, validate output
|
||||
@@ -241,7 +241,7 @@ Max Concurrent: 7 (Waves 1 & 2)
|
||||
3. [Assertion - exact expected value, not "verify it works"]
|
||||
Expected Result: [Concrete, observable, binary pass/fail]
|
||||
Failure Indicators: [What specifically would mean this failed]
|
||||
Evidence: .sisyphus/evidence/task-{N}-{scenario-slug}.{ext}
|
||||
Evidence: .omo/evidence/task-{N}-{scenario-slug}.{ext}
|
||||
|
||||
Scenario: [Failure/edge case - what SHOULD fail gracefully]
|
||||
Tool: [same format]
|
||||
@@ -250,7 +250,7 @@ Max Concurrent: 7 (Waves 1 & 2)
|
||||
1. [Trigger the error condition]
|
||||
2. [Assert error is handled correctly]
|
||||
Expected Result: [Graceful failure with correct error message/code]
|
||||
Evidence: .sisyphus/evidence/task-{N}-{scenario-slug}-error.{ext}
|
||||
Evidence: .omo/evidence/task-{N}-{scenario-slug}-error.{ext}
|
||||
\\\`\\\`\\\`
|
||||
|
||||
> **Specificity requirements - every scenario MUST use:**
|
||||
@@ -285,7 +285,7 @@ Max Concurrent: 7 (Waves 1 & 2)
|
||||
> **Never mark F1-F4 as checked before getting user's okay.** Rejection or user feedback -> fix -> re-run -> present again -> wait for okay.
|
||||
|
||||
- [ ] F1. **Plan Compliance Audit** \u2014 \`oracle\`
|
||||
Read the plan end-to-end. For each "Must Have": verify implementation exists (read file, curl endpoint, run command). For each "Must NOT Have": search codebase for forbidden patterns \u2014 reject with file:line if found. Check evidence files exist in .sisyphus/evidence/. Compare deliverables against plan.
|
||||
Read the plan end-to-end. For each "Must Have": verify implementation exists (read file, curl endpoint, run command). For each "Must NOT Have": search codebase for forbidden patterns \u2014 reject with file:line if found. Check evidence files exist in .omo/evidence/. Compare deliverables against plan.
|
||||
Output: \`Must Have [N/N] | Must NOT Have [N/N] | Tasks [N/N] | VERDICT: APPROVE/REJECT\`
|
||||
|
||||
- [ ] F2. **Code Quality Review** \u2014 \`unspecified-high\`
|
||||
@@ -293,7 +293,7 @@ Max Concurrent: 7 (Waves 1 & 2)
|
||||
Output: \`Build [PASS/FAIL] | Lint [PASS/FAIL] | Tests [N pass/N fail] | Files [N clean/N issues] | VERDICT\`
|
||||
|
||||
- [ ] F3. **Real Manual QA** \u2014 \`unspecified-high\` (+ \`playwright\` skill if UI)
|
||||
Start from clean state. Execute EVERY QA scenario from EVERY task \u2014 follow exact steps, capture evidence. Test cross-task integration (features working together, not isolation). Test edge cases: empty state, invalid input, rapid actions. Save to \`.sisyphus/evidence/final-qa/\`.
|
||||
Start from clean state. Execute EVERY QA scenario from EVERY task \u2014 follow exact steps, capture evidence. Test cross-task integration (features working together, not isolation). Test edge cases: empty state, invalid input, rapid actions. Save to \`.omo/evidence/final-qa/\`.
|
||||
Output: \`Scenarios [N/N pass] | Integration [N/N] | Edge Cases [N tested] | VERDICT\`
|
||||
|
||||
- [ ] F4. **Scope Fidelity Check** \u2014 \`deep\`
|
||||
|
||||
Reference in New Issue
Block a user