@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
@@ -82,7 +82,7 @@ vibe-check start --level 3
82
82
 
83
83
  ---
84
84
 
85
- ## Feature Overview (v1.5.0)
85
+ ## Feature Overview (v1.7.0)
86
86
 
87
87
  ### 1. Metrics Engine
88
88
 
@@ -125,47 +125,17 @@ Monitors commits and alerts when patterns indicate a spiral forming:
125
125
  Fixes: 3 commits, 7 min
126
126
  ```
127
127
 
128
- ### 3. Automatic Baseline Comparison
128
+ ### 3. Session Integration
129
129
 
130
- After 5+ sessions, vibe-check learns your patterns and provides contextual feedback:
131
-
132
- ```
133
- VS YOUR BASELINE
134
-
135
- Trust: 92% (+7% vs avg 85%)
136
- Rework: 18% (-4% vs avg 22%)
137
-
138
- Better than your usual - nice flow!
139
- ```
140
-
141
- ### 4. Pattern Memory
142
-
143
- Tracks what triggers YOUR spirals over time:
130
+ Track sessions with baseline comparison:
144
131
 
145
132
  ```bash
146
- vibe-check profile --patterns
147
- ```
148
-
149
- ```
150
- YOUR SPIRAL TRIGGERS
151
-
152
- Component Times Pattern
153
- auth 5 OAuth/token/refresh issues
154
- database 3 Connection pooling
155
- api 2 External API timeouts
156
- ```
157
-
158
- ### 5. Intervention Tracking
159
-
160
- Records what breaks your spirals:
161
-
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
162
136
  ```
163
- WHAT WORKS FOR YOU
164
137
 
165
- Take a break 4 times (avg 12 min)
166
- Write test first 3 times
167
- Read docs 2 times
168
- ```
138
+ Output includes failure pattern detection for AgentOps integration.
169
139
 
170
140
  ---
171
141
 
@@ -203,18 +173,6 @@ Daily check-ins build streaks with visual progression:
203
173
 
204
174
  Streak freezes protect against occasional missed days.
205
175
 
206
- ### Weekly Challenges
207
-
208
- Auto-generated based on your weak metrics:
209
-
210
- ```
211
- WEEKLY CHALLENGES
212
-
213
- 🎯 Trust Gauntlet: ████████░░ 4/5 (90%+ trust in 5 sessions)
214
- 🧘 Zen Mode: ██████████ ✓ COMPLETE (+100 XP)
215
- 🔥 Streak Builder: ██░░░░░░░░ 1/5 (extend streak by 5 days)
216
- ```
217
-
218
176
  ### Achievements (19 total)
219
177
 
220
178
  Categories:
@@ -224,29 +182,6 @@ Categories:
224
182
  - **Improvement**: Comeback Kid, On Fire
225
183
  - **Special**: Night Owl, Early Bird, Weekend Warrior
226
184
 
227
- ### Rank Badges
228
-
229
- ```
230
- 🥉 Bronze (10+ sessions)
231
- 🥈 Silver (50+ sessions)
232
- 🥇 Gold (100+ sessions)
233
- 💎 Platinum (14+ day streak)
234
- 🔷 Diamond (5000+ XP)
235
- ```
236
-
237
- ### Local Leaderboards & Hall of Fame
238
-
239
- Track your personal bests across all repos:
240
-
241
- ```
242
- 🏛️ HALL OF FAME
243
-
244
- 🏆 Best Score: 96% (Nov 15, my-project)
245
- 🔥 Longest Streak: 15 days
246
- ⚡ Best Week: 847 XP
247
- 📊 Most Commits: 127 (Nov 10, big-refactor)
248
- ```
249
-
250
185
  ---
251
186
 
252
187
  ## Integration Points
@@ -364,13 +299,12 @@ The VibeScore combines metrics using validated weights derived from empirical an
364
299
  | Phase | Status | Description |
365
300
  |-------|--------|-------------|
366
301
  | CLI Core | ✅ Complete | Metrics, scoring, analysis |
367
- | Gamification | ✅ Complete | XP, streaks, achievements, challenges |
302
+ | Gamification | ✅ Complete | XP, streaks, achievements |
368
303
  | Watch Mode | ✅ Complete | Real-time spiral detection |
369
304
  | GitHub Action | ✅ Complete | Automated PR feedback |
370
- | Pattern Memory | ✅ Complete | Track your spiral triggers |
371
- | Web Dashboard | 🔮 Planned | Visualizations, trends |
305
+ | Session Integration | ✅ Complete | AgentOps integration |
306
+ | Visual Dashboard | Complete | HTML dashboard with charts |
372
307
  | VS Code Extension | 🔮 Planned | Status bar, live alerts |
373
- | Team Features | 🔮 Planned | Opt-in leaderboards |
374
308
 
375
309
  ---
376
310
 
@@ -402,5 +336,5 @@ vibe-check watch
402
336
 
403
337
  *"The goal isn't perfect metrics. It's conscious awareness of your patterns."*
404
338
 
405
- **Version:** 1.5.0
406
- **Last Updated:** 2025-11-29
339
+ **Version:** 1.7.0
340
+ **Last Updated:** 2025-12-02
package/feature-list.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "project": "vibe-check",
3
3
  "created": "2025-11-29",
4
4
  "mode": "standard",
5
- "version": "1.5.0",
5
+ "version": "1.7.0",
6
6
  "features": [
7
7
  {
8
8
  "id": "VIBE-001",
@@ -71,145 +71,197 @@
71
71
  "completed_date": "2025-11-29"
72
72
  },
73
73
  {
74
- "id": "VIBE-012",
75
- "description": "Remove ML cruft (level prediction, calibration, ECE)",
76
- "passes": true,
77
- "completed_date": "2025-11-29"
78
- },
79
- {
80
- "id": "VIBE-013",
81
- "description": "Pattern memory (track your spiral triggers)",
82
- "passes": true,
83
- "completed_date": "2025-11-29"
84
- },
85
- {
86
- "id": "VIBE-014",
87
- "description": "Intervention tracking (what breaks your spirals)",
88
- "passes": true,
89
- "completed_date": "2025-11-29"
90
- },
91
- {
92
- "id": "VIBE-015",
93
- "description": "Weekly Challenges system (auto-generated based on weak metrics)",
74
+ "id": "VIBE-024",
75
+ "description": "Timeline command Phase 1 MVP (session detection, day grouping, terminal output)",
94
76
  "passes": true,
95
- "completed_date": "2025-11-29"
77
+ "completed_date": "2025-11-30"
96
78
  },
97
79
  {
98
- "id": "VIBE-016",
99
- "description": "Prestige System (Archmage, Sage, Zenmester tiers beyond Grandmaster)",
80
+ "id": "VIBE-025",
81
+ "description": "Timeline Phase 2: Flow state detection",
100
82
  "passes": true,
101
- "completed_date": "2025-11-29"
83
+ "completed_date": "2025-11-30"
102
84
  },
103
85
  {
104
- "id": "VIBE-017",
105
- "description": "Enhanced streak display (visual progression with emoji tiers)",
86
+ "id": "VIBE-026",
87
+ "description": "Timeline Phase 2: Post-delete sprint detection",
106
88
  "passes": true,
107
- "completed_date": "2025-11-29"
89
+ "completed_date": "2025-11-30"
108
90
  },
109
91
  {
110
- "id": "VIBE-018",
111
- "description": "Local leaderboards (personal high scores across repos)",
92
+ "id": "VIBE-027",
93
+ "description": "Timeline Phase 2: Thrashing detection",
112
94
  "passes": true,
113
- "completed_date": "2025-11-29"
95
+ "completed_date": "2025-11-30"
114
96
  },
115
97
  {
116
- "id": "VIBE-019",
117
- "description": "Hall of Fame (personal bests and records)",
98
+ "id": "VIBE-028",
99
+ "description": "Timeline recommendation engine with actionable insights",
118
100
  "passes": true,
119
- "completed_date": "2025-11-29"
101
+ "completed_date": "2025-11-30"
120
102
  },
121
103
  {
122
- "id": "VIBE-020",
123
- "description": "Weekly stats with sparklines (trend visualization)",
104
+ "id": "VIBE-029",
105
+ "description": "Timeline Phase 3: Detour detection and late-night spirals",
124
106
  "passes": true,
125
- "completed_date": "2025-11-29"
107
+ "completed_date": "2025-11-30"
126
108
  },
127
109
  {
128
- "id": "VIBE-021",
129
- "description": "Rank badges (Bronze, Silver, Gold, Platinum, Diamond tiers)",
110
+ "id": "VIBE-030",
111
+ "description": "Timeline Phase 4: Export formats (Markdown, HTML for sharing)",
130
112
  "passes": true,
131
- "completed_date": "2025-11-29"
113
+ "completed_date": "2025-11-30"
132
114
  },
133
115
  {
134
- "id": "VIBE-022",
135
- "description": "Share-to-clipboard (shareable profile text and JSON)",
116
+ "id": "VIBE-031",
117
+ "description": "Timeline persistence: Cache to .vibe-check/timeline.json with compounding insights",
136
118
  "passes": true,
137
- "completed_date": "2025-11-29"
119
+ "completed_date": "2025-11-30"
138
120
  },
139
121
  {
140
- "id": "VIBE-023",
141
- "description": "Near-miss psychology messaging (SO CLOSE motivational messages)",
122
+ "id": "VIBE-033",
123
+ "description": "Session integration for AgentOps (session start/end/status commands)",
142
124
  "passes": true,
143
- "completed_date": "2025-11-29"
125
+ "completed_date": "2025-12-02"
144
126
  },
145
127
  {
146
- "id": "VIBE-024",
147
- "description": "Timeline command Phase 1 MVP (session detection, day grouping, terminal output)",
128
+ "id": "VIBE-034",
129
+ "description": "Feature audit and cleanup (remove bloated learning/gamification systems)",
148
130
  "passes": true,
149
- "completed_date": "2025-11-30"
131
+ "completed_date": "2025-12-02"
150
132
  },
151
133
  {
152
- "id": "VIBE-025",
153
- "description": "Timeline Phase 2: Flow state detection",
134
+ "id": "VIBE-040",
135
+ "description": "Spiral history storage (NDJSON append-only log)",
154
136
  "passes": true,
155
- "completed_date": "2025-11-30"
137
+ "completed_date": "2025-12-02",
138
+ "plan_bundle": "actionable-coaching-plan-2025-12-02.md",
139
+ "files": ["src/storage/spiral-history.ts"]
156
140
  },
157
141
  {
158
- "id": "VIBE-026",
159
- "description": "Timeline Phase 2: Post-delete sprint detection",
142
+ "id": "VIBE-041",
143
+ "description": "Auto-record spirals to history during analyze/session",
160
144
  "passes": true,
161
- "completed_date": "2025-11-30"
145
+ "completed_date": "2025-12-02",
146
+ "plan_bundle": "actionable-coaching-plan-2025-12-02.md",
147
+ "files": ["src/commands/analyze.ts", "src/commands/session.ts"]
162
148
  },
163
149
  {
164
- "id": "VIBE-027",
165
- "description": "Timeline Phase 2: Thrashing detection",
150
+ "id": "VIBE-042",
151
+ "description": "Personalized watch alerts (show what worked before)",
166
152
  "passes": true,
167
- "completed_date": "2025-11-30"
153
+ "completed_date": "2025-12-02",
154
+ "plan_bundle": "actionable-coaching-plan-2025-12-02.md",
155
+ "files": ["src/commands/watch.ts"]
168
156
  },
169
157
  {
170
- "id": "VIBE-028",
171
- "description": "Timeline recommendation engine with actionable insights",
158
+ "id": "VIBE-043",
159
+ "description": "Session end coaching (actionable feedback, not just metrics)",
172
160
  "passes": true,
173
- "completed_date": "2025-11-30"
161
+ "completed_date": "2025-12-02",
162
+ "plan_bundle": "actionable-coaching-plan-2025-12-02.md",
163
+ "files": ["src/commands/session.ts"]
174
164
  },
175
165
  {
176
- "id": "VIBE-029",
177
- "description": "Timeline Phase 3: Detour detection and late-night spirals",
166
+ "id": "VIBE-044",
167
+ "description": "Insights command (vibe-check insights - pattern summary)",
178
168
  "passes": true,
179
- "completed_date": "2025-11-30"
169
+ "completed_date": "2025-12-02",
170
+ "plan_bundle": "actionable-coaching-plan-2025-12-02.md",
171
+ "files": ["src/commands/insights.ts", "src/cli.ts"]
180
172
  },
181
173
  {
182
- "id": "VIBE-030",
183
- "description": "Timeline Phase 4: Export formats (Markdown, HTML for sharing)",
174
+ "id": "VIBE-045",
175
+ "description": "Git forensics mode - pattern detection from history (vibe-check forensics)",
184
176
  "passes": true,
185
- "completed_date": "2025-11-30"
177
+ "completed_date": "2025-12-05",
178
+ "priority": 1,
179
+ "effort": "3-4 days",
180
+ "source": "release-engineering retrospective (475 commits analyzed)",
181
+ "plan_bundle": "git-forensics-enhancement-2025-12-05.md",
182
+ "files": [
183
+ "src/commands/forensics.ts",
184
+ "src/analyzers/patterns.ts",
185
+ "src/analyzers/quality.ts",
186
+ "src/cli.ts"
187
+ ],
188
+ "features": [
189
+ "Debug spiral detection (take N pattern)",
190
+ "Vague commit detection (<20 chars)",
191
+ "Context amnesia detection (scope revisits)",
192
+ "Quality metrics (conventional/descriptive/vague %)",
193
+ "Sweep recommendation engine",
194
+ "JSON/Markdown output"
195
+ ],
196
+ "evidence": {
197
+ "repo": "release-engineering",
198
+ "commits_analyzed": 475,
199
+ "spirals_detected": 14,
200
+ "vague_commits": 282,
201
+ "accuracy": "validated against manual analysis"
202
+ }
186
203
  },
187
204
  {
188
- "id": "VIBE-031",
189
- "description": "Timeline persistence: Cache to .vibe-check/timeline.json with compounding insights",
205
+ "id": "VIBE-046",
206
+ "description": "Session detection algorithm - identify work sessions (vibe-check sessions)",
190
207
  "passes": true,
191
- "completed_date": "2025-11-30"
208
+ "completed_date": "2025-12-05",
209
+ "priority": 2,
210
+ "effort": "2 days",
211
+ "source": "release-engineering retrospective (46 sessions detected)",
212
+ "plan_bundle": "git-forensics-enhancement-2025-12-05.md",
213
+ "files": [
214
+ "src/commands/sessions.ts",
215
+ "src/analyzers/sessions.ts",
216
+ "src/cli.ts"
217
+ ],
218
+ "dependencies": ["VIBE-045"],
219
+ "features": [
220
+ "90-minute gap threshold (configurable)",
221
+ "Session duration tracking",
222
+ "Commits per session metrics",
223
+ "Productivity pattern identification",
224
+ "JSON/Markdown output"
225
+ ],
226
+ "evidence": {
227
+ "repo": "release-engineering",
228
+ "sessions_detected": 46,
229
+ "avg_duration_min": 79.4,
230
+ "median_duration_min": 33.1,
231
+ "longest_session_min": 413.2
232
+ }
192
233
  },
193
234
  {
194
- "id": "VIBE-032",
195
- "description": "Automatic Learning & Retrospective Cadence - cadence triggers, nudges, learn command",
196
- "passes": true,
197
- "completed_date": "2025-12-02",
198
- "plan_bundle": "automatic-learning-cadence-plan-2025-12-02.md",
235
+ "id": "VIBE-047",
236
+ "description": "Era evolution tracking - transformation phases over time (vibe-check evolution)",
237
+ "passes": false,
238
+ "status": "deferred",
239
+ "deferred_reason": "Scope creep risk - shifts from personal dev tool to team retrospective tool. Build after VIBE-045/046 proven in production.",
240
+ "deferred_date": "2025-12-05",
241
+ "priority": null,
242
+ "effort": "2-3 days",
243
+ "source": "release-engineering retrospective (5 eras tracked)",
244
+ "plan_bundle": "git-forensics-enhancement-2025-12-05.md",
199
245
  "files": [
200
- "src/learning/types.ts",
201
- "src/learning/storage.ts",
202
- "src/learning/cadence.ts",
203
- "src/learning/nudges.ts",
204
- "src/learning/retrospective.ts",
205
- "src/learning/index.ts",
206
- "src/commands/learn.ts",
207
- "src/learning/lessons-types.ts",
208
- "src/learning/lessons-storage.ts",
209
- "src/learning/synthesis.ts",
210
- "src/learning/surfacing.ts",
211
- "src/commands/lesson.ts"
212
- ]
246
+ "src/commands/evolution.ts",
247
+ "src/analyzers/eras.ts",
248
+ "src/config/eras.schema.json",
249
+ "src/cli.ts"
250
+ ],
251
+ "dependencies": ["VIBE-045", "VIBE-046"],
252
+ "features": [
253
+ "User-defined era configuration",
254
+ "Per-era metrics calculation",
255
+ "Before/after comparison",
256
+ "Transformation tracking",
257
+ "JSON/Markdown/HTML output"
258
+ ],
259
+ "evidence": {
260
+ "repo": "release-engineering",
261
+ "eras": ["genesis", "monolith", "reckoning", "transformation", "proof"],
262
+ "transformation": "0% conventional → 100%",
263
+ "vague_elimination": "97.4% → 0%"
264
+ }
213
265
  }
214
266
  ]
215
267
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boshu2/vibe-check",
3
- "version": "1.7.0",
3
+ "version": "1.8.1",
4
4
  "description": "Track git commit patterns during AI-assisted coding (experimental)",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {