@boshu2/vibe-check 1.7.0 → 1.8.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 (72) 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 +27 -23
  6. package/Makefile +0 -13
  7. package/README.md +126 -173
  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.map +1 -1
  51. package/dist/commands/session.js +38 -0
  52. package/dist/commands/session.js.map +1 -1
  53. package/dist/commands/sessions.d.ts +20 -0
  54. package/dist/commands/sessions.d.ts.map +1 -0
  55. package/dist/commands/sessions.js +201 -0
  56. package/dist/commands/sessions.js.map +1 -0
  57. package/dist/commands/watch.d.ts.map +1 -1
  58. package/dist/commands/watch.js +48 -7
  59. package/dist/commands/watch.js.map +1 -1
  60. package/dist/storage/index.d.ts +1 -0
  61. package/dist/storage/index.d.ts.map +1 -1
  62. package/dist/storage/index.js +11 -1
  63. package/dist/storage/index.js.map +1 -1
  64. package/dist/storage/spiral-history.d.ts +62 -0
  65. package/dist/storage/spiral-history.d.ts.map +1 -0
  66. package/dist/storage/spiral-history.js +265 -0
  67. package/dist/storage/spiral-history.js.map +1 -0
  68. package/docs/ARCHITECTURE.md +2 -10
  69. package/docs/GAMIFICATION.md +19 -266
  70. package/docs/VIBE-ECOSYSTEM.md +12 -78
  71. package/feature-list.json +140 -88
  72. package/package.json +1 -1
package/README.md CHANGED
@@ -1,265 +1,215 @@
1
- # vibe-check
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/boshu2/vibe-check/main/assets/logo.svg" alt="vibe-check" width="400">
3
+ </p>
2
4
 
3
- [![npm version](https://img.shields.io/npm/v/@boshu2/vibe-check.svg)](https://www.npmjs.com/package/@boshu2/vibe-check)
4
- [![CI](https://github.com/boshu2/vibe-check/actions/workflows/ci.yml/badge.svg)](https://github.com/boshu2/vibe-check/actions/workflows/ci.yml)
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
+ <p align="center">
6
+ <strong>Catch the debug spiral before it catches you.</strong>
7
+ </p>
6
8
 
7
- ![Vibe-Check Dashboard](docs/images/dashboard.png)
9
+ <p align="center">
10
+ <a href="https://www.npmjs.com/package/@boshu2/vibe-check"><img src="https://img.shields.io/npm/v/@boshu2/vibe-check.svg?style=flat-square" alt="npm version"></a>
11
+ <a href="https://www.npmjs.com/package/@boshu2/vibe-check"><img src="https://img.shields.io/npm/dm/@boshu2/vibe-check.svg?style=flat-square" alt="downloads"></a>
12
+ <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square" alt="license"></a>
13
+ </p>
8
14
 
9
- **Git-powered metrics for AI-assisted coding.** Catch debug spirals before they catch you.
15
+ <p align="center">
16
+ Git-powered metrics for AI-assisted development.<br>
17
+ Detects the failure patterns from <a href="https://itrevolution.com/product/vibe-coding-book/"><em>Vibe Coding</em></a> (Gene Kim & Steve Yegge, 2025).
18
+ </p>
19
+
20
+ ---
10
21
 
11
22
  ```bash
12
- npx @boshu2/vibe-check --since "2 hours ago"
23
+ npx @boshu2/vibe-check
13
24
  ```
14
25
 
15
- ```
16
- ╭──────────────────────────────────────────────────────────────╮
17
- │ VIBE-CHECK Nov 30, 2025 │
18
- ├──────────────────────────────────────────────────────────────┤
19
- │ │
20
- │ Rating: ELITE ✨ │
21
- │ │
22
- │ Trust Pass Rate ████████████████████ 95% ELITE │
23
- │ Rework Ratio ████░░░░░░░░░░░░░░░░ 18% ELITE │
24
- │ Debug Spirals None detected ELITE │
25
- │ │
26
- │ You're in the zone. Ship it. │
27
- │ │
28
- ╰──────────────────────────────────────────────────────────────╯
29
- ```
26
+ <p align="center">
27
+ <img src="https://raw.githubusercontent.com/boshu2/vibe-check/main/assets/demo.gif" alt="vibe-check demo" width="600">
28
+ </p>
30
29
 
31
30
  ---
32
31
 
33
- ## Dashboard
32
+ ## The Problem
34
33
 
35
- ```bash
36
- vibe-check dashboard
37
- ```
34
+ > "AI can destroy months of work in minutes." — Gene Kim & Steve Yegge
38
35
 
39
- Opens the dashboard above in your browser. Features:
40
- - 📊 Score trend charts with 7/30/90 day views
41
- - 🎯 AI-generated insights about your coding patterns
42
- - 🏆 Achievement tracking (19 achievements, 2 hidden)
43
- - 📈 Session history and ratings distribution
44
- - 🌙 GitHub dark theme
36
+ AI-assisted coding creates a new failure mode: **the debug spiral**.
45
37
 
46
- ---
38
+ You ask AI for a fix. It breaks something else. You ask for another fix. It breaks more. Three commits later, you've lost 30 minutes and made negative progress.
47
39
 
48
- ## Install
40
+ **vibe-check detects these spirals by analyzing your git history.**
49
41
 
50
- ```bash
51
- npm install -g @boshu2/vibe-check
52
- ```
42
+ ---
53
43
 
54
44
  ## Quick Start
55
45
 
56
46
  ```bash
57
47
  # Analyze recent work
58
- vibe-check --since "1 week ago"
48
+ npx @boshu2/vibe-check --since "1 week ago"
59
49
 
60
50
  # Real-time spiral detection
61
- vibe-check watch
51
+ npx @boshu2/vibe-check watch
62
52
 
63
53
  # Visual dashboard
64
- vibe-check dashboard
65
-
66
- # View your profile & achievements
67
- vibe-check profile
54
+ npx @boshu2/vibe-check dashboard
68
55
  ```
69
56
 
70
57
  ---
71
58
 
72
- ## Watch Mode
59
+ ## What It Measures
73
60
 
74
- Catch spirals **as they happen**, not after:
61
+ | Metric | Question | Target |
62
+ |--------|----------|--------|
63
+ | **Trust Pass Rate** | Does the code stick? | >95% |
64
+ | **Rework Ratio** | Building or debugging? | <30% |
65
+ | **Debug Spirals** | Are you stuck? | 0 active |
75
66
 
76
- ```bash
77
- vibe-check watch
78
- ```
67
+ ### Detection Patterns
68
+
69
+ | Pattern | Severity | What It Means |
70
+ |---------|----------|---------------|
71
+ | **Tests Passing Lie** | HIGH | AI claims tests pass, but they don't |
72
+ | **Instruction Drift** | MEDIUM | AI gradually moves off-target |
73
+ | **Debug Loop Spiral** | HIGH | 3+ fix commits on same component |
74
+ | **Context Amnesia** | MEDIUM | Repeated fixes, forgotten solutions |
75
+
76
+ ---
77
+
78
+ ## Watch Mode
79
+
80
+ Catches spirals **as they form** with personalized coaching:
79
81
 
80
82
  ```
81
83
  VIBE-CHECK WATCH MODE
82
- Monitoring: ~/projects/my-app
83
- ────────────────────────────────────────────────────────
84
+ ────────────────────────────────────────────────
84
85
 
85
86
  09:15 fix(auth): handle token refresh
86
87
  09:18 fix(auth): add retry logic
87
88
  09:22 fix(auth): increase timeout
88
89
 
89
- ⚠️ SPIRAL DETECTED
90
- ┌────────────────────────────────────────────────────┐
91
- │ Component: auth │
92
- │ Fixes: 3 commits over 7 minutes │
93
- │ │
94
- │ 💡 Consider: │
95
- │ • Step back and write a test │
96
- │ • Check the docs or ask for help │
97
- │ • Take a 5-minute break │
98
- └────────────────────────────────────────────────────┘
99
-
100
- ────────────────────────────────────────────────────────
101
- ```
102
-
103
- ---
90
+ ⚠️ SPIRAL FORMING
91
+ auth component, 3 fixes, 7 min
104
92
 
105
- ## Gamification
93
+ Your history: 4 auth spirals, avg 18 min
94
+ What worked: wrote a test (3x), took a break (1x)
106
95
 
107
- Level up your coding with XP, streaks, and achievements:
96
+ Write a test before your next fix attempt.
108
97
 
109
- ```bash
110
- vibe-check profile
98
+ ────────────────────────────────────────────────
111
99
  ```
112
100
 
113
- ```
114
- ╭─────────────────────────────────────────────────────╮
115
- │ │
116
- │ 🏔️ Level 6 Grandmaster │
117
- │ ████████████████░░░░░░░░ 2140 / 5000 XP │
118
- │ │
119
- │ 🔥 12 day streak (longest: 14) │
120
- │ 🏆 8/19 achievements unlocked │
121
- │ │
122
- │ Recent Unlocks: │
123
- │ ✨ Elite Vibes 🧘 Zen Master 📊 Regular │
124
- │ │
125
- ╰─────────────────────────────────────────────────────╯
126
- ```
127
-
128
- **19 achievements** including 2 hidden ones. Can you find them?
101
+ Watch mode learns from your history and suggests what's worked before.
129
102
 
130
103
  ---
131
104
 
132
- ## The Metrics
105
+ ## Install
133
106
 
134
- | Metric | What It Measures | 🟢 Elite | 🔴 Needs Work |
135
- |--------|------------------|----------|---------------|
136
- | **Trust Pass Rate** | % commits without immediate fix | >95% | <80% |
137
- | **Rework Ratio** | % commits that are fixes | <30% | >50% |
138
- | **Debug Spiral** | Stuck in fix loops? | 0 | 3+ |
107
+ ```bash
108
+ npm install -g @boshu2/vibe-check
109
+ ```
110
+
111
+ Or use directly with `npx`:
112
+
113
+ ```bash
114
+ npx @boshu2/vibe-check --since "2 hours ago"
115
+ ```
139
116
 
140
117
  ---
141
118
 
142
- ## Vibe Levels
119
+ ## Commands
143
120
 
144
- Declare your trust level before starting work:
121
+ ### Core Analysis
145
122
 
146
123
  ```bash
147
- vibe-check start --level 3
148
- # ... code ...
149
- vibe-check --since "1 hour ago"
124
+ vibe-check # Analyze git history
125
+ vibe-check watch # Real-time spiral monitoring
126
+ vibe-check dashboard # Visual dashboard
127
+ vibe-check timeline # View coding journey
128
+ vibe-check forensics # Deep pattern analysis
150
129
  ```
151
130
 
152
- | Level | Name | Trust | Use For |
153
- |-------|------|-------|---------|
154
- | **5** | Full Auto | 95% | Formatting, linting |
155
- | **4** | High Trust | 80% | Boilerplate, CRUD |
156
- | **3** | Balanced | 60% | Features, tests |
157
- | **2** | Careful | 40% | Integrations, APIs |
158
- | **1** | Skeptical | 20% | Architecture, security |
159
- | **0** | Manual | 0% | Novel research |
131
+ ### Sessions
160
132
 
161
- ---
162
-
163
- ## Git Hook
133
+ ```bash
134
+ vibe-check start --level 3 # Quick session start
135
+ vibe-check session start # Interactive session start
136
+ vibe-check session end # End with metrics
137
+ vibe-check session status # Check active session
138
+ ```
164
139
 
165
- Auto-run before every push:
140
+ ### Profile & Insights
166
141
 
167
142
  ```bash
168
- vibe-check init-hook # Install hook
169
- vibe-check init-hook --block-low # Block LOW pushes
143
+ vibe-check profile # XP and achievements
144
+ vibe-check insights # Your spiral patterns
170
145
  ```
171
146
 
172
- ---
147
+ ### Tools
173
148
 
174
- ## GitHub Action
175
-
176
- ```yaml
177
- name: Vibe Check
178
- on: [pull_request]
179
-
180
- jobs:
181
- vibe:
182
- runs-on: ubuntu-latest
183
- steps:
184
- - uses: actions/checkout@v4
185
- with:
186
- fetch-depth: 0
187
- - uses: boshu2/vibe-check@v1
188
- with:
189
- github-token: ${{ secrets.GITHUB_TOKEN }}
149
+ ```bash
150
+ vibe-check cache status # Cache statistics
151
+ vibe-check cache clear # Clear cache
152
+ vibe-check init-hook # Install pre-push hook
153
+ vibe-check pipeline # Audit CI/CD safety
190
154
  ```
191
155
 
192
156
  ---
193
157
 
194
158
  ## Session Integration
195
159
 
196
- Integrate with Claude Code's `/session-start` and `/session-end` commands:
160
+ Integrate with Claude Code or other AI dev tools:
197
161
 
198
162
  ```bash
199
- # At session start - capture baseline
163
+ # Start session
200
164
  vibe-check session start --level 3
201
165
 
202
- # At session end - get metrics for claude-progress.json
166
+ # End session - get JSON for logging
203
167
  vibe-check session end --format json
204
168
  ```
205
169
 
206
- Output includes failure pattern detection:
207
170
  ```json
208
171
  {
209
- "metrics": { "trust_pass_rate": 92, "rework_ratio": 11, ... },
172
+ "metrics": { "trust_pass_rate": 92, "rework_ratio": 18 },
210
173
  "retro": {
211
174
  "failure_patterns_hit": [],
212
- "failure_patterns_avoided": ["Debug Spiral", "Context Amnesia"],
213
- "learnings": ["Test-first approach prevented spirals"]
175
+ "failure_patterns_avoided": ["Debug Spiral", "Context Amnesia"]
214
176
  }
215
177
  }
216
178
  ```
217
179
 
218
- Used by the [AgentOps session-management plugin](https://github.com/boshu2/agentops).
219
-
220
180
  ---
221
181
 
222
- ## All Commands
182
+ ## The Ecosystem
223
183
 
224
- ```
225
- vibe-check [options] Analyze git history
226
- vibe-check watch Real-time spiral detection
227
- vibe-check dashboard Visual dashboard + insights
228
- vibe-check profile XP, streaks, achievements
229
- vibe-check timeline Coding journey visualization
230
- vibe-check start --level <n> Declare vibe level (0-5)
231
- vibe-check session start Capture baseline for session
232
- vibe-check session end Get session metrics + patterns
233
- vibe-check session status Show active session info
234
- vibe-check intervene Record spiral intervention
235
- vibe-check learn Extract learnings from patterns
236
- vibe-check lesson Manage synthesized lessons
237
- vibe-check init-hook Install git hook
238
- vibe-check cache Manage local storage
239
- ```
184
+ vibe-check implements **Factor V (Measurement)** from [12-Factor AgentOps](https://github.com/boshu2/12-factor-agentops):
240
185
 
241
- **Options:**
242
- ```
243
- --since <date> Start date ("1 week ago", "2024-01-01")
244
- --until <date> End date (default: now)
245
- --score Include VibeScore calculation
246
- --simple Compact output
247
- --format <type> terminal | json | markdown
248
- --output <file> Save JSON to file
249
- --verbose Detailed output
186
+ ```text
187
+ BUILD → WORK → RUN
188
+ 12-Factor Agents Vibe Coding 12-Factor AgentOps
189
+ (HumanLayer) (Gene & Steve) (Operations)
190
+
191
+ vibe-check
192
+ (Measurement)
250
193
  ```
251
194
 
195
+ | Factor | What vibe-check Provides |
196
+ |--------|-------------------------|
197
+ | **IV: Validation Gates** | Pre-commit hooks, CI integration |
198
+ | **V: Measurement** | Quantified feedback loop |
199
+ | **VII: Smart Routing** | Spiral detection triggers intervention |
200
+ | **XI: Fail-Safe Checks** | Pattern detection for all 12 failures |
201
+
252
202
  ---
253
203
 
254
204
  ## Philosophy
255
205
 
256
- **vibe-check is a mirror, not a judge.**
206
+ vibe-check is a mirror, not a judge.
257
207
 
258
- Use it for self-reflection. Catch your own patterns. Improve your own flow.
208
+ It answers one question: *are you building, or are you spiraling?*
259
209
 
260
- It's not a productivity metric. It's not for performance reviews. It's not measuring AI effectiveness.
210
+ Use it for self-reflection. Catch your own patterns. Improve your own flow.
261
211
 
262
- It's just asking: *are you building, or are you spiraling?*
212
+ It's not a productivity metric. It's not for performance reviews.
263
213
 
264
214
  ---
265
215
 
@@ -268,13 +218,16 @@ It's just asking: *are you building, or are you spiraling?*
268
218
  - Node.js >= 20.0.0
269
219
  - Git repository with commits
270
220
 
271
- ## Docs
221
+ ---
222
+
223
+ ## Learn More
272
224
 
273
- - [Vibe-Coding Ecosystem](docs/VIBE-ECOSYSTEM.md) - Full methodology
274
- - [Architecture](docs/ARCHITECTURE.md) - Codebase structure
275
- - [Gamification](docs/GAMIFICATION.md) - XP & achievements deep dive
276
- - [Metrics Explained](docs/METRICS-EXPLAINED.md) - How it works
277
- - [Changelog](CHANGELOG.md) - Version history
225
+ - [Vibe-Coding Ecosystem](docs/VIBE-ECOSYSTEM.md) Full methodology, all features
226
+ - [Vibe Coding Book](https://itrevolution.com/product/vibe-coding-book/) Gene Kim & Steve Yegge (2025)
227
+ - [12-Factor AgentOps](https://github.com/boshu2/12-factor-agentops) Operational framework
228
+ - [12-Factor Agents](https://github.com/humanlayer/12-factor-agents) Engineering patterns (HumanLayer)
229
+
230
+ ---
278
231
 
279
232
  ## License
280
233
 
@@ -283,5 +236,5 @@ MIT
283
236
  ---
284
237
 
285
238
  <p align="center">
286
- <i>Built for developers who vibe with AI</i>
239
+ <em>Built for developers who work with AI.</em>
287
240
  </p>
package/SECURITY.md CHANGED
@@ -4,11 +4,12 @@
4
4
 
5
5
  | Version | Supported |
6
6
  | ------- | ------------------ |
7
+ | 1.7.x | :white_check_mark: |
7
8
  | 1.x.x | :white_check_mark: |
8
9
 
9
10
  ## Security Assessment
10
11
 
11
- **Last Review:** 2025-11-29
12
+ **Last Review:** 2025-12-05
12
13
  **Risk Level:** LOW
13
14
  **Reviewer:** Automated + Manual
14
15
 
@@ -31,6 +32,8 @@ vibe-check is a local CLI tool that reads git history and writes statistics to l
31
32
  2. Calculates metrics from commit patterns
32
33
  3. Writes profile/calibration data to `.vibe-check/` directory
33
34
  4. Optionally installs a pre-push git hook
35
+ 5. Detects work sessions from commit timestamps (pure analysis)
36
+ 6. Analyzes patterns like debug spirals and vague commits (pure analysis)
34
37
 
35
38
  ### What vibe-check does NOT do
36
39
 
@@ -175,4 +178,5 @@ We aim to respond within 48 hours and will credit reporters in the fix announcem
175
178
 
176
179
  | Date | Version | Change |
177
180
  |------|---------|--------|
181
+ | 2025-12-05 | 1.7.0 | Added forensics, sessions commands; updated threat model |
178
182
  | 2025-11-29 | 1.2.0 | Initial security review documented |
@@ -0,0 +1,47 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 100" fill="none">
2
+ <defs>
3
+ <linearGradient id="spiralGrad" x1="0%" y1="0%" x2="100%" y2="100%">
4
+ <stop offset="0%" style="stop-color:#A78BFA"/>
5
+ <stop offset="100%" style="stop-color:#22D3EE"/>
6
+ </linearGradient>
7
+ <linearGradient id="checkGrad" x1="0%" y1="0%" x2="100%" y2="100%">
8
+ <stop offset="0%" style="stop-color:#34D399"/>
9
+ <stop offset="100%" style="stop-color:#22D3EE"/>
10
+ </linearGradient>
11
+ </defs>
12
+
13
+ <!-- Spiral breaking into checkmark -->
14
+ <g transform="translate(10, 10)">
15
+ <!-- Spiral (left side, fading out) -->
16
+ <path d="M40 40
17
+ C40 25, 55 20, 60 35
18
+ C65 45, 50 55, 45 45
19
+ C42 38, 52 32, 55 40"
20
+ stroke="url(#spiralGrad)"
21
+ stroke-width="4"
22
+ stroke-linecap="round"
23
+ fill="none"
24
+ opacity="0.6"/>
25
+
26
+ <!-- Breaking point / transition -->
27
+ <circle cx="55" cy="40" r="3" fill="url(#spiralGrad)" opacity="0.4"/>
28
+
29
+ <!-- Checkmark (emerging from spiral) -->
30
+ <path d="M52 45 L62 55 L78 30"
31
+ stroke="url(#checkGrad)"
32
+ stroke-width="5"
33
+ stroke-linecap="round"
34
+ stroke-linejoin="round"
35
+ fill="none"/>
36
+ </g>
37
+
38
+ <!-- Text: vibe-check -->
39
+ <text x="100" y="62" font-family="system-ui, -apple-system, sans-serif" font-size="42" font-weight="600">
40
+ <tspan fill="#A78BFA">vibe</tspan><tspan fill="#94A3B8">-</tspan><tspan fill="#22D3EE">check</tspan>
41
+ </text>
42
+
43
+ <!-- Tagline -->
44
+ <text x="102" y="82" font-family="system-ui, -apple-system, sans-serif" font-size="14" fill="#CBD5E1" letter-spacing="0.5">
45
+ catch the spiral before it catches you
46
+ </text>
47
+ </svg>
@@ -0,0 +1,47 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 100" fill="none">
2
+ <defs>
3
+ <linearGradient id="spiralGrad" x1="0%" y1="0%" x2="100%" y2="100%">
4
+ <stop offset="0%" style="stop-color:#7C3AED"/>
5
+ <stop offset="100%" style="stop-color:#06B6D4"/>
6
+ </linearGradient>
7
+ <linearGradient id="checkGrad" x1="0%" y1="0%" x2="100%" y2="100%">
8
+ <stop offset="0%" style="stop-color:#10B981"/>
9
+ <stop offset="100%" style="stop-color:#06B6D4"/>
10
+ </linearGradient>
11
+ </defs>
12
+
13
+ <!-- Spiral breaking into checkmark -->
14
+ <g transform="translate(10, 10)">
15
+ <!-- Spiral (left side, fading out) -->
16
+ <path d="M40 40
17
+ C40 25, 55 20, 60 35
18
+ C65 45, 50 55, 45 45
19
+ C42 38, 52 32, 55 40"
20
+ stroke="url(#spiralGrad)"
21
+ stroke-width="4"
22
+ stroke-linecap="round"
23
+ fill="none"
24
+ opacity="0.6"/>
25
+
26
+ <!-- Breaking point / transition -->
27
+ <circle cx="55" cy="40" r="3" fill="url(#spiralGrad)" opacity="0.4"/>
28
+
29
+ <!-- Checkmark (emerging from spiral) -->
30
+ <path d="M52 45 L62 55 L78 30"
31
+ stroke="url(#checkGrad)"
32
+ stroke-width="5"
33
+ stroke-linecap="round"
34
+ stroke-linejoin="round"
35
+ fill="none"/>
36
+ </g>
37
+
38
+ <!-- Text: vibe-check -->
39
+ <text x="100" y="62" font-family="system-ui, -apple-system, sans-serif" font-size="42" font-weight="600">
40
+ <tspan fill="#7C3AED">vibe</tspan><tspan fill="#64748B">-</tspan><tspan fill="#06B6D4">check</tspan>
41
+ </text>
42
+
43
+ <!-- Tagline -->
44
+ <text x="102" y="82" font-family="system-ui, -apple-system, sans-serif" font-size="14" fill="#94A3B8" letter-spacing="0.5">
45
+ catch the spiral before it catches you
46
+ </text>
47
+ </svg>
@@ -161,16 +161,15 @@
161
161
  }
162
162
  ],
163
163
  "current_state": {
164
- "phase": "brainstorming",
165
- "working_on": "Feature audit - cut/enhance/add analysis",
164
+ "phase": "completed",
165
+ "working_on": null,
166
166
  "blockers": [],
167
167
  "next_steps": [
168
- "Decide: Cut learning system (10 files, ~1500 lines)?",
169
- "Decide: Cut advanced gamification (challenges, leaderboards, badges)?",
170
- "Decide: Add `vibe-check now` quick check?",
171
- "Consider npm publish for v1.7.0"
168
+ "Run vibe-check on real projects to validate",
169
+ "Consider bumping version to 1.8.0",
170
+ "VIBE-047 DEFERRED: Era evolution tracking (scope creep risk - revisit after 045/046 proven)"
172
171
  ],
173
- "resume_summary": "Session integration complete. Ran feature audit: 78 files is bloated, recommend cutting to ~35. Learning system (10 files) and advanced gamification (5 files) are over-engineered. Core value is analyze + watch + basic gamification."
172
+ "resume_summary": "VIBE-045 (forensics) and VIBE-046 (sessions) both implemented and tested. 41 new tracer tests, all 100 tests passing. Commands: vibe-check forensics, vibe-check sessions."
174
173
  },
175
174
  "sessions": [
176
175
  {
@@ -197,6 +196,28 @@
197
196
  "Learning system has zero adoption evidence - candidate for removal"
198
197
  ]
199
198
  }
199
+ },
200
+ {
201
+ "session_id": "2025-12-02-002",
202
+ "started": "2025-12-02T19:30:00Z",
203
+ "ended": "2025-12-02T21:00:00Z",
204
+ "vibe_level": 3,
205
+ "summary": "Major cleanup: cut 20 files (-3900 lines), published v1.7.0. Fixed all docs. Created actionable coaching plan (5 features).",
206
+ "commits": ["6c28204", "1526f6d", "fbe6a89", "e77a6c9", "8f77bda", "e4515e8", "5ec7758", "871a0c4"],
207
+ "features_completed": ["VIBE-033", "VIBE-034"],
208
+ "metrics": {
209
+ "trust_pass_rate": 100,
210
+ "rework_ratio": 0
211
+ },
212
+ "retro": {
213
+ "failure_patterns_hit": [],
214
+ "failure_patterns_avoided": ["Scope Creep", "Over-engineering"],
215
+ "learnings": [
216
+ "Cutting features feels good - 78→58 files, cleaner codebase",
217
+ "Documentation debt accumulates - must update docs after code changes",
218
+ "Plan before implement - actionable coaching plan guides next work"
219
+ ]
220
+ }
200
221
  }
201
222
  ],
202
223
  "sessions_continued": [
@@ -3,6 +3,54 @@ Created: 2025-11-29
3
3
 
4
4
  ## Session Log
5
5
 
6
+ --- 2025-12-02 21:00 - Major Cleanup & Actionable Coaching Plan ---
7
+
8
+ VIBE LEVEL: 3 (Balanced, verify key outputs)
9
+
10
+ COMPLETED:
11
+ - Major codebase cleanup:
12
+ - Cut learning system (10 files, 1755 lines)
13
+ - Cut advanced gamification (7 files, 1215 lines)
14
+ - Removed learn, lesson, intervene commands
15
+ - 78 → 58 source files, -3900 lines total
16
+ - Published v1.7.0 to npm
17
+ - Fixed all documentation:
18
+ - Makefile, CLAUDE.md, README.md
19
+ - docs/GAMIFICATION.md (full rewrite)
20
+ - docs/ARCHITECTURE.md, docs/VIBE-ECOSYSTEM.md
21
+ - Created actionable coaching plan:
22
+ - 5 new features (VIBE-040 to VIBE-044)
23
+ - Spiral history storage, personalized alerts
24
+ - ~300-400 lines, lean implementation
25
+
26
+ COMMITS:
27
+ - 6c28204 refactor: remove learning system and advanced gamification
28
+ - 1526f6d chore: bump version to 1.7.0
29
+ - fbe6a89 docs: remove references to deleted commands
30
+ - e77a6c9 docs: update GAMIFICATION.md and ARCHITECTURE.md
31
+ - 8f77bda docs: update VIBE-ECOSYSTEM.md and ARCHITECTURE.md
32
+ - e4515e8 feat(dashboard): enhanced visual dashboard
33
+ - 5ec7758 chore: add session bundles
34
+ - 871a0c4 plan: actionable coaching enhancement
35
+
36
+ ARTIFACTS:
37
+ - .agents/bundles/actionable-coaching-plan-2025-12-02.md
38
+ - feature-list.json updated with VIBE-040 to VIBE-044
39
+
40
+ REMAINING:
41
+ - VIBE-040: Spiral history storage (NDJSON)
42
+ - VIBE-041: Auto-record spirals during analyze/session
43
+ - VIBE-042: Personalized watch alerts
44
+ - VIBE-043: Session end coaching
45
+ - VIBE-044: Insights command
46
+
47
+ NEXT SESSION SHOULD:
48
+ - Start with VIBE-040: Create src/storage/spiral-history.ts
49
+ - Implement NDJSON append/query functions
50
+ - Then VIBE-041: Wire into analyze.ts and session.ts
51
+
52
+ ================================================================================
53
+
6
54
  --- 2025-12-02 - Automatic Learning Cadence Research & Planning ---
7
55
 
8
56
  VIBE LEVEL: 4 (Research/Planning, exploratory)