kodelyth-ecc 1.5.9 → 1.7.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 (123) hide show
  1. package/.github/workflows/publish.yml +19 -0
  2. package/AGENTS.md +1 -1
  3. package/CHANGELOG.md +455 -0
  4. package/CLAUDE.md +48 -16
  5. package/README.md +265 -81
  6. package/VERSION +1 -1
  7. package/actions/ecc-review/README.md +243 -0
  8. package/actions/ecc-review/action.yml +158 -0
  9. package/actions/ecc-review/post-comment.js +171 -0
  10. package/actions/ecc-review/run-review.js +285 -0
  11. package/agents/backdoor-hunter.md +260 -0
  12. package/agents/chaos-engineer.md +251 -0
  13. package/agents/code-stealer-detector.md +228 -0
  14. package/agents/jailbreak-tester.md +222 -0
  15. package/agents/license-violation-finder.md +212 -0
  16. package/agents/prompt-injection-hunter.md +126 -0
  17. package/agents/secret-hunter.md +209 -0
  18. package/agents/supply-chain-auditor.md +195 -0
  19. package/bin/kodelyth-ecc.js +875 -1
  20. package/bundles/enterprise.md +172 -0
  21. package/bundles/indie-hacker.md +106 -0
  22. package/bundles/red-team.md +138 -0
  23. package/cat +0 -0
  24. package/commands/dashboard.md +67 -0
  25. package/commands/devil-mode.md +121 -0
  26. package/commands/memory-evolve.md +71 -0
  27. package/commands/replay.md +61 -0
  28. package/commands/route-model.md +48 -0
  29. package/commands/swarm.md +68 -0
  30. package/commands/verify-supply-chain.md +59 -0
  31. package/docs/dashboard.md +211 -0
  32. package/docs/evolve.md +303 -0
  33. package/docs/mcp-clients.md +167 -0
  34. package/docs/mcp.md +178 -0
  35. package/docs/replay.md +244 -0
  36. package/docs/supply-chain.md +207 -0
  37. package/docs/swarm.md +243 -0
  38. package/hooks/hooks.json +52 -0
  39. package/hooks/memory/auto-recall.js +29 -1
  40. package/hooks/safety/README.md +124 -0
  41. package/hooks/safety/lib/patterns.js +179 -0
  42. package/hooks/safety/prompt-injection-guard.js +179 -0
  43. package/hooks/safety/token-budget.js +229 -0
  44. package/install.ps1 +199 -2
  45. package/install.sh +286 -4
  46. package/package.json +30 -4
  47. package/rules/common/agent-intent-routing.md +182 -0
  48. package/rules/common/cost-aware-model-routing.md +152 -0
  49. package/scripts/dashboard/data.js +353 -0
  50. package/scripts/dashboard/server.js +324 -0
  51. package/scripts/dashboard/static/index.html +645 -0
  52. package/scripts/evolve/analyze.js +303 -0
  53. package/scripts/evolve/proposals.js +162 -0
  54. package/scripts/evolve/stats.js +219 -0
  55. package/scripts/mcp/catalog.js +244 -0
  56. package/scripts/mcp/client.js +181 -0
  57. package/scripts/mcp/prompts.js +133 -0
  58. package/scripts/mcp/resources.js +94 -0
  59. package/scripts/mcp/server.js +153 -0
  60. package/scripts/mcp/tools.js +465 -0
  61. package/scripts/replay/bundle.js +191 -0
  62. package/scripts/replay/replay.js +107 -0
  63. package/scripts/router/classify.js +232 -0
  64. package/scripts/supply-chain/manifest.js +154 -0
  65. package/scripts/supply-chain/sbom.js +202 -0
  66. package/scripts/supply-chain/verify.js +102 -0
  67. package/scripts/swarm/build-plan.js +193 -0
  68. package/skills/cost-aware-model-routing/SKILL.md +153 -0
  69. package/skills/kodelyth-quickstart/SKILL.md +7 -0
  70. package/skills/observability-dashboard/SKILL.md +119 -0
  71. package/skills/self-evolving-memory/SKILL.md +175 -0
  72. package/skills/session-replay/SKILL.md +199 -0
  73. package/skills/supply-chain-verification/SKILL.md +201 -0
  74. package/skills/swarm-orchestrator/SKILL.md +177 -0
  75. package/social/card-install.svg +1 -1
  76. package/social/facebook-group/POST.md +121 -0
  77. package/social/facebook-group/fb-1-3am-debug.png +0 -0
  78. package/social/facebook-group/fb-1-3am-debug.svg +97 -0
  79. package/social/facebook-group/fb-2-cpu-upgrade.png +0 -0
  80. package/social/facebook-group/fb-2-cpu-upgrade.svg +132 -0
  81. package/social/facebook-group/fb-3-before-after.png +0 -0
  82. package/social/facebook-group/fb-3-before-after.svg +94 -0
  83. package/social/facebook-v150.svg +5 -5
  84. package/social/github-social-preview.svg +119 -100
  85. package/social/readme-hero.svg +11 -11
  86. package/social/section-agents.svg +57 -0
  87. package/social/section-author.svg +54 -0
  88. package/social/section-dashboard.svg +59 -0
  89. package/social/section-devil.svg +54 -0
  90. package/social/section-hooks.svg +51 -0
  91. package/social/section-install.svg +42 -0
  92. package/social/section-learning.svg +52 -0
  93. package/social/section-mcp.svg +46 -0
  94. package/social/section-memory.svg +57 -0
  95. package/social/section-parallel.svg +72 -0
  96. package/social/section-routing.svg +51 -0
  97. package/social/x-card-agents-grid.svg +6 -6
  98. package/tests/dashboard/data.test.js +235 -0
  99. package/tests/dashboard/server.test.js +240 -0
  100. package/tests/evolve/analyze.test.js +169 -0
  101. package/tests/evolve/proposals.test.js +173 -0
  102. package/tests/evolve/stats.test.js +159 -0
  103. package/tests/mcp/catalog.test.js +98 -0
  104. package/tests/mcp/client.test.js +109 -0
  105. package/tests/mcp/resources-prompts.test.js +70 -0
  106. package/tests/mcp/tools.test.js +159 -0
  107. package/tests/replay/bundle.test.js +181 -0
  108. package/tests/replay/replay.test.js +131 -0
  109. package/tests/router/classify.test.js +164 -0
  110. package/tests/safety/patterns.test.js +94 -0
  111. package/tests/safety/prompt-injection-guard.test.js +111 -0
  112. package/tests/safety/token-budget.test.js +119 -0
  113. package/tests/supply-chain/manifest.test.js +147 -0
  114. package/tests/supply-chain/sbom.test.js +170 -0
  115. package/tests/supply-chain/verify.test.js +146 -0
  116. package/tests/swarm/build-plan.test.js +188 -0
  117. package/wiki/Agent-Reference.md +58 -7
  118. package/wiki/FAQ.md +204 -7
  119. package/wiki/Home.md +104 -28
  120. package/wiki/Hook-Reference.md +1 -1
  121. package/wiki/Installation-Guide.md +109 -6
  122. package/wiki/Platform-Support.md +239 -25
  123. package/wiki/Skill-Reference.md +101 -6
package/wiki/FAQ.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **What is Kodelyth ECC?**
8
8
 
9
- An AI coding toolkit that installs into Claude Code, Windsurf, Cursor, Codex CLI, Google Antigravity, and OpenCode. It adds 62 specialist agents, 188 skills, 80 slash commands, 20+ automation hooks, and a compound learning system.
9
+ An AI coding toolkit (v1.7.0) that installs into 12 AI coding platforms. It adds 70 specialist agents (including 8 adversarial devil-mode agents), 194 skills, 97 slash commands, 20+ automation hooks, and a compound learning system. Zero cloud, zero telemetry, all local.
10
10
 
11
11
  **Is it free?**
12
12
 
@@ -18,6 +18,7 @@ No. Everything is local:
18
18
  - Memory lives in `~/.kodelyth/memory/memories.jsonl`
19
19
  - Lessons live in `tasks/lessons.md` in your project
20
20
  - Token logs live in `~/.claude/logs/token-usage.jsonl`
21
+ - MCP server runs on localhost only
21
22
 
22
23
  Nothing is transmitted to any server.
23
24
 
@@ -25,6 +26,10 @@ Nothing is transmitted to any server.
25
26
 
26
27
  Node.js 18 or higher.
27
28
 
29
+ **What platforms does ECC support?**
30
+
31
+ 12 platforms: Claude Code, Windsurf (project/home), Cursor (project), Google Antigravity, Codex CLI (home), OpenCode, Cline, Roocode, Aider, Kimi, Gemini (project/home).
32
+
28
33
  ---
29
34
 
30
35
  ## Memory System
@@ -45,6 +50,10 @@ The `auto-recall.js` UserPromptSubmit hook runs BM25 search on every message you
45
50
 
46
51
  Yes. Edit `~/.kodelyth/memory/memories.jsonl` directly — it is plain JSONL. Or use `/memory delete <id>`.
47
52
 
53
+ **What is self-evolving memory?**
54
+
55
+ Memory in v1.7.0 now evolves. Run `npx kodelyth-ecc evolve analyze` to scan memory for patterns, extract meta-insights, and surface high-impact solutions. Memories can be tagged by domain, and the system learns which solutions get reused most often.
56
+
48
57
  **What is the difference between memory and lessons?**
49
58
 
50
59
  | | Memory | Lessons |
@@ -54,6 +63,7 @@ Yes. Edit `~/.kodelyth/memory/memories.jsonl` directly — it is plain JSONL. Or
54
63
  | Format | JSONL, structured | Markdown, human-readable |
55
64
  | Content | Past solutions, patterns | Hard rules from your corrections |
56
65
  | Injected | Per-prompt (BM25 match) | Session start (always) |
66
+ | Evolves | Yes (v1.7.0+) | Manual edit |
57
67
 
58
68
  ---
59
69
 
@@ -64,8 +74,8 @@ Yes. Edit `~/.kodelyth/memory/memories.jsonl` directly — it is plain JSONL. Or
64
74
  Three layers that make Claude increasingly match your style:
65
75
 
66
76
  1. **Project Lessons** — corrections you give Claude are encoded as hard rules in `tasks/lessons.md` and applied every session
67
- 2. **Global Memory** — past solutions recalled cross-project
68
- 3. **Semantic Routing** — 62 specialists routing from intent
77
+ 2. **Global Memory** — past solutions recalled cross-project, auto-evolving
78
+ 3. **Semantic Routing** — 70 specialists routing from intent
69
79
 
70
80
  **How do lessons get written?**
71
81
 
@@ -81,15 +91,172 @@ Yes. `tasks/lessons.md` is plain Markdown. Add, edit, or delete rules freely. Th
81
91
 
82
92
  ---
83
93
 
94
+ ## MCP Server (v1.7.0)
95
+
96
+ **What is the Kodelyth ECC MCP server?**
97
+
98
+ A Model Context Protocol server that exposes 16 tools, 6 prompts, and 370+ resources. Run `npx kodelyth-ecc mcp` to start the server locally on a configurable port.
99
+
100
+ **What tools does it provide?**
101
+
102
+ 16 tools covering agent invocation, memory management, skill loading, command execution, swarm orchestration, cost routing, and session analysis.
103
+
104
+ **What prompts are available?**
105
+
106
+ 6 system prompts for common workflows: intent routing setup, memory protocol, security analysis, code architecture, testing strategy, and incident response.
107
+
108
+ **How do I configure the MCP server?**
109
+
110
+ ```bash
111
+ npx kodelyth-ecc mcp --port 3000
112
+ npx kodelyth-ecc mcp --config ~/.kodelyth/mcp.json
113
+ ```
114
+
115
+ Can also set `MCP_PORT` environment variable.
116
+
117
+ **Is the MCP server secure?**
118
+
119
+ Yes. Listens on localhost only. No external network access. All operations are read-only from disk unless explicitly writing to `tasks/lessons.md` or memory files.
120
+
121
+ ---
122
+
123
+ ## Local Dashboard (v1.7.0)
124
+
125
+ **What is the Kodelyth dashboard?**
126
+
127
+ A local web-based dashboard running on localhost. No analytics, no external calls. Five tabs: Overview, Memory, Evolve, Catalog, Sessions.
128
+
129
+ **How do I launch it?**
130
+
131
+ ```bash
132
+ npx kodelyth-ecc dashboard
133
+ ```
134
+
135
+ Opens automatically at `http://localhost:5173` (or your configured port).
136
+
137
+ **What can I do on each tab?**
138
+
139
+ - **Overview** — Agent counts, installed components, config status
140
+ - **Memory** — View, search, tag, and delete stored memories
141
+ - **Evolve** — Analyze memory for patterns, surface high-impact solutions
142
+ - **Catalog** — Browse all 70 agents and 194 skills with descriptions
143
+ - **Sessions** — Replay session transcripts, see token usage, review lessons captured
144
+
145
+ ---
146
+
147
+ ## Devil-Mode Agents (v1.7.0)
148
+
149
+ **What is devil-mode?**
150
+
151
+ Dedicated red-team mode that fires 4-8 adversarial agents to stress-test your code from an attacker's perspective. Find vulnerabilities before bad actors do.
152
+
153
+ **How do I invoke it?**
154
+
155
+ ```bash
156
+ /devil-mode # Top 4: injection, supply chain, secrets, license
157
+ /devil-mode --all # All 8: adds jailbreak, theft, backdoors, chaos
158
+ ```
159
+
160
+ **What are the 8 agents?**
161
+
162
+ 1. `prompt-injection-hunter` — AI injection vectors
163
+ 2. `supply-chain-auditor` — Dependency and artifact vulnerabilities
164
+ 3. `secret-hunter` — Hardcoded credentials
165
+ 4. `license-violation-finder` — GPL and license issues
166
+ 5. `jailbreak-tester` — Safety bypass testing
167
+ 6. `code-stealer-detector` — Exfiltration vectors
168
+ 7. `backdoor-hunter` — Inserted vulnerabilities
169
+ 8. `chaos-engineer` — Failure mode analysis
170
+
171
+ **Is devil-mode destructive?**
172
+
173
+ No. It analyzes code and reports findings. It does not modify anything or access external systems. Results are advisory — you decide what to fix.
174
+
175
+ ---
176
+
177
+ ## Swarm Orchestrator (v1.7.0)
178
+
179
+ **What is the swarm orchestrator?**
180
+
181
+ A system for running multiple agents in parallel on complex tasks. Agents communicate their findings and coordinate work distribution.
182
+
183
+ **How do I use it?**
184
+
185
+ ```bash
186
+ npx kodelyth-ecc swarm --task "audit my codebase for security + performance issues"
187
+ ```
188
+
189
+ Also available as the `/swarm-orchestrator` skill.
190
+
191
+ **How is it different from parallel commands?**
192
+
193
+ Parallel commands fire fixed teams (e.g., `/team-review` always fires the same 4 agents). Swarm takes a free-form task, analyzes it, and dynamically selects the best agent team and sequencing.
194
+
195
+ ---
196
+
197
+ ## Cost-Aware Routing (v1.7.0)
198
+
199
+ **What is cost-aware routing?**
200
+
201
+ A router that matches your task to the right model tier (Haiku 4.5 for trivial work, Sonnet 4.6 for standard coding, Opus 4.6 for hard architecture).
202
+
203
+ **How do I use it?**
204
+
205
+ ```bash
206
+ npx kodelyth-ecc route "write a React component"
207
+ # Suggests: Haiku 4.5 (fast, cheap, capable for components)
208
+
209
+ npx kodelyth-ecc route "architecture a distributed payment system"
210
+ # Suggests: Opus 4.6 (deep reasoning, long-term trade-offs)
211
+ ```
212
+
213
+ **Does it help save money?**
214
+
215
+ Yes. Most coding work runs fine on Sonnet (and often Haiku). The router prevents overspending on Opus for trivial tasks.
216
+
217
+ ---
218
+
219
+ ## SLSA L3 + SBOM (v1.7.0)
220
+
221
+ **What is SLSA L3 support?**
222
+
223
+ Software Artifact Signing Level 3 — ECC can generate and verify supply chain artifacts with cryptographic signatures.
224
+
225
+ **How do I generate SBOM?**
226
+
227
+ ```bash
228
+ npx kodelyth-ecc sbom
229
+ ```
230
+
231
+ Generates Software Bill of Materials in SPDX format.
232
+
233
+ **How do I create the manifest?**
234
+
235
+ ```bash
236
+ npx kodelyth-ecc manifest
237
+ ```
238
+
239
+ Creates a content manifest with file hashes and timestamps.
240
+
241
+ **How do I verify integrity?**
242
+
243
+ ```bash
244
+ npx kodelyth-ecc verify
245
+ ```
246
+
247
+ Verifies SBOM, manifest, and signatures. Reports any tampering or missing artifacts.
248
+
249
+ ---
250
+
84
251
  ## Agents
85
252
 
86
253
  **Do I need to type agent names?**
87
254
 
88
255
  No. Semantic intent routing detects what you need from how you describe the problem. You never need to type `use debug-detective` — just describe the bug.
89
256
 
90
- **What are the 16 Kodelyth Exclusive agents?**
257
+ **What are the 70 agents?**
91
258
 
92
- Agents that exist only in ECC and nowhere else: `kodelyth-advisor`, `kodelyth-memory`, `pair-programmer`, `debug-detective`, `silent-failure-hunter`, `incident-commander`, `load-tester`, `ux-reviewer`, `api-guardian`, `migration-guide`, `dependency-doctor`, `git-rescue`, `release-captain`, `env-debugger`, `flake-hunter`, `image-architect`.
259
+ 62 standard specialist agents (reviewers, debuggers, architects, etc.) + 8 adversarial devil-mode agents (injection hunter, supply chain auditor, secret hunter, etc.).
93
260
 
94
261
  **How do I invoke an agent explicitly?**
95
262
 
@@ -127,6 +294,12 @@ No. All hooks are async with aggressive timeouts. They fire in the background an
127
294
 
128
295
  API keys (OpenAI, Anthropic, AWS, GCP, Stripe, etc.), passwords and tokens in code, private keys (RSA, EC), and `.env` files accidentally staged. It blocks the commit and reports the exact line.
129
296
 
297
+ **Are there safety hooks?**
298
+
299
+ Yes. v1.7.0 adds:
300
+ - `prompt-injection-guard` — Detects attempted prompt injection in inputs
301
+ - `token-budget-enforcer` — Warns when approaching token limit per session
302
+
130
303
  ---
131
304
 
132
305
  ## Costs
@@ -149,7 +322,8 @@ cat ~/.claude/logs/token-usage.jsonl | jq -s 'sort_by(.tokens) | reverse | .[0:1
149
322
  1. Disable hooks you don't use: `export ECC_DISABLED_HOOKS=...`
150
323
  2. Keep `tasks/lessons.md` concise — long lesson files inject more tokens every session
151
324
  3. Use `/compact` (Claude Code) before large sessions to summarize context
152
- 4. Match model to task most work runs fine on Sonnet, not Opus
325
+ 4. Use `npx kodelyth-ecc route` to match model to task
326
+ 5. Review memory periodically — delete old or obsolete solutions
153
327
 
154
328
  ---
155
329
 
@@ -157,7 +331,7 @@ cat ~/.claude/logs/token-usage.jsonl | jq -s 'sort_by(.tokens) | reverse | .[0:1
157
331
 
158
332
  **Does ECC phone home?**
159
333
 
160
- Never. No telemetry, no analytics, no usage reporting of any kind.
334
+ Never. No telemetry, no analytics, no usage reporting of any kind. The MCP server runs on localhost only.
161
335
 
162
336
  **Where is my data stored?**
163
337
 
@@ -171,6 +345,10 @@ Entirely on your machine:
171
345
 
172
346
  Yes. After install, ECC requires no internet access. The AI models themselves (Claude API, Gemini, etc.) still require connectivity — that is your AI tool, not ECC.
173
347
 
348
+ **Is memory encrypted?**
349
+
350
+ Memory files are plain text JSONL. For security-sensitive projects, you can encrypt `~/.kodelyth/memory/` and `tasks/lessons.md` with your OS or disk encryption. ECC has no built-in encryption (by design — simpler, more transparent).
351
+
174
352
  ---
175
353
 
176
354
  ## Troubleshooting
@@ -198,6 +376,23 @@ Check that `hooks/memory/auto-recall.js` is running. Verify in `~/.claude/settin
198
376
 
199
377
  On Claude Code, `image-architect` requires the fal.ai MCP server to be configured. If not available, it falls back to SVG generation. On Antigravity and Codex CLI, image generation is native and requires no configuration.
200
378
 
379
+ **MCP server fails to start**
380
+
381
+ Check that the port is not in use:
382
+ ```bash
383
+ lsof -i :5173
384
+ # Kill if needed: kill -9 <PID>
385
+ npx kodelyth-ecc mcp --port 5174 # Use a different port
386
+ ```
387
+
388
+ **Dashboard shows no sessions**
389
+
390
+ Sessions are recorded when hooks are active (Claude Code only). On other platforms, run `/sessions` in your AI tool to see local session metadata.
391
+
392
+ **devil-mode returns no findings**
393
+
394
+ This is normal — not all code has vulnerabilities. devil-mode ran cleanly. If you suspect it should have found issues, try `/devil-mode --all` to run all 8 agents (slower but more thorough).
395
+
201
396
  ---
202
397
 
203
398
  ## Getting Help
@@ -205,3 +400,5 @@ On Claude Code, `image-architect` requires the fal.ai MCP server to be configure
205
400
  - GitHub Issues: [github.com/sifxprime/kodelyth-ecc/issues](https://github.com/sifxprime/kodelyth-ecc/issues)
206
401
  - Start a session and type `/kodelyth-quickstart` for an interactive tour
207
402
  - Type "I'm lost" or "I don't know where to start" — the `kodelyth-advisor` agent will orient you
403
+ - For MCP server help: `npx kodelyth-ecc mcp --help`
404
+ - For dashboard help: `npx kodelyth-ecc dashboard --help`
package/wiki/Home.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Kodelyth ECC Wiki
2
2
 
3
- **Kodelyth Enhanced Coding Companion** — production-grade AI coding toolkit for Claude Code, Windsurf, Cursor, Codex CLI, Google Antigravity, and OpenCode.
3
+ **Kodelyth Enhanced Coding Companion** — production-grade AI coding toolkit for Claude Code, Windsurf, Cursor, Codex CLI, Google Antigravity, and more.
4
4
 
5
- > Version: **v1.5.3** · Agents: **62** · Skills: **188** · Commands: **80** · Hooks: **20+** · Platforms: **6**
5
+ > Version: **v1.7.0** · Agents: **70** (including 8 adversarial) · Skills: **194** · Commands: **97** (including 8 parallel) · Hooks: **22+** · Platforms: **12** · Tests: **336**
6
6
 
7
7
  ---
8
8
 
@@ -33,8 +33,11 @@ npx kodelyth-ecc
33
33
  npx kodelyth-ecc --target windsurf-project
34
34
  npx kodelyth-ecc --target antigravity
35
35
  npx kodelyth-ecc --target cursor-project
36
- npx kodelyth-ecc --target codex-home
37
- npx kodelyth-ecc --target opencode
36
+
37
+ # Power bundles
38
+ npx kodelyth-ecc --bundle indie-hacker
39
+ npx kodelyth-ecc --bundle red-team
40
+ npx kodelyth-ecc --bundle enterprise
38
41
  ```
39
42
 
40
43
  After install, type `/kodelyth-quickstart` in your AI tool to begin.
@@ -45,15 +48,17 @@ After install, type `/kodelyth-quickstart` in your AI tool to begin.
45
48
 
46
49
  | Component | Count | Description |
47
50
  |---|---|---|
48
- | Agents | **62** | Specialist subagents reviewers, debuggers, architects, memory, image-architect |
49
- | Skills | **188** | Domain knowledge — patterns, testing, security, DevOps, memory protocol |
50
- | Commands | **80** | Slash workflows (`/tdd`, `/plan`, `/memory`, `/lessons`, `/project-launch`, ...) |
51
- | Hooks | **20+** | Quality gates, memory inject + capture, correction encoding, secret scanning |
52
- | Rules | **17** | Always-on standards + semantic routing + memory protocol + self-improvement |
51
+ | Agents | **70** | Specialist subagents (62 standard + 8 adversarial devil-mode agents) |
52
+ | Skills | **194** | Domain knowledge — patterns, testing, security, DevOps, memory, swarm orchestration |
53
+ | Commands | **97** | Slash workflows (88 base + 8 parallel multi-agent + `/devil-mode` + utilities) |
54
+ | Hooks | **20+** | Quality gates, memory inject + capture, correction encoding, safety guards |
55
+ | Rules | **14** | Always-on standards, semantic routing, memory protocol, self-improvement |
53
56
 
54
57
  ---
55
58
 
56
- ## Semantic Intent Routing (v1.5.3)
59
+ ## Key Features (v1.7.0)
60
+
61
+ ### Semantic Intent Routing
57
62
 
58
63
  The AI reads **intent behind words**, not just keywords. It reasons about emotion, context, and even what you paste.
59
64
 
@@ -69,11 +74,70 @@ The AI reads **intent behind words**, not just keywords. It reasons about emotio
69
74
  | [paste stack trace with no text] | `debug-detective` |
70
75
  | "Build failed on Vercel" | `build-error-resolver` |
71
76
  | "production is down, 500s everywhere" | `incident-commander` |
72
- | "will this hold under 10k users?" | `load-tester` |
77
+ | "Find vulnerabilities in my code" | `/devil-mode` |
73
78
 
74
- ---
79
+ ### Parallel Commands (8 total)
80
+
81
+ Fire multiple specialist agents at once and get results in 10-15 minutes instead of 45-60:
82
+
83
+ | Command | Agents fired | Time saving |
84
+ |---|---|---|
85
+ | `/project-launch` | architect + pair-programmer + security-reviewer + tdd-guide + ux-reviewer | 45 min → 10 min |
86
+ | `/team-review` | code-reviewer + security-reviewer + performance-optimizer + api-guardian | 60 min → 15 min |
87
+ | `/security-audit` | security-reviewer + dependency-doctor + api-guardian | 30 min → 8 min |
88
+ | `/debug-blitz` | debug-detective + silent-failure-hunter + env-debugger | 30 min → 8 min |
89
+ | `/refactor-sprint` | refactor-cleaner + code-simplifier + type-design-analyzer + tdd-guide | 45 min → 12 min |
90
+ | `/pre-release` | release-captain + security-reviewer + code-reviewer | 30 min → 8 min |
91
+ | `/onboard` | code-explorer + architect + doc-updater | 45 min → 10 min |
92
+ | `/devil-mode` | prompt-injection-hunter + supply-chain-auditor + secret-hunter + license-violation-finder (or all 8 with `--all`) | 60 min → 15 min |
93
+
94
+ ### Adversarial Devil-Mode Agents (v1.7.0 new)
95
+
96
+ Dedicated red-team mode fires 4-8 specialized adversarial agents to find vulnerabilities your team missed:
97
+
98
+ ```bash
99
+ /devil-mode # Fires top 4: injection, supply chain, secrets, license
100
+ /devil-mode --all # Fires all 8 (adds: jailbreak, code theft, backdoors, chaos)
101
+ ```
102
+
103
+ The 8 devil-mode agents:
104
+ - `prompt-injection-hunter` — Find AI injection vulnerabilities
105
+ - `supply-chain-auditor` — Audit dependencies and build artifacts
106
+ - `secret-hunter` — Hunt hardcoded secrets and API keys
107
+ - `license-violation-finder` — Detect GPL/license compliance issues
108
+ - `jailbreak-tester` — Test safety bypass attempts
109
+ - `code-stealer-detector` — Find exfiltration vectors
110
+ - `backdoor-hunter` — Identify inserted vulnerabilities
111
+ - `chaos-engineer` — Failure mode and edge case analysis
75
112
 
76
- ## Compound Learning System (v1.5.1)
113
+ ### MCP Server & Local Tooling
114
+
115
+ ```bash
116
+ # Start the MCP server (16 tools, 6 prompts, 370+ resources)
117
+ npx kodelyth-ecc mcp
118
+
119
+ # Launch the local dashboard (5 tabs: Overview, Memory, Evolve, Catalog, Sessions)
120
+ npx kodelyth-ecc dashboard
121
+
122
+ # Cost-aware model routing
123
+ npx kodelyth-ecc route "<task>"
124
+
125
+ # Swarm orchestrator for parallel work
126
+ npx kodelyth-ecc swarm --task "..."
127
+
128
+ # Self-evolving memory system
129
+ npx kodelyth-ecc evolve analyze
130
+
131
+ # Session replay
132
+ npx kodelyth-ecc replay <bundle>
133
+
134
+ # SLSA L3 + SBOM verification
135
+ npx kodelyth-ecc sbom
136
+ npx kodelyth-ecc manifest
137
+ npx kodelyth-ecc verify
138
+ ```
139
+
140
+ ### Compound Learning System
77
141
 
78
142
  Every correction you give Claude gets encoded permanently. The toolkit gets smarter every session.
79
143
 
@@ -85,8 +149,7 @@ Session 2: read-lessons.js fires at session start
85
149
  → "PROJECT LESSONS — use pnpm not npm" injected
86
150
  → Claude uses pnpm without being told
87
151
 
88
- Month 3: You try another tool. It uses npm. It asks basic questions.
89
- You come back.
152
+ Month 3: You try another tool. It uses pnpm. You praise the consistency.
90
153
  ```
91
154
 
92
155
  **Three layers working together:**
@@ -95,28 +158,39 @@ Month 3: You try another tool. It uses npm. It asks basic questions.
95
158
  |---|---|---|
96
159
  | Project Lessons | `tasks/lessons.md` | Per-project hard rules from your corrections |
97
160
  | Global Memory | `~/.kodelyth/memory/` | Cross-project BM25 recall of past solutions |
98
- | Semantic Routing | 62 agents | Routes every message to the right specialist |
161
+ | Semantic Routing | 70 agents | Routes every message to the right specialist |
99
162
 
100
163
  ---
101
164
 
102
- ## Parallel Commands (v1.5.2)
165
+ ## Platform Support (12 platforms)
103
166
 
104
- | Command | Fires | Time |
167
+ Kodelyth ECC works across 12 AI coding platforms:
168
+
169
+ | Platform | Status | Notes |
105
170
  |---|---|---|
106
- | `/project-launch` | architect + pair-programmer + security-reviewer + tdd-guide + ux-reviewer | 45 min → 10 min |
107
- | `/team-review` | code-reviewer + security-reviewer + performance-optimizer + api-guardian | 60 min 15 min |
108
- | `/lessons` | Load/save/manage project lessons on all 6 platforms | Always works |
171
+ | Claude Code | Full | All features, hooks auto-wired |
172
+ | Windsurf (project) | Full | Agents, skills, commands, manual lessons |
173
+ | Windsurf (home) | Full | Global installation |
174
+ | Cursor (project) | Full | Agents, skills, commands, manual lessons |
175
+ | Google Antigravity | Full | Native Gemini image gen, deep reasoning models |
176
+ | Codex CLI (home) | Full | DALL-E 3 image gen native |
177
+ | OpenCode | Full | Agents, skills, commands |
178
+ | Cline | Full | VS Code extension integration |
179
+ | Roocode | Full | Web IDE support |
180
+ | Aider | Full | Git-native coding assistant |
181
+ | Kimi | Full | Chinese AI platform |
182
+ | Gemini (project/home) | Full | Dual-entry platform support |
109
183
 
110
184
  ---
111
185
 
112
186
  ## Wiki Pages
113
187
 
114
- - [Installation Guide](Installation-Guide) — all install methods, targets, profiles, OS support
115
- - [Agent Reference](Agent-Reference) — all 62 agents with descriptions and trigger patterns
116
- - [Skill Reference](Skill-Reference) — all major skills and how to load them
117
- - [Hook Reference](Hook-Reference) — all 20+ hooks and how they work
118
- - [Platform Support](Platform-Support) — per-platform capabilities and file layout
119
- - [FAQ](FAQ) — memory system, privacy, cost, troubleshooting
188
+ - [Installation Guide](Installation-Guide) — all install methods, targets, profiles, bundles, OS support
189
+ - [Agent Reference](Agent-Reference) — all 70 agents including 8 adversarial devil-mode agents
190
+ - [Skill Reference](Skill-Reference) — all 194 skills including MCP, swarm, dashboard, and safety hooks
191
+ - [Hook Reference](Hook-Reference) — all 22+ hooks and how they work
192
+ - [Platform Support](Platform-Support) — per-platform capabilities for 12 platforms
193
+ - [FAQ](FAQ) — memory, MCP server, dashboard, devil-mode, swarm, SLSA/SBOM, privacy, troubleshooting
120
194
 
121
195
  ---
122
196
 
@@ -124,7 +198,9 @@ Month 3: You try another tool. It uses npm. It asks basic questions.
124
198
 
125
199
  | Version | Headline |
126
200
  |---|---|
127
- | **v1.5.3** | Semantic intent routing intent not keywords, code/trace paste detection, 2–3× more patterns |
201
+ | **v1.7.0** | Adversarial devil-mode (8 agents), MCP server, local dashboard, swarm orchestrator, cost-aware routing, self-evolving memory, SLSA L3 + SBOM, 12 platforms, 194 skills |
202
+ | **v1.6.0** | 8 adversarial devil-mode agents, power bundles, 6 new IDE platform targets, 97 commands |
203
+ | **v1.5.3** | Semantic intent routing — intent not keywords, code/trace paste detection, 62 agents, 188 skills |
128
204
  | **v1.5.2** | Parallel agents, `image-architect`, `/project-launch`, `/team-review`, `/lessons` |
129
205
  | **v1.5.1** | Compound learning — `capture-correction.js`, `read-lessons.js`, self-improvement workflow |
130
206
  | **v1.5.0** | `incident-commander`, `load-tester`, visual refresh, wiki rewrite |
@@ -1,6 +1,6 @@
1
1
  # Hook Reference
2
2
 
3
- ECC ships 20+ hooks that run automatically in the background — zero configuration after install.
3
+ ECC ships 22+ hooks that run automatically in the background — zero configuration after install.
4
4
 
5
5
  Hooks are defined in `hooks/hooks.json` and wired into `~/.claude/settings.json` by the install script (Claude Code target only). All hooks are async and have aggressive timeouts to never block tool execution.
6
6
 
@@ -19,7 +19,7 @@ This detects your project type, installs the right component set, and wires ever
19
19
 
20
20
  ---
21
21
 
22
- ## Targets
22
+ ## Targets (12 platforms)
23
23
 
24
24
  Install into a specific AI tool:
25
25
 
@@ -29,6 +29,7 @@ npx kodelyth-ecc
29
29
 
30
30
  # Windsurf
31
31
  npx kodelyth-ecc --target windsurf-project
32
+ npx kodelyth-ecc --target windsurf-home
32
33
 
33
34
  # Cursor
34
35
  npx kodelyth-ecc --target cursor-project
@@ -41,19 +42,54 @@ npx kodelyth-ecc --target antigravity
41
42
 
42
43
  # OpenCode
43
44
  npx kodelyth-ecc --target opencode
45
+
46
+ # Cline (VS Code extension)
47
+ npx kodelyth-ecc --target cline
48
+
49
+ # Roocode (web IDE)
50
+ npx kodelyth-ecc --target roocode
51
+
52
+ # Aider (git-native)
53
+ npx kodelyth-ecc --target aider
54
+
55
+ # Kimi (Chinese platform)
56
+ npx kodelyth-ecc --target kimi
57
+
58
+ # Gemini
59
+ npx kodelyth-ecc --target gemini-project
60
+ npx kodelyth-ecc --target gemini-home
44
61
  ```
45
62
 
46
63
  ---
47
64
 
65
+ ## Power Bundles (v1.7.0)
66
+
67
+ Pre-configured agent + skill bundles for specific use cases:
68
+
69
+ ```bash
70
+ # Indie hacker — web dev, rapid prototyping, solopreneur
71
+ npx kodelyth-ecc --bundle indie-hacker
72
+
73
+ # Red team — security audits, adversarial testing, pentesting
74
+ npx kodelyth-ecc --bundle red-team
75
+
76
+ # Enterprise — compliance, supply chain, SLA tracking, incident management
77
+ npx kodelyth-ecc --bundle enterprise
78
+ ```
79
+
80
+ Each bundle installs only the agents and skills relevant to that workflow.
81
+
82
+ ---
83
+
48
84
  ## What Gets Installed
49
85
 
50
86
  | Component | Count | Location |
51
87
  |---|---|---|
52
- | Agents | 62 | `~/.claude/agents/` (Claude Code) or project-local |
53
- | Skills | 188 | `~/.claude/skills/` or project-local |
54
- | Commands | 80 | `~/.claude/commands/` or project-local |
88
+ | Agents | 70 | `~/.claude/agents/` (Claude Code) or project-local |
89
+ | Skills | 194 | `~/.claude/skills/` or project-local |
90
+ | Commands | 97 | `~/.claude/commands/` or project-local |
55
91
  | Hooks | 20+ | `~/.claude/settings.json` (Claude Code only) |
56
- | Rules | 17 | `~/.claude/rules/` or project-local |
92
+ | Rules | 14 | `~/.claude/rules/` or project-local |
57
93
 
58
94
  ---
59
95
 
@@ -119,7 +155,7 @@ cd kodelyth-ecc
119
155
 
120
156
  ### 3. Verify
121
157
 
122
- Open Claude Code (or your AI tool) and type:
158
+ Open your AI tool and type:
123
159
  ```
124
160
  /kodelyth-quickstart
125
161
  ```
@@ -134,6 +170,37 @@ Type `/kodelyth-quickstart` in your AI tool to begin. It walks you through agent
134
170
 
135
171
  ---
136
172
 
173
+ ## Quick Tooling Commands
174
+
175
+ After install, you have access to local utilities:
176
+
177
+ ```bash
178
+ # Start the MCP server (16 tools, 6 prompts, 370+ resources)
179
+ npx kodelyth-ecc mcp
180
+
181
+ # Launch the local dashboard (5 tabs: Overview, Memory, Evolve, Catalog, Sessions)
182
+ npx kodelyth-ecc dashboard
183
+
184
+ # Cost-aware model routing
185
+ npx kodelyth-ecc route "<task>"
186
+
187
+ # Swarm orchestrator for parallel work
188
+ npx kodelyth-ecc swarm --task "..."
189
+
190
+ # Self-evolving memory analysis
191
+ npx kodelyth-ecc evolve analyze
192
+
193
+ # Session replay
194
+ npx kodelyth-ecc replay <bundle>
195
+
196
+ # SLSA L3 + SBOM generation
197
+ npx kodelyth-ecc sbom
198
+ npx kodelyth-ecc manifest
199
+ npx kodelyth-ecc verify
200
+ ```
201
+
202
+ ---
203
+
137
204
  ## Updating
138
205
 
139
206
  ```bash
@@ -170,6 +237,10 @@ To disable specific hooks:
170
237
  export ECC_DISABLED_HOOKS=kodelyth:prompt:recall,kodelyth:post-edit:test-reminder
171
238
  ```
172
239
 
240
+ **Safety hooks (v1.7.0):**
241
+ - `prompt-injection-guard` — Detects attempted prompt injection
242
+ - `token-budget-enforcer` — Warns when approaching context limit
243
+
173
244
  ---
174
245
 
175
246
  ## Troubleshooting
@@ -189,3 +260,35 @@ export ECC_DISABLED_HOOKS=kodelyth:prompt:recall,kodelyth:post-edit:test-reminde
189
260
  **Install fails on Windows**
190
261
  - Run PowerShell as Administrator
191
262
  - Or use `npx kodelyth-ecc` directly (no admin required)
263
+
264
+ **MCP server won't start**
265
+ - Ensure port 5173 (default) is not in use: `lsof -i :5173`
266
+ - Try a different port: `npx kodelyth-ecc mcp --port 5174`
267
+
268
+ **Dashboard cannot connect**
269
+ - Verify the MCP server is running: `npx kodelyth-ecc mcp`
270
+ - Check firewall — localhost access should be allowed
271
+ - Use `npx kodelyth-ecc dashboard --port 5175` to try a different port
272
+
273
+ **Tests fail after install**
274
+
275
+ ```bash
276
+ npm test
277
+ ```
278
+
279
+ If tests fail, file an issue with the output. Most installs pass all 336 tests.
280
+
281
+ ---
282
+
283
+ ## Post-Install Checklist
284
+
285
+ After installing, verify these work:
286
+
287
+ - [ ] `/kodelyth-quickstart` loads in your AI tool
288
+ - [ ] `/lessons` opens your project lessons
289
+ - [ ] `/memory` shows your memory store
290
+ - [ ] `npx kodelyth-ecc mcp` starts the server
291
+ - [ ] `npx kodelyth-ecc dashboard` opens the dashboard
292
+ - [ ] `npm test` passes all 336 tests (Claude Code only)
293
+
294
+ If any step fails, re-run the installer or file an issue.