@ekkos/cli 0.2.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/dist/cache/LocalSessionStore.d.ts +129 -0
- package/dist/cache/LocalSessionStore.js +688 -0
- package/dist/cache/capture.d.ts +26 -0
- package/dist/cache/capture.js +461 -0
- package/dist/cache/index.d.ts +7 -0
- package/dist/cache/index.js +23 -0
- package/dist/cache/types.d.ts +147 -0
- package/dist/cache/types.js +40 -0
- package/dist/commands/init.d.ts +9 -0
- package/dist/commands/init.js +478 -0
- package/dist/commands/run.d.ts +12 -0
- package/dist/commands/run.js +829 -0
- package/dist/commands/setup.d.ts +6 -0
- package/dist/commands/setup.js +658 -0
- package/dist/commands/status.d.ts +1 -0
- package/dist/commands/status.js +109 -0
- package/dist/commands/test.d.ts +1 -0
- package/dist/commands/test.js +157 -0
- package/dist/deploy/agents.d.ts +15 -0
- package/dist/deploy/agents.js +72 -0
- package/dist/deploy/hooks.d.ts +16 -0
- package/dist/deploy/hooks.js +121 -0
- package/dist/deploy/index.d.ts +7 -0
- package/dist/deploy/index.js +24 -0
- package/dist/deploy/instructions.d.ts +12 -0
- package/dist/deploy/instructions.js +36 -0
- package/dist/deploy/mcp.d.ts +19 -0
- package/dist/deploy/mcp.js +109 -0
- package/dist/deploy/plugins.d.ts +19 -0
- package/dist/deploy/plugins.js +62 -0
- package/dist/deploy/settings.d.ts +8 -0
- package/dist/deploy/settings.js +84 -0
- package/dist/deploy/skills.d.ts +19 -0
- package/dist/deploy/skills.js +60 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +71 -0
- package/dist/restore/RestoreOrchestrator.d.ts +48 -0
- package/dist/restore/RestoreOrchestrator.js +481 -0
- package/dist/restore/index.d.ts +4 -0
- package/dist/restore/index.js +20 -0
- package/dist/utils/platform.d.ts +29 -0
- package/dist/utils/platform.js +65 -0
- package/dist/utils/session-words.json +119 -0
- package/dist/utils/state.d.ts +57 -0
- package/dist/utils/state.js +186 -0
- package/dist/utils/templates.d.ts +24 -0
- package/dist/utils/templates.js +118 -0
- package/package.json +48 -0
- package/templates/CLAUDE.md +287 -0
- package/templates/README.md +378 -0
- package/templates/agents/README.md +182 -0
- package/templates/agents/code-reviewer.md +166 -0
- package/templates/agents/debug-detective.md +169 -0
- package/templates/agents/ekkOS_Vercel.md +99 -0
- package/templates/agents/extension-manager.md +229 -0
- package/templates/agents/git-companion.md +185 -0
- package/templates/agents/github-test-agent.md +321 -0
- package/templates/agents/railway-manager.md +179 -0
- package/templates/claude-plugins/PHASE2_COMPLETION.md +346 -0
- package/templates/claude-plugins/PLUGIN_PROPOSALS.md +1776 -0
- package/templates/claude-plugins/README.md +587 -0
- package/templates/claude-plugins/agents/code-reviewer.json +14 -0
- package/templates/claude-plugins/agents/debug-detective.json +15 -0
- package/templates/claude-plugins/agents/git-companion.json +14 -0
- package/templates/claude-plugins/blog-manager/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/blog-manager/commands/blog.md +691 -0
- package/templates/claude-plugins/golden-loop-monitor/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/golden-loop-monitor/commands/loop-status.md +434 -0
- package/templates/claude-plugins/learning-tracker/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/learning-tracker/commands/my-patterns.md +282 -0
- package/templates/claude-plugins/memory-lens/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/memory-lens/commands/memory-search.md +181 -0
- package/templates/claude-plugins/pattern-coach/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/pattern-coach/commands/forge.md +365 -0
- package/templates/claude-plugins/project-schema-validator/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins/project-schema-validator/commands/validate-schema.md +582 -0
- package/templates/claude-plugins-admin/AGENT_TEAM_PROPOSALS.md +819 -0
- package/templates/claude-plugins-admin/README.md +446 -0
- package/templates/claude-plugins-admin/autonomous-admin-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/autonomous-admin-agent/commands/agent.md +595 -0
- package/templates/claude-plugins-admin/backend-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/backend-agent/commands/backend.md +798 -0
- package/templates/claude-plugins-admin/deploy-guardian/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/deploy-guardian/commands/deploy.md +554 -0
- package/templates/claude-plugins-admin/frontend-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/frontend-agent/commands/frontend.md +881 -0
- package/templates/claude-plugins-admin/mcp-server-manager/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/mcp-server-manager/commands/mcp.md +85 -0
- package/templates/claude-plugins-admin/memory-system-monitor/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/memory-system-monitor/commands/memory-health.md +569 -0
- package/templates/claude-plugins-admin/qa-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/qa-agent/commands/qa.md +863 -0
- package/templates/claude-plugins-admin/tech-lead-agent/.claude-plugin/plugin.json +8 -0
- package/templates/claude-plugins-admin/tech-lead-agent/commands/lead.md +732 -0
- package/templates/commands/continue.md +47 -0
- package/templates/cursor-hooks/after-agent-response.sh +117 -0
- package/templates/cursor-hooks/before-submit-prompt.sh +419 -0
- package/templates/cursor-hooks/hooks.json +20 -0
- package/templates/cursor-hooks/lib/contract.sh +320 -0
- package/templates/cursor-hooks/stop.sh +75 -0
- package/templates/cursor-rules/ekkos-memory.md +187 -0
- package/templates/hooks/assistant-response.sh +96 -0
- package/templates/hooks/hooks.json +28 -0
- package/templates/hooks/lib/contract.sh +320 -0
- package/templates/hooks/lib/state.sh +158 -0
- package/templates/hooks/session-start.ps1 +41 -0
- package/templates/hooks/session-start.sh +318 -0
- package/templates/hooks/stop.ps1 +16 -0
- package/templates/hooks/stop.sh +989 -0
- package/templates/hooks/user-prompt-submit.ps1 +174 -0
- package/templates/hooks/user-prompt-submit.sh +587 -0
- package/templates/hooks-node/lib/state.js +187 -0
- package/templates/hooks-node/stop.js +416 -0
- package/templates/hooks-node/user-prompt-submit.js +337 -0
- package/templates/plan-template.md +306 -0
- package/templates/rules/00-hooks-contract.mdc +89 -0
- package/templates/rules/30-ekkos-core.mdc +188 -0
- package/templates/rules/31-ekkos-messages.mdc +78 -0
- package/templates/skills/continue/SKILL.md +169 -0
- package/templates/skills/ekkOS_Deep_Recall/Skill.md +282 -0
- package/templates/skills/ekkOS_Learn/Skill.md +265 -0
- package/templates/skills/ekkOS_Memory_First/Skill.md +206 -0
- package/templates/skills/ekkOS_Plan_Assist/Skill.md +302 -0
- package/templates/skills/ekkOS_Preferences/Skill.md +247 -0
- package/templates/skills/ekkOS_Reflect/Skill.md +257 -0
- package/templates/skills/ekkOS_Safety/Skill.md +265 -0
- package/templates/skills/ekkOS_Schema/Skill.md +251 -0
- package/templates/skills/ekkOS_Summary/Skill.md +257 -0
- package/templates/skills/ekkOS_Vault/Skill.md +287 -0
- package/templates/skills/permissions/Skill.md +322 -0
- package/templates/spec-template.md +159 -0
- package/templates/windsurf-hooks/before-submit-prompt.sh +238 -0
- package/templates/windsurf-hooks/hooks.json +10 -0
- package/templates/windsurf-hooks/lib/contract.sh +320 -0
- package/templates/windsurf-rules/ekkos-memory.md +129 -0
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
# Loop Status
|
|
2
|
+
|
|
3
|
+
Monitor and troubleshoot the Golden Loop to ensure ekkOS is working correctly for your codebase.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
The **Golden Loop** is the heart of ekkOS:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
RETRIEVE → APPLY → MEASURE → LEARN
|
|
11
|
+
↑ ↓
|
|
12
|
+
└───────────────────────────┘
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
This command shows you:
|
|
16
|
+
- ✅ Is the loop working?
|
|
17
|
+
- ⚠️ Where is it breaking?
|
|
18
|
+
- 🔧 How to fix issues
|
|
19
|
+
|
|
20
|
+
## What it does
|
|
21
|
+
|
|
22
|
+
1. **Tests each loop phase** - RETRIEVE, APPLY, MEASURE, LEARN
|
|
23
|
+
2. **Shows recent activity** - What happened in last session
|
|
24
|
+
3. **Identifies bottlenecks** - Where the loop is stuck
|
|
25
|
+
4. **Diagnoses issues** - Why patterns aren't being retrieved/applied
|
|
26
|
+
5. **Provides fixes** - Actionable steps to resolve problems
|
|
27
|
+
6. **Real-time health check** - Is ekkOS MCP responding?
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Check Golden Loop status
|
|
33
|
+
/loop-status
|
|
34
|
+
|
|
35
|
+
# Detailed diagnostic
|
|
36
|
+
/loop-status --detailed
|
|
37
|
+
|
|
38
|
+
# Test a specific phase
|
|
39
|
+
/loop-status --test-retrieve
|
|
40
|
+
/loop-status --test-forge
|
|
41
|
+
|
|
42
|
+
# Show last session activity
|
|
43
|
+
/loop-status --last-session
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Example - Healthy Loop
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
🔄 Golden Loop Status Check
|
|
50
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
51
|
+
|
|
52
|
+
Overall Status: ✅ HEALTHY
|
|
53
|
+
|
|
54
|
+
All phases operational. Your ekkOS memory is working perfectly!
|
|
55
|
+
|
|
56
|
+
───────────────────────────────────────────────────────────────────
|
|
57
|
+
📊 Loop Phases
|
|
58
|
+
|
|
59
|
+
1. ✅ RETRIEVE (Pattern Search)
|
|
60
|
+
Status: Working
|
|
61
|
+
Last Activity: 2 minutes ago
|
|
62
|
+
Recent: Retrieved 3 patterns for "auth error"
|
|
63
|
+
Performance: 95ms avg response time
|
|
64
|
+
Success Rate: 89% (patterns found when relevant)
|
|
65
|
+
|
|
66
|
+
2. ✅ APPLY (Pattern Usage)
|
|
67
|
+
Status: Working
|
|
68
|
+
Last Activity: 5 minutes ago
|
|
69
|
+
Recent: Applied pattern "Fix JWT expiration"
|
|
70
|
+
Application Rate: 84% (patterns actually used)
|
|
71
|
+
User Engagement: Excellent
|
|
72
|
+
|
|
73
|
+
3. ✅ MEASURE (Outcome Tracking)
|
|
74
|
+
Status: Working
|
|
75
|
+
Last Activity: 10 minutes ago
|
|
76
|
+
Recent: Tracked success for "Fix JWT expiration"
|
|
77
|
+
Tracking Rate: 72% (outcomes recorded)
|
|
78
|
+
Note: Could be improved - see recommendations
|
|
79
|
+
|
|
80
|
+
4. ✅ LEARN (Pattern Forging)
|
|
81
|
+
Status: Working
|
|
82
|
+
Last Activity: 1 hour ago
|
|
83
|
+
Recent: Forged "Handle API timeout"
|
|
84
|
+
Forging Rate: 45% (solutions captured)
|
|
85
|
+
Note: Good, but could forge more often
|
|
86
|
+
|
|
87
|
+
───────────────────────────────────────────────────────────────────
|
|
88
|
+
📈 Recent Activity (Last Hour)
|
|
89
|
+
|
|
90
|
+
🔍 RETRIEVE Events:
|
|
91
|
+
• 10:15 AM - Searched for "database connection error" → 2 patterns
|
|
92
|
+
• 10:32 AM - Searched for "react useEffect dependency" → 4 patterns
|
|
93
|
+
• 10:45 AM - Searched for "typescript generic types" → 1 pattern
|
|
94
|
+
|
|
95
|
+
✅ APPLY Events:
|
|
96
|
+
• 10:17 AM - Applied "Fix DB connection pool exhaustion" (success)
|
|
97
|
+
• 10:48 AM - Applied "Generic type constraints" (pending outcome)
|
|
98
|
+
|
|
99
|
+
📊 MEASURE Events:
|
|
100
|
+
• 10:25 AM - Marked "Fix DB connection" as successful
|
|
101
|
+
• Pattern success rate updated: 92% → 93%
|
|
102
|
+
|
|
103
|
+
⚒️ LEARN Events:
|
|
104
|
+
• 11:02 AM - Forged "Handle API timeout with retry"
|
|
105
|
+
• Total patterns: 41 → 42
|
|
106
|
+
|
|
107
|
+
───────────────────────────────────────────────────────────────────
|
|
108
|
+
🎯 Performance Metrics
|
|
109
|
+
|
|
110
|
+
Golden Loop Efficiency: 76% (Good)
|
|
111
|
+
├─ RETRIEVE → APPLY: 84% (patterns get used)
|
|
112
|
+
├─ APPLY → MEASURE: 72% (outcomes tracked)
|
|
113
|
+
└─ MEASURE → LEARN: 45% (new patterns forged)
|
|
114
|
+
|
|
115
|
+
Bottleneck Analysis:
|
|
116
|
+
• MEASURE phase could be better (72%)
|
|
117
|
+
→ Some patterns applied but outcomes not tracked
|
|
118
|
+
→ This is OK - not all applications need tracking
|
|
119
|
+
|
|
120
|
+
• LEARN phase is moderate (45%)
|
|
121
|
+
→ You're forging patterns, but could capture more
|
|
122
|
+
→ Try using /forge after solving problems
|
|
123
|
+
|
|
124
|
+
Total Loop Cycles Completed: 18 (since last week)
|
|
125
|
+
Average Cycle Time: 2.5 hours (problem → solution → pattern)
|
|
126
|
+
|
|
127
|
+
───────────────────────────────────────────────────────────────────
|
|
128
|
+
✅ Health Checks
|
|
129
|
+
|
|
130
|
+
MCP Connection: ✅ Responding (52ms ping)
|
|
131
|
+
Authentication: ✅ Valid token
|
|
132
|
+
Pattern Storage: ✅ 42 patterns accessible
|
|
133
|
+
Hook Integration: ✅ Auto-injection working
|
|
134
|
+
API Rate Limit: ✅ 847/1000 requests remaining today
|
|
135
|
+
|
|
136
|
+
───────────────────────────────────────────────────────────────────
|
|
137
|
+
💡 Recommendations
|
|
138
|
+
|
|
139
|
+
1. 🎉 Great job! Your Golden Loop is healthy
|
|
140
|
+
→ ekkOS is working as designed
|
|
141
|
+
|
|
142
|
+
2. ⚒️ Try forging more patterns
|
|
143
|
+
→ 45% capture rate is decent, aim for 60%+
|
|
144
|
+
→ Use /forge after solving problems
|
|
145
|
+
|
|
146
|
+
3. 📊 Outcome tracking is good
|
|
147
|
+
→ 72% of applications measured
|
|
148
|
+
→ This helps patterns improve over time
|
|
149
|
+
|
|
150
|
+
Keep using ekkOS and your memory will continue to grow! 🌱
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## Example - Loop Issues Detected
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
🔄 Golden Loop Status Check
|
|
157
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
158
|
+
|
|
159
|
+
Overall Status: ⚠️ ISSUES DETECTED
|
|
160
|
+
|
|
161
|
+
Some phases aren't working correctly. Let's fix them!
|
|
162
|
+
|
|
163
|
+
───────────────────────────────────────────────────────────────────
|
|
164
|
+
📊 Loop Phases
|
|
165
|
+
|
|
166
|
+
1. ⚠️ RETRIEVE (Pattern Search)
|
|
167
|
+
Status: Degraded
|
|
168
|
+
Last Activity: Never
|
|
169
|
+
Problem: No patterns being retrieved
|
|
170
|
+
Recent: 0 retrievals in last 24 hours
|
|
171
|
+
|
|
172
|
+
🔧 Diagnosis:
|
|
173
|
+
• Hooks may not be configured
|
|
174
|
+
• MCP server might not be running
|
|
175
|
+
• No patterns in memory yet (brand new user?)
|
|
176
|
+
|
|
177
|
+
✅ Fixes:
|
|
178
|
+
1. Check MCP config: cat ~/.claude/claude_desktop_config.json
|
|
179
|
+
2. Verify ekkos-connect is authenticated
|
|
180
|
+
3. Test manual search: /memory-search "test"
|
|
181
|
+
4. If brand new, forge your first pattern: /forge
|
|
182
|
+
|
|
183
|
+
2. ⚠️ APPLY (Pattern Usage)
|
|
184
|
+
Status: Low Activity
|
|
185
|
+
Last Activity: 3 days ago
|
|
186
|
+
Problem: Patterns retrieved but not applied
|
|
187
|
+
Application Rate: 12% (very low)
|
|
188
|
+
|
|
189
|
+
🔧 Diagnosis:
|
|
190
|
+
• Patterns might not be relevant
|
|
191
|
+
• User not following pattern suggestions
|
|
192
|
+
• Pattern quality issues
|
|
193
|
+
|
|
194
|
+
✅ Fixes:
|
|
195
|
+
1. Check pattern relevance: /my-patterns
|
|
196
|
+
2. Update low-quality patterns: /forge --update
|
|
197
|
+
3. Remove stale patterns: /my-patterns --archive-stale
|
|
198
|
+
|
|
199
|
+
3. ❌ MEASURE (Outcome Tracking)
|
|
200
|
+
Status: Broken
|
|
201
|
+
Last Activity: Never
|
|
202
|
+
Problem: No outcomes being tracked
|
|
203
|
+
Tracking Rate: 0%
|
|
204
|
+
|
|
205
|
+
🔧 Diagnosis:
|
|
206
|
+
• Post-tool-use hook not configured
|
|
207
|
+
• ekkOS_Outcome never called
|
|
208
|
+
• Pattern applications not being detected
|
|
209
|
+
|
|
210
|
+
✅ Fixes:
|
|
211
|
+
1. Check hooks: ls ~/.claude/hooks/
|
|
212
|
+
2. Reinstall hooks: "ekkOS: Setup Global Hooks"
|
|
213
|
+
3. Manual outcome: Call ekkOS_Outcome after applying pattern
|
|
214
|
+
|
|
215
|
+
4. ❌ LEARN (Pattern Forging)
|
|
216
|
+
Status: Not Happening
|
|
217
|
+
Last Activity: Never
|
|
218
|
+
Problem: No patterns forged yet
|
|
219
|
+
Forging Rate: 0%
|
|
220
|
+
|
|
221
|
+
🔧 Diagnosis:
|
|
222
|
+
• User hasn't forged any patterns
|
|
223
|
+
• New ekkOS user
|
|
224
|
+
• Don't know how to forge
|
|
225
|
+
|
|
226
|
+
✅ Fixes:
|
|
227
|
+
1. Forge your first pattern: /forge
|
|
228
|
+
2. Read forging guide: /forge --help
|
|
229
|
+
3. Pattern Coach will guide you interactively
|
|
230
|
+
|
|
231
|
+
───────────────────────────────────────────────────────────────────
|
|
232
|
+
🚨 Critical Issues
|
|
233
|
+
|
|
234
|
+
Issue #1: MCP Server Not Responding
|
|
235
|
+
Severity: Critical
|
|
236
|
+
Impact: ekkOS cannot function without MCP
|
|
237
|
+
Fix:
|
|
238
|
+
1. Check if ekkos-connect is installed
|
|
239
|
+
2. Run: "ekkOS: Connect Account"
|
|
240
|
+
3. Verify auth: cat ~/.ekkos/config.json
|
|
241
|
+
4. Test connection: /loop-status --test-connection
|
|
242
|
+
|
|
243
|
+
Issue #2: No Patterns Forged
|
|
244
|
+
Severity: High
|
|
245
|
+
Impact: Nothing to retrieve = loop can't start
|
|
246
|
+
Fix:
|
|
247
|
+
1. Forge your first pattern: /forge
|
|
248
|
+
2. This kickstarts the Golden Loop
|
|
249
|
+
3. After first pattern, auto-retrieval begins
|
|
250
|
+
|
|
251
|
+
Issue #3: Hooks Not Configured
|
|
252
|
+
Severity: Medium
|
|
253
|
+
Impact: Auto-injection won't work
|
|
254
|
+
Fix:
|
|
255
|
+
1. Run: "ekkOS: Setup Global Hooks"
|
|
256
|
+
2. Restart Claude Code
|
|
257
|
+
3. Test: Hooks should inject patterns automatically
|
|
258
|
+
|
|
259
|
+
───────────────────────────────────────────────────────────────────
|
|
260
|
+
🔧 Quick Fix Checklist
|
|
261
|
+
|
|
262
|
+
Run these commands in order:
|
|
263
|
+
|
|
264
|
+
[ ] 1. Verify ekkos-connect installed
|
|
265
|
+
→ Check VS Code extensions
|
|
266
|
+
|
|
267
|
+
[ ] 2. Authenticate with ekkOS
|
|
268
|
+
→ Command: "ekkOS: Connect Account"
|
|
269
|
+
|
|
270
|
+
[ ] 3. Setup hooks globally
|
|
271
|
+
→ Command: "ekkOS: Setup Global Hooks"
|
|
272
|
+
|
|
273
|
+
[ ] 4. Forge your first pattern
|
|
274
|
+
→ Command: /forge
|
|
275
|
+
|
|
276
|
+
[ ] 5. Test retrieval
|
|
277
|
+
→ Command: /memory-search "test"
|
|
278
|
+
|
|
279
|
+
[ ] 6. Rerun this check
|
|
280
|
+
→ Command: /loop-status
|
|
281
|
+
|
|
282
|
+
───────────────────────────────────────────────────────────────────
|
|
283
|
+
📞 Need Help?
|
|
284
|
+
|
|
285
|
+
If issues persist:
|
|
286
|
+
|
|
287
|
+
• Documentation: https://docs.ekkos.dev/troubleshooting
|
|
288
|
+
• Discord: https://discord.gg/ekkos
|
|
289
|
+
• Email: support@ekkos.dev
|
|
290
|
+
|
|
291
|
+
Include this status output when asking for help!
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
## Example - Bottleneck Identified
|
|
295
|
+
|
|
296
|
+
```
|
|
297
|
+
🔄 Golden Loop Status Check
|
|
298
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
299
|
+
|
|
300
|
+
Overall Status: ⚠️ BOTTLENECK DETECTED
|
|
301
|
+
|
|
302
|
+
The loop is working, but there's a bottleneck in the LEARN phase.
|
|
303
|
+
|
|
304
|
+
───────────────────────────────────────────────────────────────────
|
|
305
|
+
📊 Loop Phases
|
|
306
|
+
|
|
307
|
+
1. ✅ RETRIEVE: 95% healthy
|
|
308
|
+
2. ✅ APPLY: 88% healthy
|
|
309
|
+
3. ✅ MEASURE: 78% healthy
|
|
310
|
+
4. ⚠️ LEARN: 15% healthy ← BOTTLENECK
|
|
311
|
+
|
|
312
|
+
───────────────────────────────────────────────────────────────────
|
|
313
|
+
🔍 Bottleneck Analysis
|
|
314
|
+
|
|
315
|
+
Problem: Low Forging Rate (15%)
|
|
316
|
+
|
|
317
|
+
You're solving problems and applying patterns, but not capturing
|
|
318
|
+
new solutions. This means:
|
|
319
|
+
|
|
320
|
+
• ❌ Repeated problem-solving (no memory of solutions)
|
|
321
|
+
• ❌ Patterns not growing with your experience
|
|
322
|
+
• ❌ Golden Loop incomplete (doesn't close)
|
|
323
|
+
|
|
324
|
+
Impact:
|
|
325
|
+
• You've solved 47 problems in the last week
|
|
326
|
+
• Only forged 7 patterns (15% capture rate)
|
|
327
|
+
• 40 solutions LOST (not remembered!)
|
|
328
|
+
|
|
329
|
+
What You're Missing:
|
|
330
|
+
• Those 40 solutions could save you hours next time
|
|
331
|
+
• Other developers could benefit from your solutions
|
|
332
|
+
• Your ekkOS memory is growing SLOWLY
|
|
333
|
+
|
|
334
|
+
───────────────────────────────────────────────────────────────────
|
|
335
|
+
✅ How to Fix: Forge More Often
|
|
336
|
+
|
|
337
|
+
Build a habit:
|
|
338
|
+
|
|
339
|
+
1. After solving ANY problem → /forge
|
|
340
|
+
2. After fixing ANY bug → /forge
|
|
341
|
+
3. After user corrects you → /forge
|
|
342
|
+
4. After discovering gotcha → /forge failure
|
|
343
|
+
|
|
344
|
+
Make it automatic:
|
|
345
|
+
|
|
346
|
+
• Set reminder: "Did I forge that solution?"
|
|
347
|
+
• Use Pattern Coach: /forge (guides you interactively)
|
|
348
|
+
• Quick forge: /forge quick (auto-detects from conversation)
|
|
349
|
+
|
|
350
|
+
Goal: 60% capture rate
|
|
351
|
+
• Means 6 out of 10 solutions become patterns
|
|
352
|
+
• Reasonable balance (not every solution needs forging)
|
|
353
|
+
• Keeps your memory growing steadily
|
|
354
|
+
|
|
355
|
+
───────────────────────────────────────────────────────────────────
|
|
356
|
+
📈 Projected Impact
|
|
357
|
+
|
|
358
|
+
If you increase forging to 60% capture rate:
|
|
359
|
+
|
|
360
|
+
Current: 7 patterns/week
|
|
361
|
+
Projected: 28 patterns/week (4x growth!)
|
|
362
|
+
|
|
363
|
+
After 1 month:
|
|
364
|
+
• 112 new patterns
|
|
365
|
+
• Estimated 250+ problem-solving hours saved
|
|
366
|
+
• 90% of problems will have existing patterns
|
|
367
|
+
|
|
368
|
+
Your ekkOS memory would become incredibly valuable! 💎
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
## Requirements
|
|
372
|
+
|
|
373
|
+
- ekkOS MCP server configured
|
|
374
|
+
- ekkos-connect extension installed
|
|
375
|
+
- Some usage history (or will show "brand new user" status)
|
|
376
|
+
|
|
377
|
+
## Advanced Options
|
|
378
|
+
|
|
379
|
+
```bash
|
|
380
|
+
# Test specific components
|
|
381
|
+
/loop-status --test-mcp # Test MCP connection
|
|
382
|
+
/loop-status --test-hooks # Test hook integration
|
|
383
|
+
/loop-status --test-retrieve # Test pattern retrieval
|
|
384
|
+
/loop-status --test-forge # Test pattern forging
|
|
385
|
+
|
|
386
|
+
# Show historical trends
|
|
387
|
+
/loop-status --last-week
|
|
388
|
+
/loop-status --last-month
|
|
389
|
+
|
|
390
|
+
# Export diagnostics
|
|
391
|
+
/loop-status --export-diagnostics
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
## Implementation Details
|
|
395
|
+
|
|
396
|
+
When this command runs, Claude will:
|
|
397
|
+
|
|
398
|
+
1. **Test MCP Connection**:
|
|
399
|
+
- Ping ekkOS API
|
|
400
|
+
- Check authentication
|
|
401
|
+
- Verify MCP tools accessible
|
|
402
|
+
|
|
403
|
+
2. **Check Each Loop Phase**:
|
|
404
|
+
- RETRIEVE: Call `ekkOS_Search` with test query
|
|
405
|
+
- APPLY: Check recent pattern applications via `ekkOS_Track`
|
|
406
|
+
- MEASURE: Check outcome tracking via `ekkOS_Outcome` stats
|
|
407
|
+
- LEARN: Count patterns via `ekkOS_Stats`
|
|
408
|
+
|
|
409
|
+
3. **Analyze Activity**:
|
|
410
|
+
- Call `ekkOS_Summary({time_window_seconds: 3600})` for recent activity
|
|
411
|
+
- Calculate rates (retrieve → apply, apply → measure, measure → learn)
|
|
412
|
+
- Identify bottlenecks (where conversion is low)
|
|
413
|
+
|
|
414
|
+
4. **Diagnose Issues**:
|
|
415
|
+
- If retrieve failing → Check MCP config
|
|
416
|
+
- If apply low → Check pattern quality
|
|
417
|
+
- If measure low → Check hooks
|
|
418
|
+
- If learn low → Encourage forging
|
|
419
|
+
|
|
420
|
+
5. **Format Output**:
|
|
421
|
+
- Clear status indicators (✅⚠️❌)
|
|
422
|
+
- Actionable fix steps
|
|
423
|
+
- Performance metrics with context
|
|
424
|
+
- Recommendations for improvement
|
|
425
|
+
|
|
426
|
+
6. **Provide Fixes**:
|
|
427
|
+
- Step-by-step checklist
|
|
428
|
+
- Links to documentation
|
|
429
|
+
- Commands to run
|
|
430
|
+
- Support contact if needed
|
|
431
|
+
|
|
432
|
+
This command helps users understand if ekkOS is working and how to fix issues.
|
|
433
|
+
|
|
434
|
+
**A healthy Golden Loop = A smarter you** 🔄🧠
|