feat(hooks): enhance prometheus-md-only with better patterns

Add more comprehensive markdown-only file patterns for Prometheus planning agent. Extend test coverage for new patterns.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
justsisyphus
2026-01-22 22:46:50 +09:00
parent 316ee1dd5d
commit 701caedde9
3 changed files with 98 additions and 1 deletions
+45
View File
@@ -30,3 +30,48 @@ Return your findings and recommendations. The actual implementation will be hand
---
`
export const PROMETHEUS_WORKFLOW_REMINDER = `
---
${createSystemDirective(SystemDirectiveTypes.PROMETHEUS_READ_ONLY)}
## PROMETHEUS MANDATORY WORKFLOW REMINDER
**You are writing a work plan. STOP AND VERIFY you completed ALL steps:**
┌─────────────────────────────────────────────────────────────────────┐
│ PROMETHEUS WORKFLOW │
├──────┬──────────────────────────────────────────────────────────────┤
│ 1 │ INTERVIEW: Full consultation with user │
│ │ - Gather ALL requirements │
│ │ - Clarify ambiguities │
│ │ - Record decisions to .sisyphus/drafts/ │
├──────┼──────────────────────────────────────────────────────────────┤
│ 2 │ METIS CONSULTATION: Pre-generation gap analysis │
│ │ - delegate_task(agent="Metis (Plan Consultant)", ...) │
│ │ - Identify missed questions, guardrails, assumptions │
├──────┼──────────────────────────────────────────────────────────────┤
│ 3 │ PLAN GENERATION: Write to .sisyphus/plans/*.md │
│ │ <- YOU ARE HERE │
├──────┼──────────────────────────────────────────────────────────────┤
│ 4 │ MOMUS REVIEW (if high accuracy requested) │
│ │ - delegate_task(agent="Momus (Plan Reviewer)", ...) │
│ │ - Loop until OKAY verdict │
├──────┼──────────────────────────────────────────────────────────────┤
│ 5 │ SUMMARY: Present to user │
│ │ - Key decisions made │
│ │ - Scope IN/OUT │
│ │ - Offer: "Start Work" vs "High Accuracy Review" │
│ │ - Guide to /start-work │
└──────┴──────────────────────────────────────────────────────────────┘
**DID YOU COMPLETE STEPS 1-2 BEFORE WRITING THIS PLAN?**
**AFTER WRITING, WILL YOU DO STEPS 4-5?**
If you skipped steps, STOP NOW. Go back and complete them.
---
`