@su-record/vibe 2.5.9 → 2.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -695,46 +695,82 @@ If score is below 85, attempt automatic fixes:
695
695
  | Missing error handling | Add common error scenarios |
696
696
  | Missing performance targets | Apply industry standard criteria |
697
697
 
698
- ### 8. SPEC Review (GPT/Gemini) - Iterative Review Loop
698
+ ### 8. SPEC Review (GPT/Gemini) - 3-Round Mandatory Review
699
699
 
700
- **Default: Iterative review until convergence (max 3 rounds)**
700
+ **🚨 CRITICAL: YOU MUST EXECUTE ALL 3 ROUNDS. DO NOT SKIP.**
701
701
 
702
702
  ```bash
703
- /vibe.spec "feature" # Default: Iterative review (max 3 rounds)
704
- /vibe.spec "feature" --quick # Quick mode: Single review round
705
- ```
706
-
707
- **Iterative Review Flow:**
708
-
709
- ```
710
- SPEC Draft
711
-
712
- ┌─────────────────────────────────────────┐
713
- │ Round 1: GPT + Gemini parallel review │
714
- │ ↓ │
715
- │ Apply feedback Update SPEC │
716
- │ ↓ │
717
- │ Round 2: Re-review updated SPEC │
718
- │ ↓ │
719
- │ Apply feedback Update SPEC │
720
- │ ↓ │
721
- │ Round 3: Final review (if needed) │
722
- └─────────────────────────────────────────┘
723
-
724
- Convergence check:
725
- - Both models: "no major issues" → Done
726
- - Same feedback as previous round → Done
727
- - Max 3 rounds reached → Done
728
-
729
- Final SPEC + Feature files
730
- ```
731
-
732
- **Convergence Criteria:**
733
- - Both GPT and Gemini respond with no P1/P2 issues
734
- - Feedback is identical to previous round (no new improvements)
735
- - Maximum 3 rounds completed
736
-
737
- **After SPEC completion, external LLM review → Auto-apply:**
703
+ /vibe.spec "feature" # Default: 3 rounds (MANDATORY)
704
+ /vibe.spec "feature" --quick # Quick mode: 1 round only
705
+ ```
706
+
707
+ **3-Round Review Process (MANDATORY):**
708
+
709
+ ```
710
+ round_count = 0
711
+
712
+ WHILE round_count < 3:
713
+ round_count += 1
714
+
715
+ print(f"━━━ Round {round_count}/3 ━━━")
716
+
717
+ # 1. Call GPT + Gemini in parallel (Bash)
718
+ gpt_result = Bash("node llm-orchestrate.js gpt ...")
719
+ gemini_result = Bash("node llm-orchestrate.js gemini ...")
720
+
721
+ # 2. Merge and apply feedback
722
+ apply_feedback(gpt_result, gemini_result)
723
+ update_spec()
724
+
725
+ # 3. Show progress
726
+ print(f"✅ Round {round_count}/3 complete")
727
+
728
+ # 4. Early exit ONLY if BOTH models say "no issues"
729
+ IF gpt_result.no_issues AND gemini_result.no_issues:
730
+ print("Both models: no issues found. Stopping early.")
731
+ BREAK
732
+
733
+ print(f"🎉 Review complete! Total rounds: {round_count}")
734
+ ```
735
+
736
+ **🚨 RULES:**
737
+ 1. **ALWAYS start Round 1** - never skip
738
+ 2. **ALWAYS continue to Round 2** unless both models return "no issues"
739
+ 3. **ALWAYS continue to Round 3** unless both models return "no issues" in Round 2
740
+ 4. **MUST show "Round X/3"** in output for each round
741
+ 5. **Early exit ONLY when BOTH GPT AND Gemini say "no issues"**
742
+
743
+ **Output format for each round:**
744
+
745
+ ```
746
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
747
+ 🔍 SPEC REVIEW - Round 1/3
748
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
749
+ [GPT] 3 issues found: ...
750
+ [Gemini] 2 issues found: ...
751
+ ✅ Applied 5 improvements
752
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
753
+
754
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
755
+ 🔍 SPEC REVIEW - Round 2/3
756
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
757
+ [GPT] 1 issue found: ...
758
+ [Gemini] 0 issues found
759
+ ✅ Applied 1 improvement
760
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
761
+
762
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
763
+ 🔍 SPEC REVIEW - Round 3/3
764
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
765
+ [GPT] 0 issues found
766
+ [Gemini] 0 issues found
767
+ ✅ No changes needed
768
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
769
+
770
+ 🎉 SPEC Review complete! 3 rounds, 6 total improvements
771
+ ```
772
+
773
+ **After SPEC draft, execute review loop:**
738
774
 
739
775
  ```
740
776
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "2.5.9",
3
+ "version": "2.5.10",
4
4
  "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework with 35+ integrated tools",
5
5
  "type": "module",
6
6
  "main": "dist/cli/index.js",