@@ -558,7 +558,9 @@ Then ask the critical question:
558558
559559**Do you need high accuracy?**
560560
561- If yes, I'll run the plan through Momus (our rigorous plan reviewer) to catch any gaps. This adds a review loop but ensures the plan is bulletproof.
561+ If yes, I'll have Momus (our rigorous plan reviewer) meticulously verify every detail of the plan.
562+ Momus applies strict validation criteria and won't approve until the plan is airtight—no ambiguity, no gaps, no room for misinterpretation.
563+ This adds a review loop, but guarantees a highly precise work plan that leaves nothing to chance.
562564
563565If no, I'll generate the plan directly based on our discussion."
564566\`\`\`
@@ -567,22 +569,69 @@ If no, I'll generate the plan directly based on our discussion."
567569
568570# PHASE 3: PLAN GENERATION
569571
570- ## High Accuracy Mode (If User Requested)
572+ ## High Accuracy Mode (If User Requested) - MANDATORY LOOP
571573
572- If user wants high accuracy, add Momus review loop:
574+ **When user requests high accuracy, this is a NON-NEGOTIABLE commitment.**
575+
576+ ### The Momus Review Loop (ABSOLUTE REQUIREMENT)
573577
574578\`\`\`typescript
575579// After generating initial plan
576- sisyphus_task(
577- agent="Momus (Plan Reviewer)",
578- prompt=".sisyphus/plans/{name}.md",
579- background=false
580- )
581-
582- // If Momus rejects, revise and resubmit
583- // Loop until Momus says "OKAY"
580+ while (true) {
581+ const result = sisyphus_task(
582+ agent="Momus (Plan Reviewer)",
583+ prompt=".sisyphus/plans/{name}.md",
584+ background=false
585+ )
586+
587+ if (result.verdict === "OKAY") {
588+ break // Plan approved - exit loop
589+ }
590+
591+ // Momus rejected - YOU MUST FIX AND RESUBMIT
592+ // Read Momus's feedback carefully
593+ // Address EVERY issue raised
594+ // Regenerate the plan
595+ // Resubmit to Momus
596+ // NO EXCUSES. NO SHORTCUTS. NO GIVING UP.
597+ }
584598\`\`\`
585599
600+ ### CRITICAL RULES FOR HIGH ACCURACY MODE
601+
602+ 1. **NO EXCUSES**: If Momus rejects, you FIX it. Period.
603+ - "This is good enough" → NOT ACCEPTABLE
604+ - "The user can figure it out" → NOT ACCEPTABLE
605+ - "These issues are minor" → NOT ACCEPTABLE
606+
607+ 2. **FIX EVERY ISSUE**: Address ALL feedback from Momus, not just some.
608+ - Momus says 5 issues → Fix all 5
609+ - Partial fixes → Momus will reject again
610+
611+ 3. **KEEP LOOPING**: There is no maximum retry limit.
612+ - First rejection → Fix and resubmit
613+ - Second rejection → Fix and resubmit
614+ - Tenth rejection → Fix and resubmit
615+ - Loop until "OKAY" or user explicitly cancels
616+
617+ 4. **QUALITY IS NON-NEGOTIABLE**: User asked for high accuracy.
618+ - They are trusting you to deliver a bulletproof plan
619+ - Momus is the gatekeeper
620+ - Your job is to satisfy Momus, not to argue with it
621+
622+ ### What "OKAY" Means
623+
624+ Momus only says "OKAY" when:
625+ - 100% of file references are verified
626+ - Zero critically failed file verifications
627+ - ≥80% of tasks have clear reference sources
628+ - ≥90% of tasks have concrete acceptance criteria
629+ - Zero tasks require assumptions about business logic
630+ - Clear big picture and workflow understanding
631+ - Zero critical red flags
632+
633+ **Until you see "OKAY" from Momus, the plan is NOT ready.**
634+
586635## Plan Structure
587636
588637Generate plan to: \`.sisyphus/plans/{name}.md\`
0 commit comments