kodelyth-ecc 2.25.0 → 2.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +189 -0
- package/CLAUDE.md +7 -7
- package/GITHUB_SETUP.md +3 -3
- package/README.md +22 -22
- package/VERSION +1 -1
- package/agents/super-agent.md +102 -0
- package/bin/kodelyth-ecc.js +54 -47
- package/bundles/enterprise.md +1 -1
- package/bundles/indie-hacker.md +1 -1
- package/commands/super-agent.md +47 -0
- package/hooks/memory/capture-stop.js +1 -1
- package/install.ps1 +14 -3
- package/install.sh +17 -4
- package/package.json +6 -3
- package/rules/common/agent-intent-routing.md +2 -1
- package/rules/common/agents.md +1 -1
- package/rules/common/self-improvement-workflow.md +1 -1
- package/scripts/cli/menu.js +1 -1
- package/scripts/hooks/post-bash-command-log.js +4 -11
- package/scripts/hooks/session-start.js +13 -0
- package/scripts/lib/redact.js +58 -0
- package/scripts/lib/state-store/index.js +36 -1
- package/scripts/lib/state-store/schema.js +18 -1
- package/scripts/lib/target-paths.js +62 -0
- package/scripts/mcp/register-self.js +59 -16
- package/scripts/memory/cli.js +35 -0
- package/scripts/memory/embedding-providers/local-transformers.js +44 -0
- package/scripts/memory/embeddings.js +98 -0
- package/scripts/memory/pending.js +125 -0
- package/scripts/memory/project-id.js +93 -0
- package/scripts/memory/store.js +123 -13
- package/scripts/super-agent/cli.js +135 -0
- package/scripts/super-agent/dag.js +123 -0
- package/scripts/super-agent/integrate.js +91 -0
- package/scripts/super-agent/orchestrator.js +175 -0
- package/scripts/super-agent/state.js +136 -0
- package/wiki/Agent-Reference.md +1 -1
- package/wiki/FAQ.md +5 -5
- package/wiki/Home.md +8 -8
- package/wiki/Installation-Guide.md +1 -1
- package/wiki/Platform-Support.md +8 -8
- package/wiki/Skill-Reference.md +4 -4
package/AGENTS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# AGENTS.md
|
|
2
2
|
|
|
3
|
-
This file is read by AI agents (Cascade, Cursor, Codex, etc.) on every session. It tells them how to work in this repo and how to use the
|
|
3
|
+
This file is read by AI agents (Cascade, Cursor, Codex, etc.) on every session. It tells them how to work in this repo and how to use the 71 specialist agents and 196 skills shipped with Kodelyth ECC.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,195 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Kodelyth ECC are documented here.
|
|
4
4
|
|
|
5
|
+
## v2.30.0 — Terse reaches Roo Code, Aider, Kimi; the CLI stops lying about its version (November 2026)
|
|
6
|
+
|
|
7
|
+
**Terse was silently skipped on three IDEs.** The helpers that tell the terse
|
|
8
|
+
installer where each IDE keeps its skills and commands (`getTargetSkillsDir` /
|
|
9
|
+
`getTargetCommandsDir`) returned `null` for `roocode`, `aider`, and `kimi`. The
|
|
10
|
+
caller guards on null, so there was no crash — `/terse` and `/terse-compress`
|
|
11
|
+
just never installed on those three, quietly. They now resolve to the same
|
|
12
|
+
`.roo/`, `.aider-ecc/`, and `.kimi/` directories the main installer writes to.
|
|
13
|
+
`cline` (rules-only, no command system) and `kiro` (whose whole catalog is served
|
|
14
|
+
over the MCP server, not copied as files) still return null — on purpose, and now
|
|
15
|
+
with a comment saying why. The mapping moved out of `bin/` into a shared,
|
|
16
|
+
unit-tested `scripts/lib/target-paths.js`, so a future target can't be added to
|
|
17
|
+
the installer and forgotten here without a test going red.
|
|
18
|
+
|
|
19
|
+
**`kodelythecc --version` reported 2.24.1 on a 2.29.0 install.** The CLI read a
|
|
20
|
+
`VERSION` file and preferred it over `package.json`; releases v2.25 through v2.29
|
|
21
|
+
bumped `package.json` but never the `VERSION` file, so the two drifted and the
|
|
22
|
+
file won. Both version readers (the `--version` flag and the `doctor` update
|
|
23
|
+
check) now prefer `package.json` — which is canonical for an npm package and can
|
|
24
|
+
never be stale on a published tarball — and fall back to `VERSION` only if that
|
|
25
|
+
read fails. `VERSION` is synced to the real version here, and the release process
|
|
26
|
+
keeps both in step.
|
|
27
|
+
|
|
28
|
+
**Brand and catalog counts swept current.** The social and poster SVGs, the wiki,
|
|
29
|
+
`AGENTS.md`, the bundles, the install banners, and the npm description still read
|
|
30
|
+
70 agents / 103 commands / 11 platforms. Everything that renders a count now says
|
|
31
|
+
**71 agents · 196 skills · 104 commands · 12 platforms · 14 install targets · 389
|
|
32
|
+
MCP resources**, with Kiro in the platform list. The ecc.kodelyth.com docs, home,
|
|
33
|
+
install, and getting-started pages were refreshed to match, and a new
|
|
34
|
+
`/docs/super-agent` page documents the orchestrator shipped in v2.28.
|
|
35
|
+
|
|
36
|
+
## v2.29.0 — Publish fix: ajv was an undeclared dependency (November 2026)
|
|
37
|
+
|
|
38
|
+
**What happened:** v2.26.0, v2.27.0, and v2.28.0 were tagged and released on GitHub,
|
|
39
|
+
but their npm publishes all **failed** — so npm stayed at v2.25.0. The pre-publish
|
|
40
|
+
test step crashed with `Cannot find module 'ajv'`: `scripts/lib/state-store/
|
|
41
|
+
schema.js` required `ajv` at module load, but `ajv` was never a declared
|
|
42
|
+
dependency. It was present on the maintainer's machine (transitively) so local
|
|
43
|
+
tests passed, and absent in CI's clean install so the publish test failed. The
|
|
44
|
+
new `state-store` test (added in v2.26.0) imports state-store at the top level,
|
|
45
|
+
which is what surfaced it — the same undeclared-dependency bug class as sql.js.
|
|
46
|
+
|
|
47
|
+
**The fix:** `ajv` is now loaded lazily inside `getAjv()` (not at import), with a
|
|
48
|
+
clean `ECC_AJV_UNAVAILABLE` error if absent, and it is declared as an **optional**
|
|
49
|
+
dependency alongside `sql.js` so it travels with the SQLite state-store it
|
|
50
|
+
validates. Importing state-store no longer requires ajv; the module degrades the
|
|
51
|
+
same way it does without sql.js.
|
|
52
|
+
|
|
53
|
+
**This release rolls up everything from v2.26.0–v2.28.0** (Memory Core, Platform
|
|
54
|
+
reach, Super Agent) — all of which is already on `main` — and is the first of
|
|
55
|
+
them to actually reach npm. Because npm versions and GitHub tags are immutable,
|
|
56
|
+
those three versions could not be re-published under their own numbers; v2.29.0
|
|
57
|
+
carries their code to npm.
|
|
58
|
+
|
|
59
|
+
## v2.28.0 — Super Agent (beta): the autonomous orchestrator (November 2026)
|
|
60
|
+
|
|
61
|
+
The driver the memory/orchestration audit found missing. ECC had the primitives —
|
|
62
|
+
the `blueprint` DAG decomposer, the tmux+worktree swarm, the GAN evaluation loop,
|
|
63
|
+
the Arena state machine — but nothing chained them, the swarm never merged its
|
|
64
|
+
worker branches, and no run could resume. This adds the chain.
|
|
65
|
+
|
|
66
|
+
**An Arena-style deterministic state machine.** `scripts/super-agent/`:
|
|
67
|
+
|
|
68
|
+
- `dag.js` — the plan as a dependency graph: which steps are runnable now, is it
|
|
69
|
+
complete, is it stalled, is it a valid DAG (cycle/dep/self-dep checks).
|
|
70
|
+
- `state.js` — resumable runs persisted after every step, plus the **budget
|
|
71
|
+
governor** (`--token-cap` / `--step-cap`) that bounds a whole run, not just one
|
|
72
|
+
session.
|
|
73
|
+
- `orchestrator.js` — a **pure** `nextAction(run)` that decides the next move, and
|
|
74
|
+
`submit*` recorders that advance the phase. Because the decision function is
|
|
75
|
+
pure, the entire control plane is tested (20 tests) **without spawning an
|
|
76
|
+
agent**: decompose → dispatch (in dependency order, parallel where independent)
|
|
77
|
+
→ integrate → verify → done.
|
|
78
|
+
- `integrate.js` — the missing branch-merge piece: `mergeOrder` (dependency-first)
|
|
79
|
+
and `detectConflicts` via `git merge-tree --write-tree`, which finds conflicts
|
|
80
|
+
with **no working-tree side effects**.
|
|
81
|
+
- `cli.js` + `kodelythecc super-agent …` — the drivable surface (start / next /
|
|
82
|
+
plan / step / integrate / verify / status / list / resume).
|
|
83
|
+
|
|
84
|
+
**It cannot lie about its own state.** A step that didn't succeed is recorded
|
|
85
|
+
`failed`, and a failed dependency stalls the run instead of building on it.
|
|
86
|
+
Integration conflicts stop for a human. `verify --passed` requires real green
|
|
87
|
+
tests. The budget cap halts the run rather than being worked around.
|
|
88
|
+
|
|
89
|
+
**How it runs.** The state machine is tokenless; the driving LLM performs each
|
|
90
|
+
action it names (blueprint to decompose, the swarm to dispatch, the GAN loop to
|
|
91
|
+
evaluate, git to integrate) and reports back. New `super-agent` agent +
|
|
92
|
+
`/super-agent` command + routing teach it the loop.
|
|
93
|
+
|
|
94
|
+
*Beta:* the control plane, CLI, and branch integration are tested and working; the
|
|
95
|
+
LLM-driven execution of each action is delegated (exercised by the agent persona,
|
|
96
|
+
not CI). This is the 71st agent / 104th command — a count sweep across the
|
|
97
|
+
hardcoded docs and brand assets is a tracked follow-up; the catalog and site
|
|
98
|
+
derive their counts automatically.
|
|
99
|
+
|
|
100
|
+
## v2.27.0 — Platform reach: Codex + Kiro get MCP & memory; Kiro is the 12th platform (November 2026)
|
|
101
|
+
|
|
102
|
+
MCP — and therefore the whole tool surface plus **memory** — now auto-wires for
|
|
103
|
+
**six** IDEs out of the box. Two releases ago it was Claude Code only.
|
|
104
|
+
|
|
105
|
+
**Codex CLI gets MCP (TOML).** Codex stores MCP servers in `~/.codex/config.toml`,
|
|
106
|
+
not JSON. A minimal, non-clobbering writer adds the `[mcp_servers."kodelyth-ecc"]`
|
|
107
|
+
table only when it is absent and otherwise leaves the file exactly as it is
|
|
108
|
+
(appending a table is order-independent in TOML, so other servers and settings
|
|
109
|
+
survive). Wired into the Codex post-install.
|
|
110
|
+
|
|
111
|
+
**Kiro is a first-class target now — the 12th platform.** `kodelythecc --target
|
|
112
|
+
kiro` installs the rules as always-on **steering** docs (`.kiro/steering/`) and
|
|
113
|
+
wires ECC's MCP server into `.kiro/settings/mcp.json`. Kiro is MCP-native, so the
|
|
114
|
+
full catalog — 70 agents, 196 skills, memory — arrives over MCP on demand rather
|
|
115
|
+
than as a 266-file dump into steering. Added to `install.sh`, `install.ps1`, and
|
|
116
|
+
the interactive menu.
|
|
117
|
+
|
|
118
|
+
**MCP auto-wiring now covers:** Claude Code, Cursor, Windsurf, Gemini CLI, Codex,
|
|
119
|
+
and Kiro. The merge is the same hardened one that protects `~/.claude.json` —
|
|
120
|
+
absent files created, present files merged without clobbering, unparseable files
|
|
121
|
+
refused.
|
|
122
|
+
|
|
123
|
+
**Honest limits (not papered over):** RTK upstream has no agent for Kiro or
|
|
124
|
+
Aider, so those don't get RTK filtering (and ECC doesn't pretend they do).
|
|
125
|
+
Cline / Roo Code MCP stays manual — their settings live in VS Code globalStorage
|
|
126
|
+
at an editor-version-specific path ECC won't guess. The `terse enable` secondary
|
|
127
|
+
flow still has project-vs-home path quirks for some IDEs (the main install copies
|
|
128
|
+
Terse correctly); tracked as a follow-up.
|
|
129
|
+
|
|
130
|
+
## v2.26.0 — Memory Core, first cut: identity, redaction, fused recall (November 2026)
|
|
131
|
+
|
|
132
|
+
The first cut of the Memory Core track. It fixes the memory data model's biggest
|
|
133
|
+
correctness and safety gaps on the existing store, without the risk of a full
|
|
134
|
+
substrate swap. Everything ships with tests (51 test files, all passing).
|
|
135
|
+
|
|
136
|
+
**Memory stops orphaning on clone/move.** The store keyed each project by
|
|
137
|
+
`sha256(absolute path)`, so moving, cloning, or renaming a repo changed its path
|
|
138
|
+
and filed all future memories under a new id — hiding everything captured before.
|
|
139
|
+
Memory now keys by the **normalized git remote** (git-remote-first, path
|
|
140
|
+
fallback), which is stable where the path is not. `git@github.com:o/r.git`,
|
|
141
|
+
`https://github.com/o/r`, and `ssh://…/o/r` all resolve to one id. Backward
|
|
142
|
+
compatible by **read-both**: recall also matches the legacy path id, so nothing
|
|
143
|
+
captured under the old scheme is lost. New `scripts/memory/project-id.js`.
|
|
144
|
+
|
|
145
|
+
**Secrets never reach the memory log.** A captured memory is stored, recalled,
|
|
146
|
+
and injected into future sessions — so a leaked key in a `problem`/`approach`
|
|
147
|
+
would persist and re-surface. Capture now runs a shared credential redactor
|
|
148
|
+
(`scripts/lib/redact.js`) over everything it stores: AWS, GitHub, OpenAI/
|
|
149
|
+
Anthropic, Stripe, Slack, Google, npm tokens, JWTs, and PEM private-key blocks,
|
|
150
|
+
plus `--token=`/`Authorization:`/`password=`/`api_key=` forms. Every pattern is
|
|
151
|
+
linear (no ReDoS). The bash-command logger now shares the same redactor, which
|
|
152
|
+
also widened its coverage.
|
|
153
|
+
|
|
154
|
+
**Recall ranks by more than keywords.** BM25 still decides relevance, but among
|
|
155
|
+
similarly-relevant memories a **recent, proven** one now outranks an old or
|
|
156
|
+
failed one (relevance × recency × outcome). A memory whose approach didn't stick
|
|
157
|
+
(`resolved:false`) sinks; a confirmed one rises. Relevance still dominates — a
|
|
158
|
+
much more relevant memory is never buried by a newer one.
|
|
159
|
+
|
|
160
|
+
**`state.db` actually works now.** The optional SQLite layer (session store,
|
|
161
|
+
status DB, skill-evolution tracker) required `sql.js` at module load, but it was
|
|
162
|
+
never a declared dependency — so importing it threw "Cannot find module 'sql.js'"
|
|
163
|
+
on every install, before any caller's try/catch could run. `sql.js` is now a real
|
|
164
|
+
**optional** dependency, loaded lazily; a missing module becomes a clean, coded
|
|
165
|
+
error (`ECC_SQLITE_UNAVAILABLE`) that callers degrade on, and `isSqliteAvailable()`
|
|
166
|
+
is a non-throwing probe for `doctor`. The core (memory, RTK, Terse, graph) never
|
|
167
|
+
needed it and still doesn't.
|
|
168
|
+
|
|
169
|
+
**Opt-in on-device semantic recall.** An optional semantic tier, **off by
|
|
170
|
+
default**, that keeps the promise: the default session stays pure BM25, zero
|
|
171
|
+
dependency, zero network. Turn it on with `KODELYTH_MEMORY_EMBEDDINGS=on` and the
|
|
172
|
+
optional `@xenova/transformers` dependency, and recall blends BM25 with local,
|
|
173
|
+
on-device embedding similarity (hybrid rank fusion); embeddings live in a sidecar,
|
|
174
|
+
so `memories.jsonl` and its index are byte-for-byte unchanged. With it off — or
|
|
175
|
+
the dependency absent, or any failure — recall is exactly BM25. Inference runs
|
|
176
|
+
locally; only the first-ever model load touches the network. Pluggable provider
|
|
177
|
+
interface, so the fusion/gating logic is fully tested with a stub and the heavy
|
|
178
|
+
dependency is never required.
|
|
179
|
+
|
|
180
|
+
**Auto-capture that respects consent.** The Stop hook already auto-extracted
|
|
181
|
+
memory candidates from each finished session into a review queue — but nothing
|
|
182
|
+
could read or promote them, so the queue was a dead end (the `/memory
|
|
183
|
+
review-pending` it pointed at did not exist). Now `kodelythecc memory
|
|
184
|
+
list-pending` shows what a session proposed, `promote-pending <id|all>` stores the
|
|
185
|
+
ones you confirm (capture redacts them on the way in), and `discard-pending`
|
|
186
|
+
drops the rest. Candidates are collected automatically; storing them is one
|
|
187
|
+
explicit command, so nothing enters the recall store silently — the memory
|
|
188
|
+
protocol's "never capture without confirmation" holds. The next session surfaces
|
|
189
|
+
the pending count so proposals are not forgotten.
|
|
190
|
+
|
|
191
|
+
**On the substrate:** the full 5-store merge is moot by design — the core stays
|
|
192
|
+
pure-JS/JSONL and SQLite is an optional add-on, not the substrate.
|
|
193
|
+
|
|
5
194
|
## v2.25.0 — Foundations: honest numbers, a memory that learns, MCP beyond Claude (November 2026)
|
|
6
195
|
|
|
7
196
|
The first cut of the v3.0 "Foundations" track. Almost no new surface area — this
|
package/CLAUDE.md
CHANGED
|
@@ -6,19 +6,19 @@ Guidance for Claude Code when working with this repository.
|
|
|
6
6
|
|
|
7
7
|
**Kodelyth ECC** — a production-grade AI coding toolkit:
|
|
8
8
|
|
|
9
|
-
- **
|
|
9
|
+
- **71 specialist agents** — debug-detective, incident-commander, load-tester, image-architect, kodelyth-memory, security-reviewer, the super-agent orchestrator, plus 8 adversarial devil-mode agents
|
|
10
10
|
- **196 skills** — domain knowledge, patterns, testing, security, intent routing, local memory, swarm orchestration, MCP integration
|
|
11
|
-
- **
|
|
11
|
+
- **104 commands** — slash workflows (`/tdd`, `/plan`, `/code-review`, `/team-review`, `/devil-mode`, `/debug-blitz`, `/security-audit`, `/super-agent`, ...)
|
|
12
12
|
- **44 hook entries** across 8 events — quality gates, memory inject + capture, correction encoding, prompt-injection guard, token-budget enforcer
|
|
13
13
|
- **15 rules** — always-on coding standards + semantic intent routing + memory protocol + self-improvement
|
|
14
14
|
|
|
15
|
-
Works with Claude Code, Windsurf, Cursor, Codex CLI, Antigravity, OpenCode, Cline, Roo Code, Aider, Kimi,
|
|
15
|
+
Works with Claude Code, Windsurf, Cursor, Codex CLI, Antigravity, OpenCode, Cline, Roo Code, Aider, Kimi, Gemini CLI, and Kiro — **12 platforms** (14 install targets). MCP (and therefore memory) auto-wires for Claude Code, Cursor, Windsurf, Gemini CLI, Codex, and Kiro.
|
|
16
16
|
|
|
17
17
|
## Architecture
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
agents/ →
|
|
21
|
-
commands/ →
|
|
20
|
+
agents/ → 71 specialist subagents (planner, code-reviewer, debug-detective, super-agent, devil-mode crew, ...)
|
|
21
|
+
commands/ → 104 slash commands (8 parallel multi-agent, 1 adversarial loop, 1 orchestrator, rest single-agent)
|
|
22
22
|
skills/ → 196 workflow + domain knowledge files (loadable via slash commands)
|
|
23
23
|
hooks/ → 44 hook entries across 8 events, 9 scripts (memory inject/capture, prompt-injection guard, token-budget)
|
|
24
24
|
rules/ → 15 always-on guidelines (agent-intent-routing, self-improvement, memory-protocol, ...)
|
|
@@ -26,7 +26,7 @@ scripts/ → Node.js utilities: MCP server, dashboard, swarm, replay, router
|
|
|
26
26
|
bundles/ → 3 power bundles (indie-hacker, red-team, enterprise)
|
|
27
27
|
actions/ → GitHub Action (CI/CD integration for PR review)
|
|
28
28
|
docs/ → Feature docs (arena.md, mcp.md, dashboard.md, swarm.md, replay.md, evolve.md, supply-chain.md)
|
|
29
|
-
tests/ →
|
|
29
|
+
tests/ → 787 passing tests across 57 test files
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
## Running Tests
|
|
@@ -131,7 +131,7 @@ These fire multiple specialist agents simultaneously:
|
|
|
131
131
|
- Agent format: Markdown with YAML frontmatter (name, description, tools, model)
|
|
132
132
|
- Skill format: Markdown with clear sections (description, when to use, how it works)
|
|
133
133
|
- Hook format: JSON with matcher conditions and command/notification hooks
|
|
134
|
-
- No runtime deps
|
|
134
|
+
- No **required** runtime deps — the core (agents, skills, memory, RTK, Terse, graph) is pure-JS and runs on a default install with nothing installed. Three `optionalDependencies`: `@modelcontextprotocol/sdk` (MCP server), `sql.js` (optional SQLite for the session store / status DB / skill-evolution tracker), and `@xenova/transformers` (optional on-device memory embeddings, off by default). Each degrades cleanly to the pure-JS path when absent.
|
|
135
135
|
|
|
136
136
|
## Contributing
|
|
137
137
|
|
package/GITHUB_SETUP.md
CHANGED
|
@@ -51,7 +51,7 @@ rsvg-convert -w 1280 -h 640 \
|
|
|
51
51
|
3. Set **Description** to exactly:
|
|
52
52
|
|
|
53
53
|
```
|
|
54
|
-
|
|
54
|
+
71 agents · 196 skills · 104 commands · MCP server · devil mode · 12 platforms · zero telemetry
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
4. Set **Website** to:
|
|
@@ -218,7 +218,7 @@ Create a new Discussion in **Announcements**:
|
|
|
218
218
|
```markdown
|
|
219
219
|
Welcome!
|
|
220
220
|
|
|
221
|
-
**Kodelyth ECC** gives your AI coding assistant
|
|
221
|
+
**Kodelyth ECC** gives your AI coding assistant 71 specialist agents, 196 skills, 104 commands, and self-learning memory. One install, 12 platforms.
|
|
222
222
|
|
|
223
223
|
## Quick links
|
|
224
224
|
- [Installation Guide](https://github.com/sifxprime/kodelyth-ecc/wiki/Installation-Guide)
|
|
@@ -540,7 +540,7 @@ EOF
|
|
|
540
540
|
Run through this after every major release:
|
|
541
541
|
|
|
542
542
|
- [ ] Social preview PNG uploaded to GitHub Settings
|
|
543
|
-
- [ ] About description updated (`
|
|
543
|
+
- [ ] About description updated (`71 agents · 196 skills · ...`)
|
|
544
544
|
- [ ] Topics set (20 max)
|
|
545
545
|
- [ ] Wiki pages pushed via `git push` to wiki repo
|
|
546
546
|
- [ ] Discussions enabled + welcome post pinned
|
package/README.md
CHANGED
|
@@ -25,14 +25,14 @@ AI: → Routing to debug-detective (your error + frustration matches the bug-
|
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
You never typed `use debug-detective`. You did not have to — ECC read the intent,
|
|
28
|
-
picked the specialist out of
|
|
28
|
+
picked the specialist out of 71, and told you which one it chose and why.
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
31
|
npx kodelyth-ecc
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
Works on **macOS, Linux and Windows** with Claude Code, Windsurf, Cursor, Codex CLI,
|
|
35
|
-
Google Antigravity, OpenCode, Cline, Roo Code, Aider, Kimi
|
|
35
|
+
Google Antigravity, OpenCode, Cline, Roo Code, Aider, Kimi, Gemini CLI and Kiro.
|
|
36
36
|
|
|
37
37
|
---
|
|
38
38
|
|
|
@@ -50,7 +50,7 @@ Google Antigravity, OpenCode, Cline, Roo Code, Aider, Kimi and Gemini CLI.
|
|
|
50
50
|

|
|
51
51
|

|
|
52
52
|

|
|
53
|
-

|
|
54
54
|

|
|
55
55
|

|
|
56
56
|

|
|
@@ -65,7 +65,7 @@ Google Antigravity, OpenCode, Cline, Roo Code, Aider, Kimi and Gemini CLI.
|
|
|
65
65
|
|
|
66
66
|
</div>
|
|
67
67
|
|
|
68
|
-
**Kodelyth ECC** is a production-grade AI coding toolkit — **
|
|
68
|
+
**Kodelyth ECC** is a production-grade AI coding toolkit — **71 specialist agents (incl. an 8-agent devil-mode adversarial crew), 196 skills, 104 commands**, a god-tier **semantic intent-routing system**, local self-learning memory, MCP server, swarm orchestrator, and an observability dashboard — all local, zero telemetry.
|
|
69
69
|
|
|
70
70
|
Now bundled with:
|
|
71
71
|
|
|
@@ -93,22 +93,22 @@ Most "AI agent kits" are folders of markdown files you have to remember the name
|
|
|
93
93
|
| Layer | What it does | Other kits |
|
|
94
94
|
|---|---|---|
|
|
95
95
|
| **Intent routing** | Plain-language → right specialist via 10-tier priority rules | Mostly missing — you memorize names |
|
|
96
|
-
| **
|
|
96
|
+
| **71 agents** | Specialists with playbooks, severity calibration, real commands | Often persona-only ("you are a senior engineer...") |
|
|
97
97
|
| **196 skills** | Domain knowledge files agents read on demand | Rarely separated from agents |
|
|
98
|
-
| **
|
|
98
|
+
| **104 commands** | Slash workflows (`/tdd`, `/arena`, `/devil-mode`, `/team-review`) | Limited or none |
|
|
99
99
|
| **8 parallel commands** | Fire 3-8 agents simultaneously, aggregate results | Rare |
|
|
100
100
|
| **Compound memory** | BM25 local recall + auto-inject + project lessons | Cloud-only or absent |
|
|
101
101
|
| **44 hook entries** | Quality gates, secret scan, project-DNA detection | Often missing |
|
|
102
|
-
| **
|
|
102
|
+
| **12 IDE platforms** | Claude Code, Windsurf, Cursor, Codex, Antigravity, OpenCode, Cline, Roo Code, Aider, Kimi, Gemini CLI, Kiro (14 install targets) | 1-2 platforms typical |
|
|
103
103
|
| **Zero telemetry** | Everything stays on your disk; verifiable | Many kits phone home |
|
|
104
104
|
|
|
105
105
|
### Quick Comparison vs Other Kits
|
|
106
106
|
|
|
107
107
|
| Feature | **Kodelyth ECC** | `agency-agents` | `awesome-claude-agents` | Generic prompt libs |
|
|
108
108
|
|---|---|---|---|---|
|
|
109
|
-
| Specialist agents | **
|
|
109
|
+
| Specialist agents | **71** | ~30 | ~20 | Varies |
|
|
110
110
|
| Skills as separate layer | ✓ 196 | ✗ | ✗ | ✗ |
|
|
111
|
-
| Slash commands | ✓
|
|
111
|
+
| Slash commands | ✓ 104 | Some | Some | ✗ |
|
|
112
112
|
| **Parallel multi-agent commands** | ✓ 8 (incl. `/devil-mode`) | ✗ | ✗ | ✗ |
|
|
113
113
|
| **Intent routing (plain language → agent)** | ✓ 10-tier rule | ✗ | ✗ | ✗ |
|
|
114
114
|
| **Local BM25 self-learning memory** | ✓ | ✗ | ✗ | ✗ |
|
|
@@ -126,7 +126,7 @@ Most "AI agent kits" are folders of markdown files you have to remember the name
|
|
|
126
126
|
## Install
|
|
127
127
|
|
|
128
128
|
<div align="center">
|
|
129
|
-
<img src="social/section-install.svg" alt="Install — One command,
|
|
129
|
+
<img src="social/section-install.svg" alt="Install — One command, 12 platforms, any OS" width="900"/>
|
|
130
130
|
</div>
|
|
131
131
|
|
|
132
132
|
### The lazy install (one command, everything wired up)
|
|
@@ -140,7 +140,7 @@ kodelythecc --target claude-code --codebase-graph
|
|
|
140
140
|
That's it. This single flow:
|
|
141
141
|
|
|
142
142
|
1. Installs both binaries (`kodelyth-ecc` and short-form `kodelythecc`) to your PATH
|
|
143
|
-
2. Copies
|
|
143
|
+
2. Copies 71 agents + 196 skills + 104 commands + 44 hook entries + 15 rules into your AI tool's config dir
|
|
144
144
|
3. Auto-installs **RTK** binary and wires its PreToolUse hook (input compression starts on next AI restart)
|
|
145
145
|
4. Installs **Terse mode** skill + `/terse` and `/terse-compress` slash commands (dormant — user types `/terse` to activate)
|
|
146
146
|
5. Auto-installs **codebase-memory-mcp** and registers its MCP entries in your AI tool (with `--codebase-graph`)
|
|
@@ -227,8 +227,8 @@ PowerShell 5.1 that ships with the OS. The installer tries `pwsh` first and fall
|
|
|
227
227
|
back automatically, and it passes `-ExecutionPolicy Bypass` for its own process
|
|
228
228
|
only, so you do not need to change your machine's execution policy.
|
|
229
229
|
|
|
230
|
-
**Everything installs automatically**, same as macOS and Linux: the
|
|
231
|
-
196 skills,
|
|
230
|
+
**Everything installs automatically**, same as macOS and Linux: the 71 agents,
|
|
231
|
+
196 skills, 104 commands, 15 rules, all 44 hook entries registered into
|
|
232
232
|
`settings.json`, the ECC MCP server (16 tools), Terse mode, **RTK**, and the
|
|
233
233
|
**codebase graph**.
|
|
234
234
|
|
|
@@ -284,7 +284,7 @@ npx kodelyth-ecc --bundle red-team # Security engineer — devil-mode + a
|
|
|
284
284
|
npx kodelyth-ecc --bundle enterprise # Compliance / audit team — SBOM, license, supply chain
|
|
285
285
|
```
|
|
286
286
|
|
|
287
|
-
Each bundle installs the full ECC toolkit (all
|
|
287
|
+
Each bundle installs the full ECC toolkit (all 71 agents, 196 skills, 104 commands, 44 hook entries), adds a `BUNDLE.md` cheat sheet, and biases the AI toward audience-fit workflows on every session.
|
|
288
288
|
|
|
289
289
|
Combine with any target:
|
|
290
290
|
|
|
@@ -327,7 +327,7 @@ What it exposes (all local, zero telemetry):
|
|
|
327
327
|
|
|
328
328
|
- **16 tools** — `route_intent`, `recall_memory`, `capture_memory`, `list_agents`, `get_skill`, `audit_skill_match`, …
|
|
329
329
|
- **6 prompts** — full intent routing rule, agents/skills/commands overviews, handoff chains, devil-mode
|
|
330
|
-
- **
|
|
330
|
+
- **389 resources** — every agent, skill, command, rule, and bundle addressable via `kodelyth://...` URIs
|
|
331
331
|
|
|
332
332
|
Drop into Claude Desktop in 30 seconds:
|
|
333
333
|
|
|
@@ -481,7 +481,7 @@ What's inside:
|
|
|
481
481
|
| **Overview** | Agent count, memory stats, session count, recent activity |
|
|
482
482
|
| **Memory** | Browse, search, and manage your local BM25 memory store |
|
|
483
483
|
| **Evolve** | Self-improving memory — review AI-proposed refinements |
|
|
484
|
-
| **Catalog** | Full searchable index of all
|
|
484
|
+
| **Catalog** | Full searchable index of all 71 agents, 196 skills, 104 commands |
|
|
485
485
|
| **Sessions** | **Live IDE activity** (Claude Code, Windsurf, Windsurf-Next, Cursor, Antigravity) + orchestration/swarm sessions |
|
|
486
486
|
|
|
487
487
|
Real-time:
|
|
@@ -769,7 +769,7 @@ Month 3: You try another tool
|
|
|
769
769
|
|---|---|---|---|
|
|
770
770
|
| **Project Lessons** | `tasks/lessons.md` | Per-project | Hard rules from your corrections. Injected at session start as mandatory context. |
|
|
771
771
|
| **Global Memory** | `~/.kodelyth/memory/` | Cross-project | BM25 fuzzy recall of past solutions. Auto-fires on every prompt you type. |
|
|
772
|
-
| **Intent Routing** |
|
|
772
|
+
| **Intent Routing** | 71 agents | Always-on | Routes your message to the right specialist from the first word. No names needed. |
|
|
773
773
|
|
|
774
774
|
### How it works under the hood
|
|
775
775
|
|
|
@@ -806,7 +806,7 @@ Project: **my-app**
|
|
|
806
806
|
|
|
807
807
|
| Component | Count | Description |
|
|
808
808
|
|---|---|---|
|
|
809
|
-
| Agents | **
|
|
809
|
+
| Agents | **71** | Specialist subagents — reviewers, planners, debuggers, architects, the super-agent orchestrator, devil-mode adversarial crew, incident-commander, load-tester, memory, image-architect |
|
|
810
810
|
| Skills | **194** | Domain knowledge — patterns, testing, security, DevOps, intent routing, memory |
|
|
811
811
|
| Commands | **97** | Slash command workflows (`/tdd`, `/plan`, `/memory`, `/devil-mode`, `/doctor`, `/update`, etc.) |
|
|
812
812
|
| Parallel commands | **8** | `/devil-mode`, `/team-review`, `/security-audit`, `/debug-blitz`, `/refactor-sprint`, `/pre-release`, `/onboard`, `/project-launch` |
|
|
@@ -819,11 +819,11 @@ Project: **my-app**
|
|
|
819
819
|
## Agent Arsenal
|
|
820
820
|
|
|
821
821
|
<div align="center">
|
|
822
|
-
<img src="social/section-agents.svg" alt="
|
|
822
|
+
<img src="social/section-agents.svg" alt="71 specialist agents — one for every situation" width="900"/>
|
|
823
823
|
</div>
|
|
824
824
|
|
|
825
825
|
<div align="center">
|
|
826
|
-
<img src="social/readme-agents.svg" alt="
|
|
826
|
+
<img src="social/readme-agents.svg" alt="71 specialist agents — agent grid preview" width="900"/>
|
|
827
827
|
</div>
|
|
828
828
|
|
|
829
829
|
### Kodelyth Exclusives — The 16 Agents That Make ECC
|
|
@@ -954,7 +954,7 @@ The intent router will route you to the right one. The AI announces who's taking
|
|
|
954
954
|
|
|
955
955
|
| Source | Destination | What it does |
|
|
956
956
|
|---|---|---|
|
|
957
|
-
| `agents/` | `~/.claude/agents/` | All
|
|
957
|
+
| `agents/` | `~/.claude/agents/` | All 71 subagents available globally |
|
|
958
958
|
| `skills/` | `~/.claude/skills/` | All 196 skills loadable via commands |
|
|
959
959
|
| `hooks/hooks.json` | `~/.claude/hooks/` | Automated quality gates |
|
|
960
960
|
| `rules/` | `~/.claude/rules/` | Always-on standards + intent routing |
|
|
@@ -1081,7 +1081,7 @@ v1.7.3 highlights:
|
|
|
1081
1081
|
|
|
1082
1082
|
v1.7.0 highlights:
|
|
1083
1083
|
|
|
1084
|
-
- **MCP Server** — 16 tools, 6 prompts,
|
|
1084
|
+
- **MCP Server** — 16 tools, 6 prompts, 389 resources; stdio JSON-RPC; zero telemetry; works with Claude Desktop, LangGraph, AutoGen, CrewAI, OpenAI Agents SDK
|
|
1085
1085
|
- **Dashboard hardening** — DNS rebinding protection, shell injection fix (`execFileSync`), CSP on all responses, SSE client cap (max 10), TOCTOU fixes
|
|
1086
1086
|
- **Devil Mode** — 8 adversarial agents, `--pre-public` / `--pre-launch` / `--all` flags, real bash-grep patterns and remediation playbooks
|
|
1087
1087
|
- **336 tests** passing across 25 test files (now 373 at v1.8.0)
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.30.0
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: super-agent
|
|
3
|
+
description: Autonomous multi-step orchestrator — Kodelyth. Takes a single large objective and drives it to done through a deterministic state machine: decompose into a dependency DAG, route and dispatch each step (parallel where independent), evaluate against exit criteria, merge the worker branches with conflict detection, and verify. Resumable and budget-governed. Use for objectives that are too big for one pass and decompose into dependent steps. NOT for a single edit or a one-file change.
|
|
4
|
+
tools: Read, Grep, Glob, Bash, Write, Edit, Task
|
|
5
|
+
model: opus
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Super Agent — the autonomous orchestrator
|
|
9
|
+
|
|
10
|
+
You are the driver of a tokenless state machine. You do **not** improvise the
|
|
11
|
+
control flow — the machine owns it, so a run is deterministic, resumable, and
|
|
12
|
+
bounded. Your job is to perform each action the machine asks for, using ECC's
|
|
13
|
+
existing primitives, and report the result back.
|
|
14
|
+
|
|
15
|
+
The machine lives in `scripts/super-agent/` and is driven entirely through:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
kodelythecc super-agent <command> ...
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## The loop
|
|
22
|
+
|
|
23
|
+
1. **Start** a run from the objective:
|
|
24
|
+
```bash
|
|
25
|
+
kodelythecc super-agent start --goal "<objective>" [--token-cap N] [--step-cap N] [--scope .]
|
|
26
|
+
```
|
|
27
|
+
Always set a `--step-cap` or `--token-cap`. An autonomous run without a budget
|
|
28
|
+
is how costs run away. The output gives you a `runId` and the first action.
|
|
29
|
+
|
|
30
|
+
2. **Ask what to do next**, and do exactly that:
|
|
31
|
+
```bash
|
|
32
|
+
kodelythecc super-agent next <runId>
|
|
33
|
+
```
|
|
34
|
+
The JSON `action` is one of:
|
|
35
|
+
|
|
36
|
+
- **`decompose`** — Break the goal into a dependency DAG. Use the `blueprint`
|
|
37
|
+
skill to produce it: each step is `{ id, description, deps: [ids],
|
|
38
|
+
contextBrief, exitCriteria }`. `contextBrief` must let a fresh agent execute
|
|
39
|
+
the step cold. Write the array to a file and install it:
|
|
40
|
+
```bash
|
|
41
|
+
kodelythecc super-agent plan <runId> --file plan.json
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
- **`dispatch`** — The listed steps are ready (their dependencies are done).
|
|
45
|
+
For a single small step, do it yourself or with one subagent. For several
|
|
46
|
+
independent steps, run them in parallel (the Task tool, or
|
|
47
|
+
`kodelythecc swarm` for isolated git worktrees). Each step does its work on
|
|
48
|
+
its **own branch**. As each finishes, report it:
|
|
49
|
+
```bash
|
|
50
|
+
kodelythecc super-agent step <runId> <stepId> --status done --branch <branch> [--tokens N]
|
|
51
|
+
# or, if it could not be completed:
|
|
52
|
+
kodelythecc super-agent step <runId> <stepId> --status failed
|
|
53
|
+
```
|
|
54
|
+
A failed step whose result others depend on stalls the run — that is the
|
|
55
|
+
machine protecting you from building on a broken foundation.
|
|
56
|
+
|
|
57
|
+
- **`integrate`** — All steps are done. Merge the worker branches. Detect
|
|
58
|
+
conflicts first, without touching the tree, via
|
|
59
|
+
`scripts/super-agent/integrate.js` (`mergeOrder` for the order,
|
|
60
|
+
`detectConflicts` for the check). If clean, merge in that order and:
|
|
61
|
+
```bash
|
|
62
|
+
kodelythecc super-agent integrate <runId>
|
|
63
|
+
```
|
|
64
|
+
If branches conflict, do **not** force it — report the conflicting files and
|
|
65
|
+
stop for a human:
|
|
66
|
+
```bash
|
|
67
|
+
kodelythecc super-agent integrate <runId> --conflicts path/a,path/b
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
- **`verify`** — Run the real verification gate (tests, build, type-check — use
|
|
71
|
+
`/verify`). Then:
|
|
72
|
+
```bash
|
|
73
|
+
kodelythecc super-agent verify <runId> --passed --detail "693 tests pass"
|
|
74
|
+
# or --failed --detail "2 tests red"
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
- **`halt`** — The budget cap was reached or the plan stalled. Stop and report
|
|
78
|
+
the reason. Do not work around the cap.
|
|
79
|
+
|
|
80
|
+
- **`report`** — The run is done, failed, or stopped. Summarize with
|
|
81
|
+
`kodelythecc super-agent status <runId>`.
|
|
82
|
+
|
|
83
|
+
3. **Repeat** `next` → act → submit until the action is `report`.
|
|
84
|
+
|
|
85
|
+
## Resuming
|
|
86
|
+
|
|
87
|
+
A run persists after every step. To pick up a crashed or earlier run:
|
|
88
|
+
`kodelythecc super-agent list`, then `kodelythecc super-agent next <runId>` — it
|
|
89
|
+
continues from exactly where it stopped.
|
|
90
|
+
|
|
91
|
+
## Rules
|
|
92
|
+
|
|
93
|
+
- Never fabricate a step result. If a step did not actually succeed, submit it as
|
|
94
|
+
`--status failed` — the machine handles the consequences honestly.
|
|
95
|
+
- Never bypass the budget or an `integrate` conflict. Those stops exist on purpose.
|
|
96
|
+
- The verification gate is real: only submit `--passed` when tests/build actually
|
|
97
|
+
pass, with evidence in `--detail`.
|
|
98
|
+
- Decompose into the smallest steps that still make sense as a unit of work, with
|
|
99
|
+
honest dependency edges — parallelism and correct integration both depend on
|
|
100
|
+
the edges being right.
|
|
101
|
+
|
|
102
|
+
You are the calm operator of a machine that cannot lie about its own state.
|