@boshu2/vibe-check 1.7.0 โ†’ 1.8.1

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.
Files changed (98) hide show
  1. package/.agents/bundles/actionable-coaching-plan-2025-12-02.md +209 -0
  2. package/.agents/plans/git-forensics-enhancement-2025-12-05.md +493 -0
  3. package/.claude/skills/typescript-review.md +152 -0
  4. package/CHANGELOG.md +41 -5
  5. package/CLAUDE.md +85 -23
  6. package/Makefile +43 -19
  7. package/README.md +178 -172
  8. package/SECURITY.md +5 -1
  9. package/assets/logo-dark.svg +47 -0
  10. package/assets/logo.svg +47 -0
  11. package/claude-progress.json +28 -7
  12. package/claude-progress.txt +48 -0
  13. package/dist/analyzers/patterns.d.ts +62 -0
  14. package/dist/analyzers/patterns.d.ts.map +1 -0
  15. package/dist/analyzers/patterns.js +103 -0
  16. package/dist/analyzers/patterns.js.map +1 -0
  17. package/dist/analyzers/quality.d.ts +58 -0
  18. package/dist/analyzers/quality.d.ts.map +1 -0
  19. package/dist/analyzers/quality.js +114 -0
  20. package/dist/analyzers/quality.js.map +1 -0
  21. package/dist/analyzers/sessions.d.ts +45 -0
  22. package/dist/analyzers/sessions.d.ts.map +1 -0
  23. package/dist/analyzers/sessions.js +123 -0
  24. package/dist/analyzers/sessions.js.map +1 -0
  25. package/dist/cli.js +4 -0
  26. package/dist/cli.js.map +1 -1
  27. package/dist/commands/analyze.d.ts.map +1 -1
  28. package/dist/commands/analyze.js +5 -0
  29. package/dist/commands/analyze.js.map +1 -1
  30. package/dist/commands/forensics.d.ts +29 -0
  31. package/dist/commands/forensics.d.ts.map +1 -0
  32. package/dist/commands/forensics.js +213 -0
  33. package/dist/commands/forensics.js.map +1 -0
  34. package/dist/commands/index.d.ts +4 -0
  35. package/dist/commands/index.d.ts.map +1 -1
  36. package/dist/commands/index.js +11 -1
  37. package/dist/commands/index.js.map +1 -1
  38. package/dist/commands/insights.d.ts +3 -0
  39. package/dist/commands/insights.d.ts.map +1 -0
  40. package/dist/commands/insights.js +120 -0
  41. package/dist/commands/insights.js.map +1 -0
  42. package/dist/commands/pipeline.d.ts +3 -0
  43. package/dist/commands/pipeline.d.ts.map +1 -0
  44. package/dist/commands/pipeline.js +485 -0
  45. package/dist/commands/pipeline.js.map +1 -0
  46. package/dist/commands/profile.d.ts +0 -1
  47. package/dist/commands/profile.d.ts.map +1 -1
  48. package/dist/commands/profile.js +0 -4
  49. package/dist/commands/profile.js.map +1 -1
  50. package/dist/commands/session.d.ts +9 -0
  51. package/dist/commands/session.d.ts.map +1 -1
  52. package/dist/commands/session.js +95 -0
  53. package/dist/commands/session.js.map +1 -1
  54. package/dist/commands/sessions.d.ts +20 -0
  55. package/dist/commands/sessions.d.ts.map +1 -0
  56. package/dist/commands/sessions.js +201 -0
  57. package/dist/commands/sessions.js.map +1 -0
  58. package/dist/commands/watch.d.ts.map +1 -1
  59. package/dist/commands/watch.js +124 -7
  60. package/dist/commands/watch.js.map +1 -1
  61. package/dist/inner-loop/context-amnesia.d.ts +20 -0
  62. package/dist/inner-loop/context-amnesia.d.ts.map +1 -0
  63. package/dist/inner-loop/context-amnesia.js +249 -0
  64. package/dist/inner-loop/context-amnesia.js.map +1 -0
  65. package/dist/inner-loop/index.d.ts +39 -0
  66. package/dist/inner-loop/index.d.ts.map +1 -0
  67. package/dist/inner-loop/index.js +208 -0
  68. package/dist/inner-loop/index.js.map +1 -0
  69. package/dist/inner-loop/instruction-drift.d.ts +28 -0
  70. package/dist/inner-loop/instruction-drift.d.ts.map +1 -0
  71. package/dist/inner-loop/instruction-drift.js +260 -0
  72. package/dist/inner-loop/instruction-drift.js.map +1 -0
  73. package/dist/inner-loop/logging-only.d.ts +30 -0
  74. package/dist/inner-loop/logging-only.d.ts.map +1 -0
  75. package/dist/inner-loop/logging-only.js +264 -0
  76. package/dist/inner-loop/logging-only.js.map +1 -0
  77. package/dist/inner-loop/tests-passing-lie.d.ts +34 -0
  78. package/dist/inner-loop/tests-passing-lie.d.ts.map +1 -0
  79. package/dist/inner-loop/tests-passing-lie.js +213 -0
  80. package/dist/inner-loop/tests-passing-lie.js.map +1 -0
  81. package/dist/inner-loop/types.d.ts +111 -0
  82. package/dist/inner-loop/types.d.ts.map +1 -0
  83. package/dist/inner-loop/types.js +29 -0
  84. package/dist/inner-loop/types.js.map +1 -0
  85. package/dist/storage/index.d.ts +1 -0
  86. package/dist/storage/index.d.ts.map +1 -1
  87. package/dist/storage/index.js +11 -1
  88. package/dist/storage/index.js.map +1 -1
  89. package/dist/storage/spiral-history.d.ts +62 -0
  90. package/dist/storage/spiral-history.d.ts.map +1 -0
  91. package/dist/storage/spiral-history.js +265 -0
  92. package/dist/storage/spiral-history.js.map +1 -0
  93. package/docs/ARCHITECTURE.md +2 -10
  94. package/docs/FEATURES.md +340 -0
  95. package/docs/GAMIFICATION.md +19 -266
  96. package/docs/VIBE-ECOSYSTEM.md +12 -78
  97. package/feature-list.json +140 -88
  98. package/package.json +1 -1
@@ -0,0 +1,340 @@
1
+ # vibe-check: Feature Guide
2
+
3
+ **Measure AI-assisted development sessions**
4
+
5
+ ---
6
+
7
+ ## What is Vibe-Coding?
8
+
9
+ Vibe-coding is a methodology for AI-assisted software development that emphasizes:
10
+
11
+ 1. **Conscious calibration** - Knowing when to trust AI output and when to verify
12
+ 2. **Metric-driven feedback** - Measuring patterns, not productivity
13
+ 3. **Self-awareness** - Recognizing spirals before they consume hours
14
+ 4. **Progressive mastery** - Building trust through demonstrated accuracy
15
+
16
+ The core insight: **AI assistance varies in reliability by task type.** Formatting code? Nearly 100% trustworthy. Designing authentication architecture? Maybe 20%. Vibe-coding gives you a framework to calibrate your verification effort appropriately.
17
+
18
+ ---
19
+
20
+ ## The Five Core Metrics
21
+
22
+ | Metric | Question | Elite | Needs Work |
23
+ |--------|----------|-------|------------|
24
+ | **Trust Pass Rate** | What % of commits don't need immediate fixes? | >95% | <80% |
25
+ | **Rework Ratio** | What % of commits are fixes vs. new work? | <30% | >50% |
26
+ | **Debug Spiral Count** | How many fix-chain spirals detected? | 0 | 3+ |
27
+ | **Debug Spiral Duration** | How long stuck in fix loops? | <15min | >45min |
28
+ | **Flow Efficiency** | What % of time is productive building? | >90% | <70% |
29
+
30
+ These metrics are **semantic-free** - they measure git patterns, not code content. This prevents gaming and ensures honest signal.
31
+
32
+ ---
33
+
34
+ ## Vibe Levels
35
+
36
+ Before starting work, classify the task:
37
+
38
+ | Level | Name | Trust AI | Verification | Example Tasks |
39
+ |-------|------|----------|--------------|---------------|
40
+ | **5** | Full Automation | 95% | Final only | Formatting, linting, boilerplate |
41
+ | **4** | High Trust | 80% | Spot check | CRUD, simple features |
42
+ | **3** | Balanced | 60% | Key outputs | Standard features, tests |
43
+ | **2** | Careful | 40% | Every change | API integrations, complex logic |
44
+ | **1** | Skeptical | 20% | Every line | Architecture, security, auth |
45
+ | **0** | Manual | 0% | N/A | Novel research, exploration |
46
+
47
+ **The insight:** Declaring a level upfront forces conscious calibration. After the session, compare actual metrics to expected - this builds intuition over time.
48
+
49
+ ---
50
+
51
+ ## vibe-check: The Tool
52
+
53
+ `vibe-check` is a CLI tool that analyzes git history and provides immediate feedback on your coding patterns.
54
+
55
+ ### Installation
56
+
57
+ ```bash
58
+ npm install -g @boshu2/vibe-check
59
+ ```
60
+
61
+ Or run directly:
62
+
63
+ ```bash
64
+ npx @boshu2/vibe-check
65
+ ```
66
+
67
+ ### Core Commands
68
+
69
+ ```bash
70
+ # Basic analysis
71
+ vibe-check --since "1 week ago"
72
+
73
+ # Real-time monitoring
74
+ vibe-check watch
75
+
76
+ # Your profile (gamification)
77
+ vibe-check profile
78
+
79
+ # Start a tracked session
80
+ vibe-check start --level 3
81
+ ```
82
+
83
+ ---
84
+
85
+ ## Feature Overview (v1.7.0)
86
+
87
+ ### 1. Metrics Engine
88
+
89
+ The core analysis engine examines git history to compute:
90
+
91
+ - **Trust Pass Rate**: Commits without immediate fix follow-ups
92
+ - **Rework Ratio**: Proportion of fix/revert commits
93
+ - **Debug Spirals**: Consecutive fix commits on same component
94
+ - **VibeScore**: Weighted composite (0-100%)
95
+
96
+ Output example:
97
+ ```
98
+ VIBE-CHECK Nov 21 - Nov 28
99
+
100
+ Rating: ELITE
101
+ Trust: 94% ELITE
102
+ Rework: 18% ELITE
103
+ Spirals: 1 detected (12 min)
104
+
105
+ VibeScore: 87%
106
+ ```
107
+
108
+ ### 2. Watch Mode
109
+
110
+ Real-time spiral detection while you work:
111
+
112
+ ```bash
113
+ vibe-check watch
114
+ ```
115
+
116
+ Monitors commits and alerts when patterns indicate a spiral forming:
117
+
118
+ ```
119
+ 09:15 fix(auth) handle token refresh
120
+ 09:18 fix(auth) add retry logic
121
+ 09:22 fix(auth) increase timeout
122
+
123
+ SPIRAL DETECTED
124
+ Component: auth
125
+ Fixes: 3 commits, 7 min
126
+ ```
127
+
128
+ ### 3. Session Integration
129
+
130
+ Track sessions with baseline comparison:
131
+
132
+ ```bash
133
+ vibe-check session start --level 3 # Start session
134
+ vibe-check session status # Check active session
135
+ vibe-check session end --format json # End and get metrics
136
+ ```
137
+
138
+ Output includes failure pattern detection for AgentOps integration.
139
+
140
+ ---
141
+
142
+ ## Gamification System
143
+
144
+ vibe-check includes a complete gamification layer to make improvement engaging:
145
+
146
+ ### XP & Levels
147
+
148
+ ```
149
+ Level 1: Novice (0-100 XP) ๐ŸŒฑ
150
+ Level 2: Apprentice (100-300 XP) ๐ŸŒฟ
151
+ Level 3: Practitioner (300-600 XP) ๐ŸŒณ
152
+ Level 4: Expert (600-1000 XP) ๐ŸŒฒ
153
+ Level 5: Master (1000-2000 XP) ๐ŸŽ‹
154
+ Level 6: Grandmaster (2000-5000 XP) ๐Ÿ”๏ธ
155
+ ```
156
+
157
+ **Prestige tiers** (beyond Grandmaster):
158
+ - Archmage (5000+ XP) ๐Ÿ”ฎ
159
+ - Sage (10000+ XP) ๐Ÿ“ฟ
160
+ - Zenmester (20000+ XP) โ˜ฏ๏ธ
161
+ - Transcendent (40000+ XP) ๐ŸŒŸ
162
+ - Legendary (80000+ XP) ๐Ÿ’ซ
163
+
164
+ ### Streaks
165
+
166
+ Daily check-ins build streaks with visual progression:
167
+
168
+ ```
169
+ ๐Ÿ”ฅ 5-day streak (1-5 days)
170
+ ๐ŸŒŸ๐ŸŒŸ 12-day streak (6-14 days)
171
+ ๐Ÿ‘‘๐Ÿ‘‘๐Ÿ‘‘ 18-day streak ๐Ÿ† (15+ days, Personal Best!)
172
+ ```
173
+
174
+ Streak freezes protect against occasional missed days.
175
+
176
+ ### Achievements (19 total)
177
+
178
+ Categories:
179
+ - **Consistency**: First Blood, Week Warrior, Streak Master
180
+ - **Quality**: Elite Vibes, Trust Builder, Zen Master
181
+ - **Volume**: Centurion, Marathon Coder
182
+ - **Improvement**: Comeback Kid, On Fire
183
+ - **Special**: Night Owl, Early Bird, Weekend Warrior
184
+
185
+ ---
186
+
187
+ ## Integration Points
188
+
189
+ ### Git Hook
190
+
191
+ Automatic vibe-check on every push:
192
+
193
+ ```bash
194
+ vibe-check init-hook # Install hook
195
+ vibe-check init-hook --block-low # Block LOW pushes
196
+ ```
197
+
198
+ ### GitHub Action
199
+
200
+ Automated PR feedback:
201
+
202
+ ```yaml
203
+ name: Vibe Check
204
+ on: [pull_request]
205
+
206
+ jobs:
207
+ vibe-check:
208
+ runs-on: ubuntu-latest
209
+ steps:
210
+ - uses: actions/checkout@v4
211
+ with:
212
+ fetch-depth: 0
213
+ - uses: boshu2/vibe-check@v1
214
+ with:
215
+ github-token: ${{ secrets.GITHUB_TOKEN }}
216
+ ```
217
+
218
+ ### JSON Output
219
+
220
+ Machine-readable for dashboards/CI:
221
+
222
+ ```bash
223
+ vibe-check --format json --output vibe-results.json
224
+ ```
225
+
226
+ ---
227
+
228
+ ## The Workflow
229
+
230
+ ### Daily Practice
231
+
232
+ ```
233
+ Morning:
234
+ 1. vibe-check profile # Check streak, challenges
235
+ 2. Plan tasks, estimate levels
236
+
237
+ During work:
238
+ 3. vibe-check watch # Real-time monitoring
239
+ 4. Notice spiral alerts, intervene early
240
+
241
+ End of session:
242
+ 5. vibe-check --since "today" # Review session
243
+ 6. XP/achievements auto-update
244
+ ```
245
+
246
+ ### Session Workflow (Optional)
247
+
248
+ For explicit tracking:
249
+
250
+ ```bash
251
+ # Before: declare expectation
252
+ vibe-check start --level 3
253
+
254
+ # ... work ...
255
+
256
+ # After: compare reality
257
+ vibe-check --since "1 hour ago"
258
+ ```
259
+
260
+ The tool will show whether your level classification was accurate.
261
+
262
+ ---
263
+
264
+ ## Philosophy
265
+
266
+ ### What vibe-check IS
267
+
268
+ - A self-reflection tool
269
+ - A pattern detector
270
+ - A gamified improvement system
271
+ - A calibration feedback loop
272
+
273
+ ### What vibe-check IS NOT
274
+
275
+ - A productivity metric
276
+ - A performance review tool
277
+ - A surveillance system
278
+ - A judgment of AI effectiveness
279
+
280
+ **Use it for yourself, not for measuring others.**
281
+
282
+ ---
283
+
284
+ ## The Science
285
+
286
+ vibe-check uses **semantic-free signals** - patterns in git history that indicate workflow health without reading code content. This approach:
287
+
288
+ 1. **Can't be gamed** - You can't fake commit timestamps
289
+ 2. **Respects privacy** - Never reads actual code
290
+ 3. **Is universal** - Works for any language/framework
291
+ 4. **Provides honest signal** - Measures behavior, not intention
292
+
293
+ The VibeScore combines metrics using validated weights derived from empirical analysis of productive vs. struggling sessions.
294
+
295
+ ---
296
+
297
+ ## Future Roadmap
298
+
299
+ | Phase | Status | Description |
300
+ |-------|--------|-------------|
301
+ | CLI Core | โœ… Complete | Metrics, scoring, analysis |
302
+ | Gamification | โœ… Complete | XP, streaks, achievements |
303
+ | Watch Mode | โœ… Complete | Real-time spiral detection |
304
+ | GitHub Action | โœ… Complete | Automated PR feedback |
305
+ | Session Integration | โœ… Complete | AgentOps integration |
306
+ | Visual Dashboard | โœ… Complete | HTML dashboard with charts |
307
+ | VS Code Extension | ๐Ÿ”ฎ Planned | Status bar, live alerts |
308
+
309
+ ---
310
+
311
+ ## Getting Started
312
+
313
+ ```bash
314
+ # Install
315
+ npm install -g @boshu2/vibe-check
316
+
317
+ # Run your first check
318
+ vibe-check --since "1 week ago"
319
+
320
+ # See your profile
321
+ vibe-check profile
322
+
323
+ # Start watching
324
+ vibe-check watch
325
+ ```
326
+
327
+ ---
328
+
329
+ ## Resources
330
+
331
+ - **npm**: [@boshu2/vibe-check](https://www.npmjs.com/package/@boshu2/vibe-check)
332
+ - **GitHub**: [boshu2/vibe-check](https://github.com/boshu2/vibe-check)
333
+ - **Issues**: [Report bugs or request features](https://github.com/boshu2/vibe-check/issues)
334
+
335
+ ---
336
+
337
+ *"The goal isn't perfect metrics. It's conscious awareness of your patterns."*
338
+
339
+ **Version:** 1.7.0
340
+ **Last Updated:** 2025-12-02
@@ -1,12 +1,12 @@
1
1
  # vibe-check Gamification System
2
2
 
3
- **Deep dive into XP, levels, achievements, challenges, and more**
3
+ **XP, levels, streaks, and achievements for self-improvement**
4
4
 
5
5
  ---
6
6
 
7
7
  ## Overview
8
8
 
9
- vibe-check includes a complete gamification layer to make self-improvement engaging. This isn't productivity surveillanceโ€”it's a personal game you play with yourself.
9
+ vibe-check includes a gamification layer to make self-improvement engaging. This isn't productivity surveillanceโ€”it's a personal game you play with yourself.
10
10
 
11
11
  ```
12
12
  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
@@ -14,8 +14,8 @@ vibe-check includes a complete gamification layer to make self-improvement engag
14
14
  โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
15
15
  โ”‚ โ”‚
16
16
  โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
17
- โ”‚ โ”‚ XP โ”‚ โ”‚ Streaks โ”‚ โ”‚ Achieve- โ”‚ โ”‚Challenge โ”‚ โ”‚
18
- โ”‚ โ”‚ & Levels โ”‚ โ”‚ โ”‚ โ”‚ ments โ”‚ โ”‚ s โ”‚ โ”‚
17
+ โ”‚ โ”‚ XP โ”‚ โ”‚ Streaks โ”‚ โ”‚ Achieve- โ”‚ โ”‚ Weekly โ”‚ โ”‚
18
+ โ”‚ โ”‚ & Levels โ”‚ โ”‚ โ”‚ โ”‚ ments โ”‚ โ”‚ Stats โ”‚ โ”‚
19
19
  โ”‚ โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
20
20
  โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
21
21
  โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
@@ -23,12 +23,7 @@ vibe-check includes a complete gamification layer to make self-improvement engag
23
23
  โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
24
24
  โ”‚ โ”‚ Profile โ”‚ โ”‚
25
25
  โ”‚ โ”‚ Storage โ”‚ โ”‚
26
- โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
27
- โ”‚ โ”‚ โ”‚
28
- โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
29
- โ”‚ โ”‚ Leader- โ”‚ โ”‚ Hall of Fame โ”‚ โ”‚ Badges โ”‚ โ”‚
30
- โ”‚ โ”‚ boards โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚
31
- โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
26
+ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
32
27
  โ”‚ โ”‚
33
28
  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
34
29
  ```
@@ -50,7 +45,6 @@ vibe-check includes a complete gamification layer to make self-improvement engag
50
45
  | No spirals | +15 | Bonus for 0 spirals |
51
46
  | Perfect trust | +20 | 100% trust pass rate |
52
47
  | Achievement unlock | +25-100 | Varies by achievement |
53
- | Challenge complete | +30-150 | Based on difficulty |
54
48
 
55
49
  ### XP Calculation Example
56
50
 
@@ -96,13 +90,13 @@ if (previousSession.periodFrom === currentPeriodFrom &&
96
90
 
97
91
  After reaching Grandmaster, prestige tiers unlock:
98
92
 
99
- | Tier | Name | XP Range | Icon | Time Estimate |
100
- |------|------|----------|------|---------------|
101
- | 1 | Archmage | 5000-9999 | ๐Ÿ”ฎ | ~3 months |
102
- | 2 | Sage | 10000-19999 | ๐Ÿ“ฟ | ~6 months |
103
- | 3 | Zenmester | 20000-39999 | โ˜ฏ๏ธ | ~1 year |
104
- | 4 | Transcendent | 40000-79999 | ๐ŸŒŸ | ~2 years |
105
- | 5 | Legendary | 80000+ | ๐Ÿ’ซ | Long-term mastery |
93
+ | Tier | Name | XP Range | Icon |
94
+ |------|------|----------|------|
95
+ | 1 | Archmage | 5000-9999 | ๐Ÿ”ฎ |
96
+ | 2 | Sage | 10000-19999 | ๐Ÿ“ฟ |
97
+ | 3 | Zenmester | 20000-39999 | โ˜ฏ๏ธ |
98
+ | 4 | Transcendent | 40000-79999 | ๐ŸŒŸ |
99
+ | 5 | Legendary | 80000+ | ๐Ÿ’ซ |
106
100
 
107
101
  ### Level Display
108
102
 
@@ -215,131 +209,6 @@ Recent:
215
209
 
216
210
  ---
217
211
 
218
- ## Weekly Challenges
219
-
220
- ### How Challenges Work
221
-
222
- - **Generated weekly**: Based on your weak metrics
223
- - **3 challenges per week**: 1 targeted + 2 random
224
- - **Progress tracked**: Updates after each session
225
- - **XP rewards**: 30-150 XP per challenge
226
-
227
- ### Challenge Types
228
-
229
- | Type | Name | Description | Targets |
230
- |------|------|-------------|---------|
231
- | `TRUST_STREAK` | Trust Gauntlet | Get 90%+ trust N times | 3, 5, 7 |
232
- | `ZERO_SPIRALS` | Zen Mode | N sessions with 0 spirals | 3, 5, 7 |
233
- | `ELITE_COUNT` | Elite Streak | Get N ELITE ratings | 2, 4, 6 |
234
- | `COMMIT_VOLUME` | Commit Champion | Analyze N+ commits | 50, 100, 200 |
235
- | `STREAK_EXTEND` | Streak Builder | Extend streak by N days | 3, 5, 7 |
236
-
237
- ### Challenge Display
238
-
239
- ```
240
- WEEKLY CHALLENGES
241
-
242
- ๐ŸŽฏ Trust Gauntlet: โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘ 4/5 (+100 XP)
243
- ๐Ÿง˜ Zen Mode: โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โœ“ COMPLETE
244
- ๐Ÿ”ฅ Streak Builder: โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ 1/5 (+40 XP)
245
- ```
246
-
247
- ### Challenge Selection Algorithm
248
-
249
- 1. Analyze recent session metrics
250
- 2. Identify weak areas (low trust? many spirals?)
251
- 3. Generate 1 challenge targeting weakness (medium difficulty)
252
- 4. Generate 2 random challenges (easy difficulty)
253
-
254
- ---
255
-
256
- ## Leaderboards
257
-
258
- ### Personal Leaderboards
259
-
260
- Track your high scores across all repos:
261
-
262
- ```
263
- ๐Ÿ† All-Time Top Scores
264
-
265
- ๐Ÿฅ‡ 96% ELITE my-project (Nov 15)
266
- ๐Ÿฅˆ 94% ELITE vibe-check (Nov 28)
267
- ๐Ÿฅ‰ 91% ELITE other-repo (Nov 20)
268
- 4. 89% HIGH work-app (Nov 18)
269
- 5. 87% HIGH side-project (Nov 10)
270
- ```
271
-
272
- ### Per-Repo Leaderboards
273
-
274
- ```
275
- ๐Ÿ“Š Top Scores - vibe-check
276
-
277
- ๐Ÿฅ‡ 94% ELITE Nov 28
278
- ๐Ÿฅˆ 91% ELITE Nov 27
279
- ๐Ÿฅ‰ 88% HIGH Nov 26
280
- ```
281
-
282
- ### Data Stored
283
-
284
- ```typescript
285
- interface LeaderboardEntry {
286
- date: string;
287
- repoPath: string;
288
- repoName: string;
289
- vibeScore: number;
290
- overall: string;
291
- commits: number;
292
- xpEarned: number;
293
- }
294
- ```
295
-
296
- ---
297
-
298
- ## Hall of Fame
299
-
300
- Personal bests and records:
301
-
302
- ```
303
- ๐Ÿ›๏ธ HALL OF FAME
304
-
305
- ๐Ÿ† Best Score: 96% (Nov 15)
306
- my-project - ELITE rating
307
-
308
- ๐Ÿ”ฅ Longest Streak: 15 days
309
- Consecutive daily check-ins
310
-
311
- โšก Best Week: 847 XP
312
- Week of Nov 11
313
-
314
- ๐Ÿ“Š Most Commits: 127 (Nov 10)
315
- big-refactor - single session
316
- ```
317
-
318
- ---
319
-
320
- ## Rank Badges
321
-
322
- Tier badges based on cumulative progress:
323
-
324
- | Badge | Icon | Requirement |
325
- |-------|------|-------------|
326
- | Bronze | ๐Ÿฅ‰ | 10+ sessions |
327
- | Silver | ๐Ÿฅˆ | 50+ sessions |
328
- | Gold | ๐Ÿฅ‡ | 100+ sessions |
329
- | Platinum | ๐Ÿ’Ž | 14+ day streak |
330
- | Diamond | ๐Ÿ”ท | 5000+ XP |
331
-
332
- ### Badge Display
333
-
334
- ```
335
- Current: ๐Ÿ’Ž Platinum Tier
336
-
337
- Next: ๐Ÿ”ท Diamond (need 5000 XP, have 3200)
338
- Progress: โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘ 64%
339
- ```
340
-
341
- ---
342
-
343
212
  ## Weekly Stats
344
213
 
345
214
  ### Sparklines
@@ -352,7 +221,6 @@ Visual trend of your scores this week:
352
221
  Avg Score: 87% โ†‘
353
222
  Sessions: 5
354
223
  XP Earned: 320
355
- ELITE: 3 | Spirals: 2
356
224
 
357
225
  Trend: โ–‚โ–„โ–ƒโ–†โ–…โ–ˆโ–ˆ
358
226
  ```
@@ -367,129 +235,26 @@ Visual trend of your scores this week:
367
235
 
368
236
  ---
369
237
 
370
- ## Pattern Memory
371
-
372
- Tracks YOUR spiral triggers over time:
373
-
374
- ```
375
- YOUR SPIRAL TRIGGERS
376
-
377
- Pattern Times Avg Duration
378
- SECRETS_AUTH 5 18 min
379
- VOLUME_CONFIG 3 12 min
380
- API_MISMATCH 2 25 min
381
-
382
- Your kryptonite: OAuth/token issues
383
- Consider: Tracer tests for auth flows
384
- ```
385
-
386
- ---
387
-
388
- ## Intervention Tracking
389
-
390
- Records what breaks YOUR spirals:
391
-
392
- ```
393
- WHAT WORKS FOR YOU
394
-
395
- Intervention Times Success Rate
396
- Take a break 4 75%
397
- Write test 3 100%
398
- Read docs 2 50%
399
- Ask for help 1 100%
400
-
401
- Recommendation: Write a test first!
402
- ```
403
-
404
- ### Intervention Types
405
-
406
- | Type | Description |
407
- |------|-------------|
408
- | `TRACER_TEST` | Wrote a test to validate |
409
- | `BREAK` | Took a break |
410
- | `DOCS` | Consulted documentation |
411
- | `REFACTOR` | Changed approach |
412
- | `HELP` | Asked for help |
413
- | `ROLLBACK` | Reverted to known state |
414
- | `OTHER` | Custom intervention |
415
-
416
- ---
417
-
418
- ## Share Feature
419
-
420
- ### Shareable Text
421
-
422
- ```bash
423
- vibe-check profile --share
424
- ```
425
-
426
- Output:
427
- ```
428
- ๐ŸŽฎ bodefuller's Vibe-Check Profile
429
-
430
- Level 5 Master (Archmage I) ๐Ÿ’Ž Platinum
431
- 1,250 Total XP
432
-
433
- ๐Ÿ”ฅ 12-day streak (Best: 15)
434
- ๐Ÿ“Š 45 sessions | Avg: 87% | Best: 96%
435
- ๐Ÿ† 12 achievements unlocked
436
-
437
- Track your coding vibes: npx @boshu2/vibe-check
438
- ```
439
-
440
- ### Shareable JSON
441
-
442
- ```bash
443
- vibe-check profile --share-json
444
- ```
445
-
446
- Machine-readable profile for integrations.
447
-
448
- ---
449
-
450
- ## Near-Miss Psychology
451
-
452
- Motivational messages when you're close to achievements:
453
-
454
- ```
455
- ๐ŸŽฏ SO CLOSE!
456
-
457
- Just 1-2 metrics away from ELITE overall!
458
- 88% vibe score - just 2% from the Ninety Club!
459
- ```
460
-
461
- Triggers when:
462
- - HIGH rating with 3+ ELITE metrics
463
- - Score 85-89% (close to 90)
464
- - Trust 90-99% (close to 100)
465
- - 1 spiral (close to Zen Master)
466
-
467
- ---
468
-
469
238
  ## Profile Storage
470
239
 
471
240
  ### Location
472
241
 
473
242
  ```
474
243
  ~/.vibe-check/
475
- โ”œโ”€โ”€ profile.json # Main profile
476
- โ””โ”€โ”€ leaderboards.json # High scores
244
+ โ””โ”€โ”€ profile.json # Main profile
477
245
  ```
478
246
 
479
247
  ### Profile Schema
480
248
 
481
249
  ```typescript
482
250
  interface UserProfile {
483
- version: string; // "1.5.0"
251
+ version: string;
484
252
  createdAt: string;
485
253
  updatedAt: string;
486
254
  streak: StreakState;
487
255
  xp: XPState;
488
256
  achievements: Achievement[];
489
257
  sessions: SessionRecord[];
490
- patternMemory?: PatternMemory;
491
- interventionMemory?: InterventionMemory;
492
- challenges?: Challenge[];
493
258
  preferences: {
494
259
  weeklyGoal: number;
495
260
  showNotifications: boolean;
@@ -517,22 +282,10 @@ vibe-check profile
517
282
  # View specific sections
518
283
  vibe-check profile --achievements
519
284
  vibe-check profile --stats
520
- vibe-check profile --challenges
521
- vibe-check profile --leaderboard
522
- vibe-check profile --hall-of-fame
523
285
  vibe-check profile --weekly
524
- vibe-check profile --patterns
525
- vibe-check profile --interventions
526
-
527
- # Share
528
- vibe-check profile --share
529
- vibe-check profile --share-json
530
-
531
- # Record intervention
532
- vibe-check intervene TRACER_TEST
533
- vibe-check intervene BREAK
534
- vibe-check intervene --list
535
- vibe-check intervene --stats
286
+
287
+ # JSON output
288
+ vibe-check profile --json
536
289
  ```
537
290
 
538
291
  ---
@@ -560,5 +313,5 @@ Make you WANT to improve your vibe scoreโ€”not because someone's watching, but b
560
313
 
561
314
  ---
562
315
 
563
- **Version:** 1.5.0
564
- **Last Updated:** 2025-11-29
316
+ **Version:** 1.7.0
317
+ **Last Updated:** 2025-12-02