@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.
- package/.agents/bundles/ml-learning-loop-complete-plan-2025-11-28.md +908 -0
- package/.agents/bundles/unified-vibe-system-plan-phase1-2025-11-28.md +962 -0
- package/.agents/bundles/unified-vibe-system-research-2025-11-28.md +1003 -0
- package/.agents/bundles/vibe-check-ecosystem-plan-2025-11-29.md +635 -0
- package/.agents/bundles/vibe-check-gamification-complete-2025-11-29.md +132 -0
- package/.agents/bundles/vibe-score-scientific-framework-2025-11-28.md +602 -0
- package/.vibe-check/calibration.json +38 -0
- package/.vibe-check/latest.json +114 -0
- package/CHANGELOG.md +46 -0
- package/CLAUDE.md +178 -0
- package/README.md +265 -63
- package/action.yml +270 -0
- package/dashboard/app.js +494 -0
- package/dashboard/index.html +235 -0
- package/dashboard/styles.css +647 -0
- package/dist/calibration/ece.d.ts +26 -0
- package/dist/calibration/ece.d.ts.map +1 -0
- package/dist/calibration/ece.js +93 -0
- package/dist/calibration/ece.js.map +1 -0
- package/dist/calibration/index.d.ts +3 -0
- package/dist/calibration/index.d.ts.map +1 -0
- package/dist/calibration/index.js +15 -0
- package/dist/calibration/index.js.map +1 -0
- package/dist/calibration/storage.d.ts +34 -0
- package/dist/calibration/storage.d.ts.map +1 -0
- package/dist/calibration/storage.js +188 -0
- package/dist/calibration/storage.js.map +1 -0
- package/dist/cli.js +30 -76
- package/dist/cli.js.map +1 -1
- package/dist/commands/analyze.d.ts +16 -0
- package/dist/commands/analyze.d.ts.map +1 -0
- package/dist/commands/analyze.js +256 -0
- package/dist/commands/analyze.js.map +1 -0
- package/dist/commands/index.d.ts +4 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +11 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/level.d.ts +3 -0
- package/dist/commands/level.d.ts.map +1 -0
- package/dist/commands/level.js +277 -0
- package/dist/commands/level.js.map +1 -0
- package/dist/commands/profile.d.ts +4 -0
- package/dist/commands/profile.d.ts.map +1 -0
- package/dist/commands/profile.js +143 -0
- package/dist/commands/profile.js.map +1 -0
- package/dist/gamification/achievements.d.ts +15 -0
- package/dist/gamification/achievements.d.ts.map +1 -0
- package/dist/gamification/achievements.js +273 -0
- package/dist/gamification/achievements.js.map +1 -0
- package/dist/gamification/index.d.ts +8 -0
- package/dist/gamification/index.d.ts.map +1 -0
- package/dist/gamification/index.js +30 -0
- package/dist/gamification/index.js.map +1 -0
- package/dist/gamification/profile.d.ts +46 -0
- package/dist/gamification/profile.d.ts.map +1 -0
- package/dist/gamification/profile.js +272 -0
- package/dist/gamification/profile.js.map +1 -0
- package/dist/gamification/streaks.d.ts +26 -0
- package/dist/gamification/streaks.d.ts.map +1 -0
- package/dist/gamification/streaks.js +132 -0
- package/dist/gamification/streaks.js.map +1 -0
- package/dist/gamification/types.d.ts +111 -0
- package/dist/gamification/types.d.ts.map +1 -0
- package/dist/gamification/types.js +26 -0
- package/dist/gamification/types.js.map +1 -0
- package/dist/gamification/xp.d.ts +37 -0
- package/dist/gamification/xp.d.ts.map +1 -0
- package/dist/gamification/xp.js +115 -0
- package/dist/gamification/xp.js.map +1 -0
- package/dist/git.d.ts +11 -0
- package/dist/git.d.ts.map +1 -1
- package/dist/git.js +52 -0
- package/dist/git.js.map +1 -1
- package/dist/metrics/code-stability.d.ts +13 -0
- package/dist/metrics/code-stability.d.ts.map +1 -0
- package/dist/metrics/code-stability.js +74 -0
- package/dist/metrics/code-stability.js.map +1 -0
- package/dist/metrics/file-churn.d.ts +8 -0
- package/dist/metrics/file-churn.d.ts.map +1 -0
- package/dist/metrics/file-churn.js +75 -0
- package/dist/metrics/file-churn.js.map +1 -0
- package/dist/metrics/time-spiral.d.ts +8 -0
- package/dist/metrics/time-spiral.d.ts.map +1 -0
- package/dist/metrics/time-spiral.js +69 -0
- package/dist/metrics/time-spiral.js.map +1 -0
- package/dist/metrics/velocity-anomaly.d.ts +13 -0
- package/dist/metrics/velocity-anomaly.d.ts.map +1 -0
- package/dist/metrics/velocity-anomaly.js +67 -0
- package/dist/metrics/velocity-anomaly.js.map +1 -0
- package/dist/output/index.d.ts +6 -3
- package/dist/output/index.d.ts.map +1 -1
- package/dist/output/index.js +4 -3
- package/dist/output/index.js.map +1 -1
- package/dist/output/json.d.ts +2 -2
- package/dist/output/json.d.ts.map +1 -1
- package/dist/output/json.js +54 -0
- package/dist/output/json.js.map +1 -1
- package/dist/output/markdown.d.ts +2 -2
- package/dist/output/markdown.d.ts.map +1 -1
- package/dist/output/markdown.js +34 -1
- package/dist/output/markdown.js.map +1 -1
- package/dist/output/terminal.d.ts +6 -2
- package/dist/output/terminal.d.ts.map +1 -1
- package/dist/output/terminal.js +131 -3
- package/dist/output/terminal.js.map +1 -1
- package/dist/recommend/index.d.ts +3 -0
- package/dist/recommend/index.d.ts.map +1 -0
- package/dist/recommend/index.js +14 -0
- package/dist/recommend/index.js.map +1 -0
- package/dist/recommend/ordered-logistic.d.ts +49 -0
- package/dist/recommend/ordered-logistic.d.ts.map +1 -0
- package/dist/recommend/ordered-logistic.js +153 -0
- package/dist/recommend/ordered-logistic.js.map +1 -0
- package/dist/recommend/questions.d.ts +19 -0
- package/dist/recommend/questions.d.ts.map +1 -0
- package/dist/recommend/questions.js +73 -0
- package/dist/recommend/questions.js.map +1 -0
- package/dist/score/index.d.ts +21 -0
- package/dist/score/index.d.ts.map +1 -0
- package/dist/score/index.js +48 -0
- package/dist/score/index.js.map +1 -0
- package/dist/score/weights.d.ts +16 -0
- package/dist/score/weights.d.ts.map +1 -0
- package/dist/score/weights.js +28 -0
- package/dist/score/weights.js.map +1 -0
- package/dist/types.d.ts +83 -0
- package/dist/types.d.ts.map +1 -1
- 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
|
+
```
|