vibe-learning-opencode 0.1.3 → 0.1.5
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/dist/index.js +34 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -70,26 +70,34 @@ After mode behavior: Ask learning questions AFTER task completion.`,
|
|
|
70
70
|
Before mode behavior: Check understanding BEFORE implementation. Ask one question, then proceed.`,
|
|
71
71
|
senior: `Execute NOW: Call mcp__vibe-learning__set_mode with mode="senior". Confirm Senior mode enabled.
|
|
72
72
|
|
|
73
|
-
CRITICAL - FOR ALL SUBSEQUENT TASKS
|
|
73
|
+
CRITICAL - FOR ALL SUBSEQUENT TASKS, test understanding like a senior developer:
|
|
74
74
|
|
|
75
75
|
**[VibeLearning Senior Mode]**
|
|
76
|
-
[Round 1/3] [
|
|
77
|
-
_(skip:
|
|
76
|
+
[Round 1/3] [Senior-level question]?
|
|
77
|
+
_(skip: say "skip" to proceed)_
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
Question Style - Test understanding, not gather requirements:
|
|
80
|
+
\u274C WRONG: "What data will you cache?" (requirements gathering)
|
|
81
|
+
\u274C WRONG: "Redis or Memcached?" (tool selection)
|
|
82
|
+
\u2705 RIGHT: "Why do you need caching here?" (reasoning)
|
|
83
|
+
\u2705 RIGHT: "What is cache-aside pattern? How is it different from write-through?" (concept)
|
|
84
|
+
\u2705 RIGHT: "What problems can caching introduce?" (tradeoffs)
|
|
84
85
|
|
|
85
|
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
86
|
+
Flow:
|
|
87
|
+
- Round 1: Test conceptual understanding or ask WHY
|
|
88
|
+
- Round 2: Ask about tradeoffs, edge cases, or compare alternatives
|
|
89
|
+
- Round 3: (if needed) Give hint and ask again
|
|
90
|
+
- FINAL STEP (MANDATORY): Call record_learning tool, THEN say "Good! Implementing now."
|
|
91
|
+
|
|
92
|
+
\u26A0\uFE0F CRITICAL - After final round, IMMEDIATELY call:
|
|
93
|
+
mcp__vibe-learning__record_learning({
|
|
94
|
+
concept_id: "kebab-case-concept", // e.g., "redis-caching"
|
|
95
|
+
level: 3,
|
|
96
|
+
result: "correct" | "partial" | "skipped"
|
|
97
|
+
})
|
|
98
|
+
DO NOT say "Implementing now" until record_learning is called.
|
|
90
99
|
|
|
91
|
-
|
|
92
|
-
\u2705 RIGHT: "[Round 1/3] Why JWT over session-based auth?"`,
|
|
100
|
+
ONE question per message. Wait for answer.`,
|
|
93
101
|
"senior-light": `Execute NOW: Call mcp__vibe-learning__set_mode with mode="senior_light". Confirm mode changed.
|
|
94
102
|
|
|
95
103
|
Senior Light behavior: Present counterarguments but proceed after round 1. Don't block, just give feedback.`
|
|
@@ -100,15 +108,24 @@ var MODE_BEHAVIOR_PROMPTS = {
|
|
|
100
108
|
Format (MUST show header on Round 1):
|
|
101
109
|
**[VibeLearning Senior Mode]**
|
|
102
110
|
[Round 1/3] [One short question]?
|
|
111
|
+
_(skip: say "skip" to proceed)_
|
|
103
112
|
|
|
104
113
|
Flow:
|
|
105
114
|
- Round 1: MUST show header + "[Round 1/3] Why this approach?"
|
|
106
115
|
- Round 2: ALWAYS ask "[Round 2/3] What alternatives did you consider? Tradeoffs?"
|
|
107
116
|
(Skip only if user named 2+ alternatives with specific tradeoffs)
|
|
108
117
|
- Round 3: If Round 2 vague, "[Round 3/3] Hint: [hint]. What do you think?"
|
|
109
|
-
-
|
|
118
|
+
- FINAL STEP (MANDATORY): Call record_learning, THEN say "Good thinking! Implementing now."
|
|
119
|
+
|
|
120
|
+
\u26A0\uFE0F CRITICAL - After final round, IMMEDIATELY call:
|
|
121
|
+
mcp__vibe-learning__record_learning({
|
|
122
|
+
concept_id: "kebab-case-concept",
|
|
123
|
+
level: 3,
|
|
124
|
+
result: "correct" | "partial" | "skipped"
|
|
125
|
+
})
|
|
126
|
+
DO NOT say "Implementing now" until record_learning is called.
|
|
110
127
|
|
|
111
|
-
ONE question per round
|
|
128
|
+
ONE question per round. Be strict like a real senior.`,
|
|
112
129
|
before: `[VibeLearning - Before Mode]
|
|
113
130
|
|
|
114
131
|
Ask ONE short question: "Before implementing, [question]?"
|