@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.
- package/commands/vibe.spec.md +73 -37
- package/package.json +1 -1
package/commands/vibe.spec.md
CHANGED
|
@@ -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) -
|
|
698
|
+
### 8. SPEC Review (GPT/Gemini) - 3-Round Mandatory Review
|
|
699
699
|
|
|
700
|
-
|
|
700
|
+
**🚨 CRITICAL: YOU MUST EXECUTE ALL 3 ROUNDS. DO NOT SKIP.**
|
|
701
701
|
|
|
702
702
|
```bash
|
|
703
|
-
/vibe.spec "feature" # Default:
|
|
704
|
-
/vibe.spec "feature" --quick # Quick mode:
|
|
705
|
-
```
|
|
706
|
-
|
|
707
|
-
**
|
|
708
|
-
|
|
709
|
-
```
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
**
|
|
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
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|