@boshu2/vibe-check 1.0.1 → 1.1.0

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 (128) hide show
  1. package/.agents/bundles/ml-learning-loop-complete-plan-2025-11-28.md +908 -0
  2. package/.agents/bundles/unified-vibe-system-plan-phase1-2025-11-28.md +962 -0
  3. package/.agents/bundles/unified-vibe-system-research-2025-11-28.md +1003 -0
  4. package/.agents/bundles/vibe-check-ecosystem-plan-2025-11-29.md +635 -0
  5. package/.agents/bundles/vibe-check-gamification-complete-2025-11-29.md +132 -0
  6. package/.agents/bundles/vibe-score-scientific-framework-2025-11-28.md +602 -0
  7. package/.vibe-check/calibration.json +38 -0
  8. package/.vibe-check/latest.json +114 -0
  9. package/CHANGELOG.md +46 -0
  10. package/CLAUDE.md +178 -0
  11. package/README.md +265 -63
  12. package/action.yml +270 -0
  13. package/dashboard/app.js +494 -0
  14. package/dashboard/index.html +235 -0
  15. package/dashboard/styles.css +647 -0
  16. package/dist/calibration/ece.d.ts +26 -0
  17. package/dist/calibration/ece.d.ts.map +1 -0
  18. package/dist/calibration/ece.js +93 -0
  19. package/dist/calibration/ece.js.map +1 -0
  20. package/dist/calibration/index.d.ts +3 -0
  21. package/dist/calibration/index.d.ts.map +1 -0
  22. package/dist/calibration/index.js +15 -0
  23. package/dist/calibration/index.js.map +1 -0
  24. package/dist/calibration/storage.d.ts +34 -0
  25. package/dist/calibration/storage.d.ts.map +1 -0
  26. package/dist/calibration/storage.js +188 -0
  27. package/dist/calibration/storage.js.map +1 -0
  28. package/dist/cli.js +30 -76
  29. package/dist/cli.js.map +1 -1
  30. package/dist/commands/analyze.d.ts +16 -0
  31. package/dist/commands/analyze.d.ts.map +1 -0
  32. package/dist/commands/analyze.js +256 -0
  33. package/dist/commands/analyze.js.map +1 -0
  34. package/dist/commands/index.d.ts +4 -0
  35. package/dist/commands/index.d.ts.map +1 -0
  36. package/dist/commands/index.js +11 -0
  37. package/dist/commands/index.js.map +1 -0
  38. package/dist/commands/level.d.ts +3 -0
  39. package/dist/commands/level.d.ts.map +1 -0
  40. package/dist/commands/level.js +277 -0
  41. package/dist/commands/level.js.map +1 -0
  42. package/dist/commands/profile.d.ts +4 -0
  43. package/dist/commands/profile.d.ts.map +1 -0
  44. package/dist/commands/profile.js +143 -0
  45. package/dist/commands/profile.js.map +1 -0
  46. package/dist/gamification/achievements.d.ts +15 -0
  47. package/dist/gamification/achievements.d.ts.map +1 -0
  48. package/dist/gamification/achievements.js +273 -0
  49. package/dist/gamification/achievements.js.map +1 -0
  50. package/dist/gamification/index.d.ts +8 -0
  51. package/dist/gamification/index.d.ts.map +1 -0
  52. package/dist/gamification/index.js +30 -0
  53. package/dist/gamification/index.js.map +1 -0
  54. package/dist/gamification/profile.d.ts +46 -0
  55. package/dist/gamification/profile.d.ts.map +1 -0
  56. package/dist/gamification/profile.js +272 -0
  57. package/dist/gamification/profile.js.map +1 -0
  58. package/dist/gamification/streaks.d.ts +26 -0
  59. package/dist/gamification/streaks.d.ts.map +1 -0
  60. package/dist/gamification/streaks.js +132 -0
  61. package/dist/gamification/streaks.js.map +1 -0
  62. package/dist/gamification/types.d.ts +111 -0
  63. package/dist/gamification/types.d.ts.map +1 -0
  64. package/dist/gamification/types.js +26 -0
  65. package/dist/gamification/types.js.map +1 -0
  66. package/dist/gamification/xp.d.ts +37 -0
  67. package/dist/gamification/xp.d.ts.map +1 -0
  68. package/dist/gamification/xp.js +115 -0
  69. package/dist/gamification/xp.js.map +1 -0
  70. package/dist/git.d.ts +11 -0
  71. package/dist/git.d.ts.map +1 -1
  72. package/dist/git.js +52 -0
  73. package/dist/git.js.map +1 -1
  74. package/dist/metrics/code-stability.d.ts +13 -0
  75. package/dist/metrics/code-stability.d.ts.map +1 -0
  76. package/dist/metrics/code-stability.js +74 -0
  77. package/dist/metrics/code-stability.js.map +1 -0
  78. package/dist/metrics/file-churn.d.ts +8 -0
  79. package/dist/metrics/file-churn.d.ts.map +1 -0
  80. package/dist/metrics/file-churn.js +75 -0
  81. package/dist/metrics/file-churn.js.map +1 -0
  82. package/dist/metrics/time-spiral.d.ts +8 -0
  83. package/dist/metrics/time-spiral.d.ts.map +1 -0
  84. package/dist/metrics/time-spiral.js +69 -0
  85. package/dist/metrics/time-spiral.js.map +1 -0
  86. package/dist/metrics/velocity-anomaly.d.ts +13 -0
  87. package/dist/metrics/velocity-anomaly.d.ts.map +1 -0
  88. package/dist/metrics/velocity-anomaly.js +67 -0
  89. package/dist/metrics/velocity-anomaly.js.map +1 -0
  90. package/dist/output/index.d.ts +6 -3
  91. package/dist/output/index.d.ts.map +1 -1
  92. package/dist/output/index.js +4 -3
  93. package/dist/output/index.js.map +1 -1
  94. package/dist/output/json.d.ts +2 -2
  95. package/dist/output/json.d.ts.map +1 -1
  96. package/dist/output/json.js +54 -0
  97. package/dist/output/json.js.map +1 -1
  98. package/dist/output/markdown.d.ts +2 -2
  99. package/dist/output/markdown.d.ts.map +1 -1
  100. package/dist/output/markdown.js +34 -1
  101. package/dist/output/markdown.js.map +1 -1
  102. package/dist/output/terminal.d.ts +6 -2
  103. package/dist/output/terminal.d.ts.map +1 -1
  104. package/dist/output/terminal.js +131 -3
  105. package/dist/output/terminal.js.map +1 -1
  106. package/dist/recommend/index.d.ts +3 -0
  107. package/dist/recommend/index.d.ts.map +1 -0
  108. package/dist/recommend/index.js +14 -0
  109. package/dist/recommend/index.js.map +1 -0
  110. package/dist/recommend/ordered-logistic.d.ts +49 -0
  111. package/dist/recommend/ordered-logistic.d.ts.map +1 -0
  112. package/dist/recommend/ordered-logistic.js +153 -0
  113. package/dist/recommend/ordered-logistic.js.map +1 -0
  114. package/dist/recommend/questions.d.ts +19 -0
  115. package/dist/recommend/questions.d.ts.map +1 -0
  116. package/dist/recommend/questions.js +73 -0
  117. package/dist/recommend/questions.js.map +1 -0
  118. package/dist/score/index.d.ts +21 -0
  119. package/dist/score/index.d.ts.map +1 -0
  120. package/dist/score/index.js +48 -0
  121. package/dist/score/index.js.map +1 -0
  122. package/dist/score/weights.d.ts +16 -0
  123. package/dist/score/weights.d.ts.map +1 -0
  124. package/dist/score/weights.js +28 -0
  125. package/dist/score/weights.js.map +1 -0
  126. package/dist/types.d.ts +83 -0
  127. package/dist/types.d.ts.map +1 -1
  128. package/package.json +10 -9
@@ -0,0 +1,132 @@
1
+ # Vibe-Check Gamification Implementation
2
+
3
+ **Type:** Implementation Complete
4
+ **Created:** 2025-11-29
5
+ **Status:** ✅ Fully Functional
6
+ **Tags:** vibe-check, gamification, streaks, achievements, xp, dashboard
7
+
8
+ ---
9
+
10
+ ## What Was Built
11
+
12
+ ### CLI Gamification Module (`src/gamification/`)
13
+
14
+ | File | Purpose |
15
+ |------|---------|
16
+ | `types.ts` | Streak, XP, Achievement, Profile types |
17
+ | `streaks.ts` | Streak tracking with freeze, weekly goals |
18
+ | `xp.ts` | XP calculation, 6-level progression |
19
+ | `achievements.ts` | 19 achievements (17 visible, 2 hidden) |
20
+ | `profile.ts` | Persistent storage, session recording |
21
+ | `index.ts` | Module exports |
22
+
23
+ ### Dashboard (`dashboard/`)
24
+
25
+ | File | Purpose |
26
+ |------|---------|
27
+ | `index.html` | UI with sidebar, pages, modals |
28
+ | `styles.css` | GitHub Dark theme (CSS variables) |
29
+ | `app.js` | Chart.js visualizations, interactivity |
30
+
31
+ ### CLI Commands
32
+
33
+ | Command | Description |
34
+ |---------|-------------|
35
+ | `vibe-check --score` | Shows gamification output after analysis |
36
+ | `vibe-check profile` | Full profile with stats |
37
+ | `vibe-check profile --achievements` | All achievements list |
38
+ | `vibe-check profile --stats` | Detailed lifetime stats |
39
+
40
+ ---
41
+
42
+ ## Key Features
43
+
44
+ **Streaks:**
45
+ - Daily streak with (+1!) indicator
46
+ - Streak freeze (1 available)
47
+ - Weekly goal tracking (default: 5 days)
48
+ - Personal best indicator
49
+
50
+ **XP & Levels:**
51
+ ```
52
+ Level 1: Novice (0-100 XP) 🌱
53
+ Level 2: Apprentice (100-300 XP) 🌿
54
+ Level 3: Practitioner (300-600 XP) 🌳
55
+ Level 4: Expert (600-1000 XP) 🌲
56
+ Level 5: Master (1000-2000 XP)🎋
57
+ Level 6: Grandmaster (2000+ XP) 🏔️
58
+ ```
59
+
60
+ **XP Rewards:**
61
+ - Daily check-in: 10 XP
62
+ - ELITE session: 50 XP
63
+ - HIGH session: 25 XP
64
+ - Streak bonus: 5 XP × days
65
+ - No spirals: +15 XP
66
+ - Achievement: +25 XP each
67
+
68
+ **Achievements (19 total):**
69
+ - Streak: Week Warrior, Fortnight Force, Monthly Master
70
+ - Score: Elite Vibes, High Roller, Perfect Week, Ninety Club
71
+ - Sessions: First Blood, Getting Started, Regular, Centurion
72
+ - Special: Zen Master, Trust Builder, Comeback Kid, Early Bird, Night Owl, Thousand Strong
73
+ - Hidden: Perfect Score (100%), Spiral Survivor
74
+
75
+ ---
76
+
77
+ ## Storage
78
+
79
+ **Profile Location:** `~/.vibe-check/profile.json`
80
+
81
+ Contains:
82
+ - Streak state
83
+ - XP/level progress
84
+ - Achievement unlocks
85
+ - Last 100 sessions
86
+ - Lifetime stats
87
+
88
+ ---
89
+
90
+ ## Dashboard Preview
91
+
92
+ ```bash
93
+ cd /path/to/vibe-check/dashboard
94
+ open index.html # or python -m http.server 8080
95
+ ```
96
+
97
+ Features:
98
+ - Trend chart (7/30/90 days)
99
+ - Radar chart (metrics breakdown)
100
+ - Doughnut chart (rating distribution)
101
+ - Achievement grid (locked/unlocked)
102
+ - Profile stats page
103
+
104
+ ---
105
+
106
+ ## Next Steps (From Ecosystem Plan)
107
+
108
+ 1. **GitHub Action** - PR comments with vibe metrics
109
+ 2. **VS Code Extension** - Real-time status bar
110
+ 3. **Dashboard API** - Connect to real profile data
111
+ 4. **Team Features** - Leaderboards, challenges
112
+
113
+ ---
114
+
115
+ ## Related Bundles
116
+
117
+ - `vibe-check-ecosystem-plan-2025-11-29.md` - Full product vision
118
+
119
+ ---
120
+
121
+ ## Test Commands
122
+
123
+ ```bash
124
+ # Run with gamification
125
+ vibe-check --since "1 week ago" --score
126
+
127
+ # View profile
128
+ vibe-check profile
129
+
130
+ # View all achievements
131
+ vibe-check profile --achievements
132
+ ```