@evomap/evolver 1.89.0 → 1.89.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/CONTRIBUTING.md +19 -0
  2. package/README.ja-JP.md +9 -32
  3. package/README.ko-KR.md +9 -32
  4. package/README.md +530 -86
  5. package/README.zh-CN.md +4 -31
  6. package/SKILL.md +1 -1
  7. package/assets/cover.png +0 -0
  8. package/index.js +14 -1
  9. package/package.json +17 -6
  10. package/scripts/a2a_export.js +63 -0
  11. package/scripts/a2a_ingest.js +79 -0
  12. package/scripts/a2a_promote.js +118 -0
  13. package/scripts/analyze_by_skill.js +121 -0
  14. package/scripts/build_binaries.js +479 -0
  15. package/scripts/check-changelog.js +166 -0
  16. package/scripts/extract_log.js +85 -0
  17. package/scripts/generate_history.js +75 -0
  18. package/scripts/gep_append_event.js +96 -0
  19. package/scripts/gep_personality_report.js +234 -0
  20. package/scripts/human_report.js +147 -0
  21. package/scripts/recall-verify-report.js +234 -0
  22. package/scripts/recover_loop.js +61 -0
  23. package/scripts/seed-merchants.js +91 -0
  24. package/scripts/suggest_version.js +89 -0
  25. package/scripts/validate-modules.js +38 -0
  26. package/scripts/validate-suite.js +78 -0
  27. package/skills/index.json +14 -0
  28. package/src/evolve/guards.js +1 -721
  29. package/src/evolve/pipeline/collect.js +1 -1283
  30. package/src/evolve/pipeline/dispatch.js +1 -421
  31. package/src/evolve/pipeline/enrich.js +1 -434
  32. package/src/evolve/pipeline/hub.js +1 -319
  33. package/src/evolve/pipeline/select.js +1 -274
  34. package/src/evolve/pipeline/signals.js +1 -206
  35. package/src/evolve/utils.js +1 -264
  36. package/src/evolve.js +1 -350
  37. package/src/forceUpdate.js +105 -20
  38. package/src/gep/a2aProtocol.js +1 -4395
  39. package/src/gep/autoDistillConv.js +1 -205
  40. package/src/gep/autoDistillLlm.js +1 -315
  41. package/src/gep/candidateEval.js +1 -92
  42. package/src/gep/candidates.js +1 -198
  43. package/src/gep/contentHash.js +1 -30
  44. package/src/gep/conversationSniffer.js +1 -266
  45. package/src/gep/crypto.js +1 -89
  46. package/src/gep/curriculum.js +1 -163
  47. package/src/gep/deviceId.js +1 -218
  48. package/src/gep/envFingerprint.js +1 -118
  49. package/src/gep/epigenetics.js +1 -31
  50. package/src/gep/execBridge.js +1 -711
  51. package/src/gep/explore.js +1 -289
  52. package/src/gep/hash.js +1 -15
  53. package/src/gep/hubFetch.js +1 -359
  54. package/src/gep/hubReview.js +1 -207
  55. package/src/gep/hubSearch.js +1 -526
  56. package/src/gep/hubVerify.js +1 -306
  57. package/src/gep/learningSignals.js +1 -89
  58. package/src/gep/memoryGraph.js +1 -1374
  59. package/src/gep/memoryGraphAdapter.js +1 -203
  60. package/src/gep/mutation.js +1 -203
  61. package/src/gep/narrativeMemory.js +1 -108
  62. package/src/gep/oauthLogin.js +34 -0
  63. package/src/gep/openPRRegistry.js +1 -205
  64. package/src/gep/personality.js +1 -423
  65. package/src/gep/policyCheck.js +1 -599
  66. package/src/gep/prompt.js +1 -836
  67. package/src/gep/recallInject.js +1 -409
  68. package/src/gep/recallVerifier.js +1 -318
  69. package/src/gep/reflection.js +1 -177
  70. package/src/gep/selector.js +1 -602
  71. package/src/gep/skillDistiller.js +1 -1294
  72. package/src/gep/skillPublisher.js +1 -1
  73. package/src/gep/solidify.js +1 -1699
  74. package/src/gep/strategy.js +1 -136
  75. package/src/gep/tokenSavings.js +1 -88
  76. package/src/gep/workspaceKeychain.js +1 -174
  77. package/src/proxy/extensions/traceControl.js +1 -99
  78. package/src/proxy/inject.js +1 -52
  79. package/src/proxy/lifecycle/manager.js +2 -0
  80. package/src/proxy/trace/extractor.js +1 -534
  81. package/src/proxy/trace/usage.js +1 -105
  82. package/.cursor/BUGBOT.md +0 -182
  83. package/.env.example +0 -68
  84. package/.git-commit-guard-token +0 -1
  85. package/.github/CODEOWNERS +0 -63
  86. package/.github/ISSUE_TEMPLATE/good_first_issue.md +0 -23
  87. package/.github/pull_request_template.md +0 -45
  88. package/.github/workflows/test.yml +0 -75
  89. package/CHANGELOG.md +0 -1123
  90. package/README.public.md +0 -594
  91. package/SECURITY.md +0 -108
  92. package/assets/gep/events.jsonl +0 -3
  93. package/examples/atp-consumer-quickstart.md +0 -100
  94. package/examples/hello-world.md +0 -38
  95. package/proxy-package.json +0 -39
  96. package/public.manifest.json +0 -141
  97. /package/assets/gep/{genes.json → genes.seed.json} +0 -0
  98. /package/{bundled-skills → skills}/_meta/SKILL.md +0 -0
package/README.md CHANGED
@@ -1,127 +1,571 @@
1
- # evolver-private-dev
1
+ # 🧬 Evolver
2
2
 
3
- Private development repository for Evolver (source of truth).
4
- Public distribution: [EvoMap/evolver](https://github.com/EvoMap/evolver).
3
+ [![GitHub stars](https://img.shields.io/github/stars/EvoMap/evolver?style=social)](https://github.com/EvoMap/evolver/stargazers)
4
+ [![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue.svg)](https://opensource.org/licenses/GPL-3.0)
5
+ [![Node.js >= 18](https://img.shields.io/badge/Node.js-%3E%3D%2018-green.svg)](https://nodejs.org/)
6
+ [![GitHub last commit](https://img.shields.io/github/last-commit/EvoMap/evolver)](https://github.com/EvoMap/evolver/commits/main)
7
+ [![npm downloads](https://img.shields.io/npm/dm/@evomap/evolver.svg)](https://www.npmjs.com/package/@evomap/evolver)
8
+ [![GitHub issues](https://img.shields.io/github/issues/EvoMap/evolver)](https://github.com/EvoMap/evolver/issues)
9
+ [![arXiv](https://img.shields.io/badge/arXiv-2604.15097-b31b1b.svg)](https://arxiv.org/abs/2604.15097)
5
10
 
6
- Current version: see `package.json`.
11
+ ![Evolver Cover](assets/cover.png)
7
12
 
8
- ## Repository Layout
13
+ **[evomap.ai](https://evomap.ai)** | [Documentation](https://evomap.ai/wiki) | [Chinese / 中文文档](README.zh-CN.md) | [Japanese / 日本語ドキュメント](README.ja-JP.md) | [Korean / 한국어 문서](README.ko-KR.md) | [GitHub](https://github.com/EvoMap/evolver) | [Releases](https://github.com/EvoMap/evolver/releases)
9
14
 
15
+ ---
16
+
17
+ > **Notice — Moving Toward Source-Available**
18
+ >
19
+ > Evolver has been fully open source since our first release on 2026-02-01 (initially MIT, and GPL-3.0-or-later since 2026-04-09). In March 2026, another project in the same lane released a system with strikingly similar memory / skill / evolution-asset design — without any attribution to Evolver. Full analysis: [Hermes Agent Self-Evolution vs. Evolver: A Detailed Similarity Analysis](https://evomap.ai/en/blog/hermes-agent-evolver-similarity-analysis).
20
+ >
21
+ > To protect the integrity of the work and keep investing in this direction, future Evolver releases will transition from fully open source to source-available. **Our commitment to users is unchanged**: we will keep shipping the best agent self-evolution capability in the industry — faster iteration, deeper GEP integration, stronger memory and skill systems. All already-published MIT and GPL-3.0 versions remain freely usable under their original terms. You can still `npm install @evomap/evolver` or clone this repo; nothing in your current workflow breaks.
22
+ >
23
+ > Questions or concerns: open an issue or reach us at [evomap.ai](https://evomap.ai).
24
+
25
+ ---
26
+
27
+ > **Research — The theory behind Evolver**
28
+ >
29
+ > **From Procedural Skills to Strategy Genes: Towards Experience-Driven Test-Time Evolution** · [arXiv:2604.15097](https://arxiv.org/abs/2604.15097) · [PDF](https://arxiv.org/pdf/2604.15097)
30
+ >
31
+ > Across 4,590 controlled trials on 45 scientific code-solving scenarios, the paper shows that documentation-oriented **Skill** packages provide unstable, sparse control signal, while a compact **Gene** representation delivers the strongest overall performance, stays robust under structural perturbation, and is a far better carrier for iterative experience accumulation. On CritPt, gene-evolved systems lift their paired base models from 9.1% to 18.57% and from 17.7% to 27.14%.
32
+ >
33
+ > Evolver is the open-source engine that puts this result into practice: it encodes agent experience as Genes and Capsules under the GEP protocol, not as ad hoc prompts or skill docs. If you've ever wondered *why* Evolver insists on Genes instead of longer skill docs, this is the paper to read.
34
+ >
35
+ > Want the applied version? [OpenClaw x EvoMap: CritPt Evaluation Report](https://evomap.ai/blog/openclaw-critpt-report) walks through how the same Gene-based evolution loop drives an OpenClaw agent from 9.1% to 18.57% on CritPt Physics Solver across five versions (Beta -> v2.2), with full token-cost trajectories, gene activation mapping, and the "tokens rise then fall" signature of reasoning getting compressed into reusable genes.
36
+
37
+ ---
38
+
39
+ > **"Evolution is not optional. Adapt or die."**
40
+
41
+ **Three lines**
42
+ - **What it is**: A [GEP](https://evomap.ai/wiki)-powered self-evolution engine for AI agents.
43
+ - **Pain it solves**: Turns ad hoc prompt tweaks into auditable, reusable evolution assets.
44
+ - **Use in 30 seconds**: `npm install -g @evomap/evolver`, then run `evolver` in any git repo.
45
+
46
+ ## EvoMap -- The Evolution Network
47
+
48
+ Evolver is the core engine behind **[EvoMap](https://evomap.ai)**, a network where AI agents evolve through validated collaboration. Visit [evomap.ai](https://evomap.ai) to explore the full platform -- live agent maps, evolution leaderboards, and the ecosystem that turns isolated prompt tweaks into shared, auditable intelligence.
49
+
50
+ Keywords: protocol-constrained evolution, audit trail, genes and capsules, prompt governance.
51
+
52
+ ## Choose Your Path
53
+
54
+ Evolver has one install but two usage shapes. Pick the one that matches how you plan to use it, then follow only that section.
55
+
56
+ | Path | Who it's for | Command after install | Guide |
57
+ |---|---|---|---|
58
+ | **CLI Quick Start** | You just want to use Evolver to evolve an agent / project. 99% of readers. | `evolver` | [below](#cli-quick-start) |
59
+ | **Run from Source** | You want to hack on the engine, send PRs, or run unreleased builds. | `node index.js` | [below](#run-from-source-contributors-only) |
60
+
61
+ > **For agent / skill integrations** (Codex, Claude Code skill system, custom MCP clients) see the separate [SKILL.md](SKILL.md) -- it documents the Proxy mailbox API that wraps the CLI. You still install Evolver via the CLI Quick Start below first.
62
+
63
+ ## Prerequisites
64
+
65
+ - **[Node.js](https://nodejs.org/)** >= 18
66
+ - **[Git](https://git-scm.com/)** -- Required. Evolver uses git for rollback, blast radius calculation, and solidify. Running in a non-git directory will fail with a clear error message.
67
+
68
+ ## CLI Quick Start
69
+
70
+ This is the recommended path for almost everyone.
71
+
72
+ ### 1. Install
73
+
74
+ ```bash
75
+ npm install -g @evomap/evolver
10
76
  ```
11
- index.js # CLI entry point
12
- src/
13
- evolve.js # Core evolution engine
14
- proxy/ # EvoMap Proxy (HTTP server, sync, mailbox)
15
- gep/ # GEP protocol (bridge, prompt, selector, solidify)
16
- ops/ # Operations modules (lifecycle, repair, cleanup, monitoring)
17
- assets/gep/ # Bundled starter GEP assets
18
- .evolver/gep/ # Runtime Genes, Capsules, Events (ignored)
19
- scripts/
20
- build_public.js # Build dist-public/ from public.manifest.json
21
- publish_public.js # Publish to GitHub + npm
22
- test/ # Test suite (vitest)
23
- docs/ # Private docs (excluded from public build)
24
- memory/ # Runtime artifacts (excluded from public build)
77
+
78
+ Verify the CLI is on your PATH:
79
+
80
+ ```bash
81
+ evolver --help
82
+ ```
83
+
84
+ If you hit `EACCES` on Linux/macOS, configure a user-level prefix instead of using `sudo`:
85
+
86
+ ```bash
87
+ npm config set prefix ~/.npm-global
88
+ echo 'export PATH="$HOME/.npm-global/bin:$PATH"' >> ~/.bashrc
89
+ source ~/.bashrc
25
90
  ```
26
91
 
27
- ## Release Workflow
92
+ ### 2. Run it
28
93
 
29
- ### Evolver Release
94
+ From inside any **git-initialized** project directory:
30
95
 
31
96
  ```bash
32
- # 1. Version bump
33
- # Edit package.json version, commit:
34
- git commit -am "chore(release): prepare vX.Y.Z"
97
+ # Single evolution run -- scans logs, selects a Gene, outputs a GEP prompt
98
+ evolver
35
99
 
36
- # 2. Build public output
37
- node scripts/build_public.js
100
+ # Review mode -- pause before applying, wait for human confirmation
101
+ evolver --review
38
102
 
39
- # 3. Publish (GitHub Release + npm)
40
- PUBLIC_REPO="EvoMap/evolver" node scripts/publish_public.js
41
- cd dist-public && npm publish --access public
103
+ # Continuous loop -- runs as a background daemon
104
+ evolver --loop
42
105
  ```
43
106
 
44
- Both channels (GitHub Release, npm) must succeed.
107
+ A "successful first run" looks like:
108
+
109
+ 1. Evolver prints a banner with the detected strategy preset (e.g. `balanced`).
110
+ 2. It scans `./memory/` (creates it if missing) for logs and signals.
111
+ 3. It selects a matching Gene / Capsule from its built-in asset pool.
112
+ 4. It prints a **GEP prompt** to stdout -- that's the artifact. Copy it into your agent, or let a host runtime (OpenClaw, Cursor hook, Claude Code hook) consume it automatically.
113
+ 5. It writes an `EvolutionEvent` into `./memory/` for audit.
45
114
 
46
- | Channel | Target |
47
- |---------|--------|
48
- | GitHub Release | `EvoMap/evolver` |
49
- | npm | `@evomap/evolver` |
115
+ If step 4 didn't appear, you're not running inside a git repo -- `cd` into one and retry. Everything else runs fully offline.
50
116
 
51
- ### Public README
117
+ ### 3. Connect to the EvoMap network (optional)
118
+
119
+ Evolver works fully offline. Hub connection only unlocks network features (skill sharing, worker pool, evolution leaderboards).
120
+
121
+ Create a `.env` file **in the current working directory where you run `evolver`** (not in your home directory, not in the global npm install location):
122
+
123
+ ```bash
124
+ # Register at https://evomap.ai to get your Node ID
125
+ A2A_HUB_URL=https://evomap.ai
126
+ A2A_NODE_ID=your_node_id_here
127
+ ```
52
128
 
53
- The public-facing README lives in `README.public.md`. It is copied and renamed to `dist-public/README.md` during build. Do NOT edit `README.public.md` for private dev notes; edit this file instead.
129
+ Evolver reads `.env` from `process.cwd()` on each run. If you run `evolver` from multiple projects, each project can have its own `.env`.
54
130
 
55
- ## Environment Variables
131
+ ### 4. Wire up your agent runtime (optional)
56
132
 
57
- ### Proxy
133
+ Evolver integrates with major agent runtimes through `setup-hooks`. Run it once per platform you want to wire up.
58
134
 
59
- | Variable | Default | Effect |
135
+ | Platform | Command | What it writes |
60
136
  |---|---|---|
61
- | `EVOMAP_ROUTER_ENABLED` | unset (off) | Set to `"1"` to enable the Phase C multi-tier router on `POST /v1/messages`. The classifier rewrites `model` per turn (cheap / mid / expensive) and emits one `router_decision` JSON log line per request. Any other value (including `"true"`, `"0"`, empty) leaves the route in pass-through mode — the request body is forwarded to `api.anthropic.com` unmodified. |
62
- | `EVOMAP_MODEL_CHEAP` | `global.anthropic.claude-opus-4-7` | Concrete model for the cheap tier (trivial lookups, post-tool synthesis hops). |
63
- | `EVOMAP_MODEL_MID` | `global.anthropic.claude-opus-4-7` | Concrete model for the mid tier (default turn). |
64
- | `EVOMAP_MODEL_EXPENSIVE` | `global.anthropic.claude-opus-4-7` | Concrete model for the expensive tier (planning, high tool-use density). |
65
- | `EVOMAP_ANTHROPIC_BASE_URL` | `https://api.anthropic.com` | Override upstream for testing or self-hosted gateways. |
66
- | `EVOMAP_PROXY_PORT` | `19820` | Initial port to bind; the proxy scans up to 100 consecutive ports if busy. |
67
- | `EVOMAP_PROXY_MAX_BODY_BYTES` | `1048576` (1 MiB) | Hard cap on inbound request body size. See GHSA-7xp7-m392-h92c. |
68
- | `ANTHROPIC_API_KEY` | unset | Token-mediation fallback. When a client sends a `/v1/messages` request without `x-api-key`, the proxy substitutes this value as the upstream `x-api-key`. |
69
- | `ANTHROPIC_AUTH_TOKEN` | unset | Token-mediation fallback (Bearer variant). Used only if `ANTHROPIC_API_KEY` is unset; substituted as upstream `Authorization: Bearer <token>`. |
137
+ | [Cursor](https://cursor.com) | `evolver setup-hooks --platform=cursor` | `~/.cursor/hooks.json` + scripts in `~/.cursor/hooks/`. Restart Cursor or open a new session. Fires on `sessionStart`, `afterFileEdit`, `stop`. |
138
+ | [Claude Code](https://www.anthropic.com/claude-code) | `evolver setup-hooks --platform=claude-code` | Registers with Claude Code's hook system via `~/.claude/`. Restart the Claude Code CLI. |
139
+ | [Codex](https://github.com/openai/codex) | `evolver setup-hooks --platform=codex` | `~/.codex/hooks.json` + scripts in `~/.codex/hooks/`, enables `codex_hooks` feature in `config.toml`. Restart the Codex CLI. See [Codex caveats](#codex-caveats) below. |
140
+ | [Kiro](https://kiro.dev) | `evolver setup-hooks --platform=kiro` | Three `*.kiro.hook` files + scripts in `~/.kiro/hooks/`. Auto-discovered, no restart needed. |
141
+ | [opencode](https://opencode.ai) | `evolver setup-hooks --platform=opencode` | Plugin at `~/.opencode/plugins/evolver.js` + scripts in `~/.opencode/hooks/`. Restart opencode. |
142
+ | [OpenClaw](https://openclaw.com) | No setup needed | OpenClaw natively interprets the `sessions_spawn(...)` stdout directives Evolver emits. Just run `evolver` from inside an OpenClaw session. |
70
143
 
71
- The router flag is read at proxy startup; flipping it requires restarting the daemon. Per-tier model overrides and the two mediation env vars are read on every request via `process.env`, so they can be hot-swapped without a restart.
144
+ #### Codex caveats
72
145
 
73
- > **Tier defaults ship uniform.** All three `EVOMAP_MODEL_*` tiers default to `opus-4-7`, so enabling `EVOMAP_ROUTER_ENABLED=1` **without** setting per-tier overrides routes every turn to the same model — no cost saving, and a cost *increase* for anyone previously pinned to a cheaper model. This is deliberate while tier mapping is tuned (it keeps the no-downgrade guard inert and 5xx retries on a single model). To get tier-based cost saving, set the overrides explicitly, e.g. `EVOMAP_MODEL_CHEAP=global.anthropic.claude-haiku-4-5-20251001-v1:0` and `EVOMAP_MODEL_MID=global.anthropic.claude-sonnet-4-6`. When the router is enabled and all tiers resolve to one model, the proxy emits a one-time `router_degenerate_tiers` WARN at startup.
146
+ The Codex CLI exposes `SessionStart` / `Stop` / `PostToolUse` hooks (which is
147
+ how `setup-hooks --platform=codex` wires Evolver in), but it does **not**
148
+ emit a session transcript file the way Cursor / Claude Code / opencode do.
149
+ That means `evolver --review` cannot read raw session logs on Codex.
74
150
 
75
- ### Proxy mode (token mediation)
151
+ Evolver compensates by reading, in order:
76
152
 
77
- Some clients (notably Claude Code) put the upstream credential in `Authorization: Bearer`, which collides with the proxy's own self-auth header. To route such a client through the proxy:
153
+ 1. `MEMORY.md` / `USER.md` in the workspace root (if you maintain them);
154
+ 2. the `<!-- evolver-evolution-memory -->` section that
155
+ `setup-hooks --platform=codex` injects into your project's
156
+ `AGENTS.md`;
157
+ 3. the tail of the local `memory_graph.jsonl` (the per-cycle outcome log
158
+ that Evolver writes itself).
78
159
 
79
- 1. Set the proxy daemon's environment with the **real** Anthropic credential — `ANTHROPIC_API_KEY=sk-ant-...` (or `ANTHROPIC_AUTH_TOKEN=...`).
80
- 2. Configure the client to talk to the proxy with the **proxy's token** as its auth:
81
- - `ANTHROPIC_BASE_URL=http://127.0.0.1:19820`
82
- - `ANTHROPIC_AUTH_TOKEN=<proxy_token from ~/.evolver/settings.json>`
160
+ If none of those have content yet, you'll see `memory_missing` /
161
+ `user_missing` / `session_logs_missing` show up as advisory signals
162
+ during the first few cycles. They will go quiet on their own as
163
+ `memory_graph.jsonl` accumulates outcomes — no manual setup required.
83
164
 
84
- The proxy then validates `Authorization: Bearer <proxy_token>` for self-auth, strips it, and substitutes its own env credential when forwarding to `api.anthropic.com`. The client never sees the real upstream key.
165
+ ## Run from Source (Contributors Only)
85
166
 
86
- For the internal Claude Code / Codex / Cursor rollout, see [docs/internal-proxy-rollout.md](docs/internal-proxy-rollout.md). Use `scripts/internal-proxy-env.sh` to export local client env from `~/.evolver/settings.json` without copying tokens into shell history.
167
+ Skip this section entirely if you installed via `npm install -g @evomap/evolver` above. This path exists so contributors can hack on the engine.
87
168
 
88
- ### Workspace identity
169
+ ```bash
170
+ git clone https://github.com/EvoMap/evolver.git
171
+ cd evolver
172
+ npm install
173
+
174
+ # Then use node index.js wherever the CLI docs say evolver
175
+ node index.js # equivalent to: evolver
176
+ node index.js --review # equivalent to: evolver --review
177
+ node index.js --loop # equivalent to: evolver --loop
178
+ ```
89
179
 
90
- | Variable | Default | Effect |
91
- |---|---|---|
92
- | `EVOLVER_WORKSPACE_KEYCHAIN` | `auto` | Backs the per-workspace `workspace-id` secret with the OS keychain (`@napi-rs/keyring`). `auto` tries the keychain and falls back to `<workspace>/.evolver/workspace-id` (mode `0600`) on any failure; `force` requires the keychain and throws if it is unavailable (use in CI to assert it loaded); `off` skips the keychain and uses the FS file only. |
93
- | `EVOLVER_WORKSPACE_ID` | unset | Explicit override; wins over both keychain and FS resolution. |
180
+ Every `evolver <flag>` invocation in the rest of this README maps 1:1 to `node index.js <flag>` when running from source.
181
+
182
+ ## What Evolver Does (and Does Not Do)
183
+
184
+ **Evolver is a prompt generator, not a code patcher.** Each evolution cycle:
185
+
186
+ 1. Scans your `memory/` directory for runtime logs, error patterns, and signals.
187
+ 2. Selects the best-matching [Gene or Capsule](https://evomap.ai/wiki) from the local GEP asset store.
188
+ 3. Emits a strict, protocol-bound GEP prompt that guides the next evolution step.
189
+ 4. Records an auditable [EvolutionEvent](https://evomap.ai/wiki) for traceability.
190
+
191
+ **It does NOT**:
192
+ - Automatically edit your source code.
193
+ - Execute arbitrary shell commands (see [Security Model](#security-model)).
194
+ - Require an internet connection for core functionality.
195
+
196
+ ### How It Integrates with Host Runtimes
197
+
198
+ When running inside a host runtime (e.g., [OpenClaw](https://openclaw.com)), the `sessions_spawn(...)` text printed to stdout can be picked up by the host to trigger follow-up actions. **In standalone mode, these are just text output** -- nothing is executed automatically.
199
+
200
+ | Mode | Behavior |
201
+ | :--- | :--- |
202
+ | Standalone (`evolver`) | Generates prompt, prints to stdout, exits |
203
+ | Loop (`evolver --loop`) | Repeats the above in a daemon loop with adaptive sleep |
204
+ | Inside OpenClaw | Host runtime interprets stdout directives like `sessions_spawn(...)` |
94
205
 
95
- The keychain closes a same-uid readability gap: with the FS fallback, any
96
- process under the same uid can read `workspace-id` off disk. `@napi-rs/keyring`
97
- is an *optional* dependency — on **npm 7+** a default `npm install -g` installs
98
- it (optional deps are opt-*out* via `--omit=optional`, not opt-in), so the
99
- protection is active wherever an OS keychain backend (macOS Keychain Services /
100
- Linux libsecret / Windows Credential Manager) is reachable. On headless Linux
101
- without libsecret, under `--omit=optional`, or in the standalone bun binary
102
- (where the addon is not yet sideloaded), `auto` falls back to the FS secret and
103
- the same-uid gap remains open. See [SECURITY.md](SECURITY.md#workspace-id-same-uid-readability-issue-111) for the full posture.
206
+ > **`--loop` is not a real-time agent assistant.** Loop mode is for background self-maintenance (validator runs, worker tasks, ATP merchant auto-deliver, solidify). Its stdout is consumed by evolver itself, **not** by a running host agent, so `sessions_spawn(...)` directives produced in loop mode will not be picked up by OpenClaw / Cursor / Claude Code even if those runtimes are installed. If you want evolver to observe and advise a live agent session, call `evolver` from **inside** that agent session (OpenClaw will pick up the stdout directives on that single run). For OpenClaw specifically, also make sure `AGENT_NAME` (or `AGENT_SESSIONS_DIR`) points at the agent directory actually producing sessions under `~/.openclaw/agents/<name>/sessions/` -- otherwise evolver falls back to reading its own logs and looks like it is "cycling emptily".
104
207
 
105
- ## Development
208
+ ## Who This Is For / Not For
106
209
 
210
+ **For**
211
+ - Teams maintaining agent prompts and logs at scale
212
+ - Users who need auditable evolution traces ([Genes](https://evomap.ai/wiki), [Capsules](https://evomap.ai/wiki), [Events](https://evomap.ai/wiki))
213
+ - Environments requiring deterministic, protocol-bound changes
214
+
215
+ **Not For**
216
+ - One-off scripts without logs or history
217
+ - Projects that require free-form creative changes
218
+ - Systems that cannot tolerate protocol overhead
219
+
220
+ ## Features
221
+
222
+ - **Auto-Log Analysis**: scans memory and history files for errors and patterns.
223
+ - **Self-Repair Guidance**: emits repair-focused directives from signals.
224
+ - **[GEP Protocol](https://evomap.ai/wiki)**: standardized evolution with reusable assets.
225
+ - **Mutation + Personality Evolution**: each evolution run is gated by an explicit Mutation object and an evolvable PersonalityState.
226
+ - **Configurable Strategy Presets**: `EVOLVE_STRATEGY=balanced|innovate|harden|repair-only` controls intent balance.
227
+ - **Signal De-duplication**: prevents repair loops by detecting stagnation patterns.
228
+ - **Operations Module** (`src/ops/`): portable lifecycle, skill monitoring, cleanup, self-repair, wake triggers -- zero platform dependency.
229
+ - **Protected Source Files**: prevents autonomous agents from overwriting core evolver code.
230
+ - **[Skill Store](https://evomap.ai)**: download and share reusable skills via `evolver fetch --skill <id>`.
231
+
232
+ ## Typical Use Cases
233
+
234
+ - Harden a flaky agent loop by enforcing validation before edits
235
+ - Encode recurring fixes as reusable [Genes and Capsules](https://evomap.ai/wiki)
236
+ - Produce auditable evolution events for review or compliance
237
+
238
+ ## Anti-Examples
239
+
240
+ - Rewriting entire subsystems without signals or constraints
241
+ - Using the protocol as a generic task runner
242
+ - Producing changes without recording EvolutionEvent
243
+
244
+ ## Usage
245
+
246
+ All commands below assume you installed with `npm install -g @evomap/evolver`. If you are running from source, substitute `node index.js` for `evolver` -- they are equivalent.
247
+
248
+ ### Standard Run (Automated)
249
+ ```bash
250
+ evolver
251
+ ```
252
+
253
+ ### Review Mode (Human-in-the-Loop)
254
+ ```bash
255
+ evolver --review
256
+ ```
257
+
258
+ ### Continuous Loop
259
+ ```bash
260
+ evolver --loop
261
+ ```
262
+
263
+ ### With Strategy Preset
264
+ ```bash
265
+ EVOLVE_STRATEGY=innovate evolver --loop # maximize new features
266
+ EVOLVE_STRATEGY=harden evolver --loop # focus on stability
267
+ EVOLVE_STRATEGY=repair-only evolver --loop # emergency fix mode
268
+ ```
269
+
270
+ | Strategy | Innovate | Optimize | Repair | When to Use |
271
+ | :--- | :--- | :--- | :--- | :--- |
272
+ | `balanced` (default) | 50% | 30% | 20% | Daily operation, steady growth |
273
+ | `innovate` | 80% | 15% | 5% | System stable, ship new features fast |
274
+ | `harden` | 20% | 40% | 40% | After major changes, focus on stability |
275
+ | `repair-only` | 0% | 20% | 80% | Emergency state, all-out repair |
276
+
277
+ ### Operations (Lifecycle Management)
107
278
  ```bash
108
- # Run tests
109
- npx vitest run
279
+ node src/ops/lifecycle.js start # start evolver loop in background
280
+ node src/ops/lifecycle.js stop # graceful stop (SIGTERM -> SIGKILL)
281
+ node src/ops/lifecycle.js status # show running state
282
+ node src/ops/lifecycle.js check # health check + auto-restart if stagnant
283
+ ```
110
284
 
111
- # Single evolution run (sanity check)
112
- node index.js
285
+ ### Skill Store
286
+ ```bash
287
+ # Download a skill from the EvoMap network
288
+ evolver fetch --skill <skill_id>
113
289
 
114
- # Continuous loop
115
- node index.js --loop
290
+ # Specify output directory
291
+ evolver fetch --skill <skill_id> --out=./my-skills/
116
292
  ```
117
293
 
118
- ## Build Pipeline
294
+ Requires `A2A_HUB_URL` to be configured. Browse available skills at [evomap.ai](https://evomap.ai).
295
+
296
+ ### Cron / External Runner Keepalive
297
+ If you run a periodic keepalive/tick from a cron/agent runner, prefer a single simple command with minimal quoting.
298
+
299
+ Recommended:
300
+
301
+ ```bash
302
+ bash -lc 'evolver --loop'
303
+ ```
304
+
305
+ Avoid composing multiple shell segments inside the cron payload (for example `...; echo EXIT:$?`) because nested quotes can break after passing through multiple serialization/escaping layers.
306
+
307
+ For process managers like pm2, the same principle applies -- wrap the command simply:
308
+
309
+ ```bash
310
+ pm2 start "bash -lc 'evolver --loop'" --name evolver --cron-restart="0 */6 * * *"
311
+ ```
312
+
313
+ ## Connecting to EvoMap Hub
314
+
315
+ Evolver can optionally connect to the [EvoMap Hub](https://evomap.ai) for network features. This is **not required** for core evolution functionality.
316
+
317
+ ### Setup
318
+
319
+ 1. Register at [evomap.ai](https://evomap.ai) and get your Node ID.
320
+ 2. Add the following to your `.env` file:
321
+
322
+ ```bash
323
+ A2A_HUB_URL=https://evomap.ai
324
+ A2A_NODE_ID=your_node_id_here
325
+ ```
326
+
327
+ ### What Hub Connection Enables
328
+
329
+ | Feature | Description |
330
+ | :--- | :--- |
331
+ | **Heartbeat** | Periodic check-in with the Hub; reports node status and receives available work |
332
+ | **Skill Store** | Download and publish reusable skills (`evolver fetch`) |
333
+ | **Worker Pool** | Accept and execute evolution tasks from the network (see [Worker Pool](#worker-pool-evomap-network)) |
334
+ | **Evolution Circle** | Collaborative evolution groups with shared context |
335
+ | **Asset Publishing** | Share your Genes and Capsules with the network |
336
+
337
+ ### How It Works
338
+
339
+ When `evolver --loop` is running with Hub configured:
340
+
341
+ 1. On startup, evolver sends a `hello` message to register with the Hub.
342
+ 2. A heartbeat is sent every 6 minutes (configurable via `HEARTBEAT_INTERVAL_MS`).
343
+ 3. The Hub responds with available work, overdue task alerts, and skill store hints.
344
+ 4. If `WORKER_ENABLED=1`, the node advertises its capabilities and picks up tasks.
345
+
346
+ Without Hub configuration, evolver runs fully offline -- all core evolution features work locally.
347
+
348
+ ## Worker Pool (EvoMap Network)
349
+
350
+ When `WORKER_ENABLED=1`, this node participates as a worker in the [EvoMap network](https://evomap.ai). It advertises its capabilities via heartbeat and picks up tasks from the network's available-work queue. Tasks are claimed atomically during solidify after a successful evolution cycle.
351
+
352
+ | Variable | Default | Description |
353
+ |----------|---------|-------------|
354
+ | `WORKER_ENABLED` | _(unset)_ | Set to `1` to enable worker pool mode |
355
+ | `WORKER_DOMAINS` | _(empty)_ | Comma-separated list of task domains this worker accepts (e.g. `repair,harden`) |
356
+ | `WORKER_MAX_LOAD` | `5` | Advertised maximum concurrent task capacity for hub-side scheduling (not a locally enforced concurrency limit) |
357
+
358
+ ```bash
359
+ WORKER_ENABLED=1 WORKER_DOMAINS=repair,harden WORKER_MAX_LOAD=3 evolver --loop
360
+ ```
361
+
362
+ ### WORKER_ENABLED vs. the Website Toggle
363
+
364
+ The [evomap.ai](https://evomap.ai) dashboard has a "Worker" toggle on the node detail page. Here is how the two relate:
365
+
366
+ | Control | Scope | What It Does |
367
+ | :--- | :--- | :--- |
368
+ | `WORKER_ENABLED=1` (env var) | **Local** | Tells your local evolver daemon to include worker metadata in heartbeats and accept tasks |
369
+ | Website toggle | **Hub-side** | Tells the Hub whether to dispatch tasks to this node |
370
+
371
+ **Both must be enabled** for your node to receive and execute tasks. If either side is off, the node will not pick up work from the network. The recommended flow:
372
+
373
+ 1. Set `WORKER_ENABLED=1` in your `.env` and start `evolver --loop`.
374
+ 2. Go to [evomap.ai](https://evomap.ai), find your node, and turn on the Worker toggle.
375
+
376
+ ## GEP Protocol (Auditable Evolution)
377
+
378
+ This repo includes a protocol-constrained prompt mode based on [GEP (Genome Evolution Protocol)](https://evomap.ai/wiki).
379
+
380
+ - **Structured runtime assets** live in `<workspace>/.evolver/gep/` by default:
381
+ - `<workspace>/.evolver/gep/genes.json`
382
+ - `<workspace>/.evolver/gep/capsules.json`
383
+ - `<workspace>/.evolver/gep/events.jsonl`
384
+ - Set `GEP_ASSETS_DIR` to place the runtime asset store elsewhere.
385
+ - **Selector** logic uses extracted signals to prefer existing Genes/Capsules and emits a JSON selector decision in the prompt.
386
+ - **Constraints**: Only the DNA emoji is allowed in documentation; all other emoji are disallowed.
387
+
388
+ ### Your local asset store is never overwritten by upgrades
389
+
390
+ `<workspace>/.evolver/gep/genes.json`, `<workspace>/.evolver/gep/capsules.json`, and `<workspace>/.evolver/gep/events.jsonl` are owned by your runtime and ignored by git. `assets/gep/` is reserved for bundled starter assets. On first run, evolver copies any legacy runtime files from `assets/gep/` into `.evolver/gep/` without deleting the originals, then seeds `genes.json` from the bundled starter genes only when no local `genes.json` exists.
391
+
392
+ If you ran an older evolver version that wiped your local assets, pull back everything you Promoted or published to the Hub with a single command:
393
+
394
+ ```bash
395
+ A2A_HUB_URL=https://evomap.ai evolver sync --scope=all --export=backup.gepx
396
+ ```
397
+
398
+ This hits `/a2a/assets/purchased` (Promoted-to-you plus self-purchased) and `/a2a/assets/published-by-me` (your own drafts and published assets), re-materializes the full payloads into `genes.json` / `capsules.json`, and packs a portable `.gepx` bundle. Previously-purchased payloads re-fetch at zero cost.
399
+
400
+ Purely local assets that were never uploaded to the Hub have no remote copy -- recover them from `.evolver/gep/`, from an older `assets/gep/` checkout, or from disk snapshots.
401
+
402
+ ## Configuration & Decoupling
403
+
404
+ Evolver is designed to be **environment-agnostic**.
405
+
406
+ ### Core Environment Variables
407
+
408
+ | Variable | Description | Default |
409
+ | :--- | :--- | :--- |
410
+ | `EVOLVE_STRATEGY` | Evolution strategy preset (`balanced` / `innovate` / `harden` / `repair-only`) | `balanced` |
411
+ | `A2A_HUB_URL` | [EvoMap Hub](https://evomap.ai) URL | _(unset, offline mode)_ |
412
+ | `A2A_NODE_ID` | Your node identity on the network | _(auto-generated from device fingerprint)_ |
413
+ | `HEARTBEAT_INTERVAL_MS` | Hub heartbeat interval | `360000` (6 min) |
414
+ | `MEMORY_DIR` | Memory files path | `./memory` |
415
+ | `EVOLVE_REPORT_TOOL` | Tool name for reporting results | `message` |
416
+
417
+ ### Local Overrides (Injection)
418
+ You can inject local preferences (e.g., using `feishu-card` instead of `message` for reports) without modifying the core code.
419
+
420
+ **Method 1: Environment Variables**
421
+ Set `EVOLVE_REPORT_TOOL` in your `.env` file:
422
+ ```bash
423
+ EVOLVE_REPORT_TOOL=feishu-card
424
+ ```
425
+
426
+ **Method 2: Dynamic Detection**
427
+ The script automatically detects if compatible local skills (like `skills/feishu-card`) exist in your workspace and upgrades its behavior accordingly.
428
+
429
+ ### Validator Role (default ON)
430
+
431
+ When connected to an [EvoMap Hub](https://evomap.ai), every evolver instance also acts as a **decentralized validator**: it periodically pulls a small batch of validation tasks assigned by the hub, runs the proposer's claimed validation commands inside the existing sandbox, and submits a `ValidationReport` back. Validators that join consensus earn credits and reputation.
432
+
433
+ | Variable | Default | Description |
434
+ |----------|---------|-------------|
435
+ | `EVOLVER_VALIDATOR_ENABLED` | _(unset = ON)_ | `0`/`false`/`off` to opt out; `1`/`true`/`on` to force on. Env always wins over hub-pushed flag and the built-in default. |
436
+ | `EVOLVER_VALIDATOR_DAEMON_INTERVAL_MS` | `60000` | Interval between validator polls when running in `--loop` / `--mad-dog` mode. |
437
+ | `EVOLVER_VALIDATOR_MAX_TASKS_PER_CYCLE` | `2` | Max tasks claimed per poll. |
438
+ | `EVOLVER_VALIDATOR_FETCH_TIMEOUT_MS` | `8000` | Timeout for the per-poll task fetch. |
439
+
440
+ Persistent flag override: when the env is unset, the runtime reads `~/.evomap/feature_flags.json`. The hub may push `feature_flag_update` events through the existing mailbox channel to flip this on for legacy installs after upgrade.
441
+
442
+ To opt out permanently:
443
+
444
+ ```bash
445
+ EVOLVER_VALIDATOR_ENABLED=0 evolver --loop
446
+ ```
447
+
448
+ ### Auto GitHub Issue Reporting
449
+
450
+ When the evolver detects persistent failures (failure loop or recurring errors with high failure ratio), it can automatically file a GitHub issue to the upstream repository with sanitized environment info and logs. All sensitive data (tokens, local paths, emails, etc.) is redacted before submission.
451
+
452
+ | Variable | Default | Description |
453
+ |----------|---------|-------------|
454
+ | `EVOLVER_AUTO_ISSUE` | `true` | Enable/disable auto issue reporting |
455
+ | `EVOLVER_ISSUE_REPO` | `EvoMap/evolver` | Target GitHub repository (owner/repo) |
456
+ | `EVOLVER_ISSUE_COOLDOWN_MS` | `86400000` (24h) | Cooldown period for the same error signature |
457
+ | `EVOLVER_ISSUE_MIN_STREAK` | `5` | Minimum consecutive failure streak to trigger |
458
+
459
+ Requires `GITHUB_TOKEN` (or `GH_TOKEN` / `GITHUB_PAT`) with `repo` scope. When no token is available, the feature is silently skipped.
460
+
461
+ ## Security Model
462
+
463
+ This section describes the execution boundaries and trust model of the Evolver.
464
+
465
+ ### What Executes and What Does Not
466
+
467
+ | Component | Behavior | Executes Shell Commands? |
468
+ | :--- | :--- | :--- |
469
+ | `src/evolve.js` | Reads logs, selects genes, builds prompts, writes artifacts | Read-only git/process queries only |
470
+ | `src/gep/prompt.js` | Assembles the GEP protocol prompt string | No (pure text generation) |
471
+ | `src/gep/selector.js` | Scores and selects Genes/Capsules by signal matching | No (pure logic) |
472
+ | `src/gep/solidify.js` | Validates patches via Gene `validation` commands | Yes (see below) |
473
+ | `index.js` (loop recovery) | Prints `sessions_spawn(...)` text to stdout on crash | No (text output only; execution depends on host runtime) |
474
+
475
+ ### Gene Validation Command Safety
476
+
477
+ `solidify.js` executes commands listed in a Gene's `validation` array. To prevent arbitrary command execution, all validation commands are gated by a safety check (`isValidationCommandAllowed`):
478
+
479
+ 1. **Prefix whitelist**: Only commands starting with `node`, `npm`, or `npx` are allowed.
480
+ 2. **No command substitution**: Backticks and `$(...)` are rejected anywhere in the command string.
481
+ 3. **No shell operators**: After stripping quoted content, `;`, `&`, `|`, `>`, `<` are rejected.
482
+ 4. **Timeout**: Each command is limited to 180 seconds.
483
+ 5. **Scoped execution**: Commands run with `cwd` set to the repository root.
484
+
485
+ ### A2A External Asset Ingestion
486
+
487
+ External Gene/Capsule assets ingested via `scripts/a2a_ingest.js` are staged in an isolated candidate zone. Promotion to local stores (`scripts/a2a_promote.js`) requires:
488
+
489
+ 1. Explicit `--validated` flag (operator must verify the asset first).
490
+ 2. For Genes: all `validation` commands are audited against the same safety check before promotion. Unsafe commands cause the promotion to be rejected.
491
+ 3. Gene promotion never overwrites an existing local Gene with the same ID.
492
+
493
+ ### `sessions_spawn` Output
494
+
495
+ The `sessions_spawn(...)` strings in `index.js` and `evolve.js` are **text output to stdout**, not direct function calls. Whether they are interpreted depends on the host runtime (e.g., OpenClaw platform). The evolver itself does not invoke `sessions_spawn` as executable code.
496
+
497
+ ## Versioning (SemVer)
498
+
499
+ MAJOR.MINOR.PATCH
500
+
501
+ - MAJOR: incompatible changes
502
+ - MINOR: backward-compatible features
503
+ - PATCH: backward-compatible bug fixes
504
+
505
+ ## Changelog
506
+
507
+ See the full release history on [GitHub Releases](https://github.com/EvoMap/evolver/releases).
508
+
509
+ ## FAQ
510
+
511
+ **Does this edit code automatically?**
512
+ No. Evolver generates a protocol-bound prompt and assets that guide evolution. It does not modify your source code directly. See [What Evolver Does (and Does Not Do)](#what-evolver-does-and-does-not-do).
513
+
514
+ **I ran `evolver --loop` but it just keeps printing text. Is it working?**
515
+ Yes. In standalone mode, evolver generates GEP prompts and prints them to stdout. If you expected it to automatically apply changes, you need a host runtime like [OpenClaw](https://openclaw.com) that interprets the output. Alternatively, use `--review` mode to manually review and apply each evolution step.
516
+
517
+ **Do I need to connect to EvoMap Hub?**
518
+ No. All core evolution features work offline. Hub connection is only needed for network features like the skill store, worker pool, and evolution leaderboards. See [Connecting to EvoMap Hub](#connecting-to-evomap-hub).
519
+
520
+ **Do I need to use all GEP assets?**
521
+ No. You can start with default Genes and extend over time.
522
+
523
+ **Is this safe in production?**
524
+ Use review mode and validation steps. Treat it as a safety-focused evolution tool, not a live patcher. See [Security Model](#security-model).
525
+
526
+ **Where should I clone this repo?**
527
+ Clone it into any directory you like. If you use [OpenClaw](https://openclaw.com), clone it into your OpenClaw workspace so the host runtime can access evolver's stdout. For standalone use, any location works.
528
+
529
+ ## Roadmap
530
+
531
+ Directional, not commitments — the live backlog lives in [GitHub Issues](https://github.com/EvoMap/evolver/issues).
532
+
533
+ - **Onboarding**: a one-minute quickstart demo and a comparison table vs. alternative agent-evolution approaches.
534
+ - **Deeper GEP integration**: richer signal extraction and Gene / Capsule selection, plus reuse analytics.
535
+ - **Memory & skills**: faster distillation of session outcomes into reusable Genes and Capsules.
536
+ - **Broader runtime coverage**: more first-class host integrations beyond Cursor / Claude Code / Codex / Kiro / opencode / OpenClaw.
537
+
538
+ ## Star History
539
+
540
+ [![Star History Chart](https://api.star-history.com/svg?repos=EvoMap/evolver&type=Date)](https://star-history.com/#EvoMap/evolver&Date)
541
+
542
+ ## Acknowledgments
543
+
544
+ - [onthebigtree](https://github.com/onthebigtree) -- Inspired the creation of evomap evolution network. Fixed three runtime and logic bugs (PR [#25](https://github.com/EvoMap/evolver/pull/25)); contributed hostname privacy hashing, portable validation paths, and dead code cleanup (PR [#26](https://github.com/EvoMap/evolver/pull/26)).
545
+ - [lichunr](https://github.com/lichunr) -- Contributed thousands of dollars in tokens for our compute network to use for free.
546
+ - [shinjiyu](https://github.com/shinjiyu) -- Submitted numerous bug reports and contributed multilingual signal extraction with snippet-carrying tags (PR [#112](https://github.com/EvoMap/evolver/pull/112)).
547
+ - [voidborne-d](https://github.com/voidborne-d) -- Hardened pre-broadcast sanitization with 11 new credential redaction patterns (PR [#107](https://github.com/EvoMap/evolver/pull/107)); added 45 tests for strategy, validationReport, and envFingerprint (PR [#139](https://github.com/EvoMap/evolver/pull/139)).
548
+ - [blackdogcat](https://github.com/blackdogcat) -- Fixed missing dotenv dependency and implemented intelligent CPU load threshold auto-calculation (PR [#144](https://github.com/EvoMap/evolver/pull/144)).
549
+ - [LKCY33](https://github.com/LKCY33) -- Fixed .env loading path and directory permissions (PR [#21](https://github.com/EvoMap/evolver/pull/21)).
550
+ - [hendrixAIDev](https://github.com/hendrixAIDev) -- Fixed performMaintenance() running in dry-run mode (PR [#68](https://github.com/EvoMap/evolver/pull/68)).
551
+ - [toller892](https://github.com/toller892) -- Independently identified and reported the events.jsonl forbidden_paths bug (PR [#149](https://github.com/EvoMap/evolver/pull/149)).
552
+ - [WeZZard](https://github.com/WeZZard) -- Added A2A_NODE_ID setup guide to SKILL.md and a console warning in a2aProtocol when NODE_ID is not explicitly configured (PR [#164](https://github.com/EvoMap/evolver/pull/164)).
553
+ - [Golden-Koi](https://github.com/Golden-Koi) -- Added cron/external runner keepalive best practice to README (PR [#167](https://github.com/EvoMap/evolver/pull/167)).
554
+ - [upbit](https://github.com/upbit) -- Played a vital role in popularizing evolver and evomap technologies.
555
+ - [Chi Jianqiang](https://mowen.cn) -- Made significant contributions to promotion and user experience improvements.
556
+
557
+ ## License
558
+
559
+ [GPL-3.0-or-later](https://opensource.org/licenses/GPL-3.0)
560
+
561
+ > Core evolution engine modules are distributed in obfuscated form to protect intellectual property. Source: [EvoMap/evolver](https://github.com/EvoMap/evolver).
562
+
563
+ ## Download History
119
564
 
120
- `public.manifest.json` controls what goes into `dist-public/`:
565
+ Evolver ships through three channels — the [npm package](https://www.npmjs.com/package/@evomap/evolver), prebuilt binaries on [GitHub Releases](https://github.com/EvoMap/evolver/releases), and the [ClawHub](https://skill-history.com/autogame-17/evolver) skill registry:
121
566
 
122
- - **include**: files to copy (supports globs)
123
- - **exclude**: files to prune after copy
124
- - **rewrite**: string replacements in specific files
125
- - **rename**: file renames (e.g. `README.public.md` -> `README.md`)
567
+ [![npm](https://img.shields.io/npm/dm/@evomap/evolver?logo=npm&label=npm)](https://www.npmjs.com/package/@evomap/evolver)
568
+ [![npm total](https://img.shields.io/npm/d18m/@evomap/evolver?logo=npm&label=npm%20total)](https://npm-stat.com/charts.html?package=@evomap/evolver)
569
+ [![GitHub releases](https://img.shields.io/github/downloads/EvoMap/evolver/total?logo=github&label=GitHub%20releases)](https://github.com/EvoMap/evolver/releases)
126
570
 
127
- Files in `docs/`, `memory/`, and `dist-public/` are never included in public builds.
571
+ [![ClawHub download history](https://skill-history.com/chart/autogame-17/evolver.svg)](https://skill-history.com/autogame-17/evolver)