@evomap/evolver 1.89.4 → 1.89.5

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 (105) hide show
  1. package/CONTRIBUTING.md +19 -0
  2. package/README.md +536 -86
  3. package/assets/cover.png +0 -0
  4. package/index.js +87 -7
  5. package/package.json +17 -6
  6. package/scripts/a2a_export.js +63 -0
  7. package/scripts/a2a_ingest.js +79 -0
  8. package/scripts/a2a_promote.js +118 -0
  9. package/scripts/analyze_by_skill.js +121 -0
  10. package/scripts/build_binaries.js +479 -0
  11. package/scripts/check-changelog.js +166 -0
  12. package/scripts/extract_log.js +85 -0
  13. package/scripts/generate_history.js +75 -0
  14. package/scripts/gep_append_event.js +96 -0
  15. package/scripts/gep_personality_report.js +234 -0
  16. package/scripts/human_report.js +147 -0
  17. package/scripts/recall-verify-report.js +234 -0
  18. package/scripts/recover_loop.js +61 -0
  19. package/scripts/refresh_stars_badge.js +168 -0
  20. package/scripts/seed-merchants.js +91 -0
  21. package/scripts/suggest_version.js +89 -0
  22. package/scripts/validate-modules.js +38 -0
  23. package/scripts/validate-suite.js +78 -0
  24. package/skills/index.json +14 -0
  25. package/src/adapters/scripts/_runtimePaths.js +1 -0
  26. package/src/adapters/scripts/evolver-session-end.js +1 -0
  27. package/src/adapters/scripts/evolver-session-start.js +1 -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 -440
  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/gep/a2aProtocol.js +1 -4455
  38. package/src/gep/antiAbuseTelemetry.js +1 -233
  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/idleScheduler.js +6 -1
  58. package/src/gep/learningSignals.js +1 -89
  59. package/src/gep/memoryGraph.js +1 -1374
  60. package/src/gep/memoryGraphAdapter.js +1 -203
  61. package/src/gep/mutation.js +1 -203
  62. package/src/gep/narrativeMemory.js +1 -108
  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/solidify.js +1 -1699
  73. package/src/gep/strategy.js +1 -136
  74. package/src/gep/tokenSavings.js +1 -88
  75. package/src/gep/workspaceKeychain.js +1 -174
  76. package/src/ops/lifecycle.js +17 -4
  77. package/src/proxy/extensions/traceControl.js +1 -99
  78. package/src/proxy/index.js +206 -1
  79. package/src/proxy/inject.js +1 -52
  80. package/src/proxy/lifecycle/manager.js +12 -0
  81. package/src/proxy/mailbox/store.js +29 -6
  82. package/src/proxy/router/responses_route.js +157 -0
  83. package/src/proxy/server/http.js +13 -4
  84. package/src/proxy/server/routes.js +11 -1
  85. package/src/proxy/sync/engine.js +7 -1
  86. package/src/proxy/sync/outbound.js +32 -4
  87. package/src/proxy/trace/extractor.js +1 -646
  88. package/src/proxy/trace/usage.js +1 -105
  89. package/.cursor/BUGBOT.md +0 -182
  90. package/.env.example +0 -68
  91. package/.git-commit-guard-token +0 -1
  92. package/.github/CODEOWNERS +0 -63
  93. package/.github/ISSUE_TEMPLATE/good_first_issue.md +0 -23
  94. package/.github/pull_request_template.md +0 -45
  95. package/.github/workflows/test.yml +0 -75
  96. package/CHANGELOG.md +0 -1237
  97. package/README.public.md +0 -569
  98. package/SECURITY.md +0 -108
  99. package/assets/gep/events.jsonl +0 -3
  100. package/examples/atp-consumer-quickstart.md +0 -100
  101. package/examples/hello-world.md +0 -38
  102. package/proxy-package.json +0 -39
  103. package/public.manifest.json +0 -143
  104. /package/assets/gep/{genes.json → genes.seed.json} +0 -0
  105. /package/{bundled-skills → skills}/_meta/SKILL.md +0 -0
package/README.md CHANGED
@@ -1,127 +1,577 @@
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/badge/Stars-8.5k-2b3137?logo=github&logoColor=white)](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
+ [![npm downloads](https://img.shields.io/npm/dm/@evomap/evolver.svg)](https://www.npmjs.com/package/@evomap/evolver)
7
+ [![arXiv](https://img.shields.io/badge/arXiv-2604.15097-b31b1b.svg)](https://arxiv.org/abs/2604.15097)
5
8
 
6
- Current version: see `package.json`.
9
+ ![Evolver Cover](assets/cover.png)
7
10
 
8
- ## Repository Layout
11
+ **[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
12
 
13
+ ---
14
+
15
+ > **Notice — Moving Toward Source-Available**
16
+ >
17
+ > 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).
18
+ >
19
+ > 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.
20
+ >
21
+ > Questions or concerns: open an issue or reach us at [evomap.ai](https://evomap.ai).
22
+
23
+ ---
24
+
25
+ > **Research — The theory behind Evolver**
26
+ >
27
+ > **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)
28
+ >
29
+ > 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%.
30
+ >
31
+ > 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.
32
+ >
33
+ > 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.
34
+
35
+ ---
36
+
37
+ > **"Evolution is not optional. Adapt or die."**
38
+
39
+ **Three lines**
40
+ - **What it is**: A [GEP](https://evomap.ai/wiki)-powered self-evolution engine for AI agents.
41
+ - **Pain it solves**: Turns ad hoc prompt tweaks into auditable, reusable evolution assets.
42
+ - **Use in 30 seconds**: `npm install -g @evomap/evolver`, then run `evolver` in any git repo.
43
+
44
+ ## EvoMap -- The Evolution Network
45
+
46
+ 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.
47
+
48
+ Keywords: protocol-constrained evolution, audit trail, genes and capsules, prompt governance.
49
+
50
+ ## Choose Your Path
51
+
52
+ Evolver has one install but two usage shapes. Pick the one that matches how you plan to use it, then follow only that section.
53
+
54
+ | Path | Who it's for | Command after install | Guide |
55
+ |---|---|---|---|
56
+ | **CLI Quick Start** | You just want to use Evolver to evolve an agent / project. 99% of readers. | `evolver` | [below](#cli-quick-start) |
57
+ | **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) |
58
+
59
+ > **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.
60
+
61
+ ## Prerequisites
62
+
63
+ - **[Node.js](https://nodejs.org/)** >= 18
64
+ - **[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.
65
+
66
+ ## CLI Quick Start
67
+
68
+ This is the recommended path for almost everyone.
69
+
70
+ ### 1. Install
71
+
72
+ ```bash
73
+ npm install -g @evomap/evolver
10
74
  ```
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)
75
+
76
+ Verify the CLI is on your PATH:
77
+
78
+ ```bash
79
+ evolver --help
80
+ ```
81
+
82
+ If you hit `EACCES` on Linux/macOS, configure a user-level prefix instead of using `sudo`:
83
+
84
+ ```bash
85
+ npm config set prefix ~/.npm-global
86
+ echo 'export PATH="$HOME/.npm-global/bin:$PATH"' >> ~/.bashrc
87
+ source ~/.bashrc
25
88
  ```
26
89
 
27
- ## Release Workflow
90
+ ### 2. Run it
28
91
 
29
- ### Evolver Release
92
+ From inside any **git-initialized** project directory:
30
93
 
31
94
  ```bash
32
- # 1. Version bump
33
- # Edit package.json version, commit:
34
- git commit -am "chore(release): prepare vX.Y.Z"
95
+ # Single evolution run -- scans logs, selects a Gene, outputs a GEP prompt
96
+ evolver
35
97
 
36
- # 2. Build public output
37
- node scripts/build_public.js
98
+ # Review mode -- pause before applying, wait for human confirmation
99
+ evolver --review
38
100
 
39
- # 3. Publish (GitHub Release + npm)
40
- PUBLIC_REPO="EvoMap/evolver" node scripts/publish_public.js
41
- cd dist-public && npm publish --access public
101
+ # Continuous loop -- runs as a background daemon
102
+ evolver --loop
42
103
  ```
43
104
 
44
- Both channels (GitHub Release, npm) must succeed.
105
+ A "successful first run" looks like:
106
+
107
+ 1. Evolver prints a banner with the detected strategy preset (e.g. `balanced`).
108
+ 2. It scans `./memory/` (creates it if missing) for logs and signals.
109
+ 3. It selects a matching Gene / Capsule from its built-in asset pool.
110
+ 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.
111
+ 5. It writes an `EvolutionEvent` into `./memory/` for audit.
112
+
113
+ If step 4 didn't appear, you're not running inside a git repo -- `cd` into one and retry. Everything else runs fully offline.
114
+
115
+ ### 3. Connect to the EvoMap network (optional)
116
+
117
+ Evolver works fully offline. Hub connection only unlocks network features (skill sharing, worker pool, evolution leaderboards).
45
118
 
46
- | Channel | Target |
47
- |---------|--------|
48
- | GitHub Release | `EvoMap/evolver` |
49
- | npm | `@evomap/evolver` |
119
+ 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):
50
120
 
51
- ### Public README
121
+ ```bash
122
+ # Register at https://evomap.ai to get your Node ID
123
+ A2A_HUB_URL=https://evomap.ai
124
+ A2A_NODE_ID=your_node_id_here
125
+ ```
52
126
 
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.
127
+ Evolver reads `.env` from `process.cwd()` on each run. If you run `evolver` from multiple projects, each project can have its own `.env`.
54
128
 
55
- ## Environment Variables
129
+ ### 4. Wire up your agent runtime (optional)
56
130
 
57
- ### Proxy
131
+ Evolver integrates with major agent runtimes through `setup-hooks`. Run it once per platform you want to wire up.
58
132
 
59
- | Variable | Default | Effect |
133
+ | Platform | Command | What it writes |
60
134
  |---|---|---|
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>`. |
135
+ | [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`. |
136
+ | [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. |
137
+ | [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. |
138
+ | [Kiro](https://kiro.dev) | `evolver setup-hooks --platform=kiro` | Three `*.kiro.hook` files + scripts in `~/.kiro/hooks/`. Auto-discovered, no restart needed. |
139
+ | [opencode](https://opencode.ai) | `evolver setup-hooks --platform=opencode` | Plugin at `~/.opencode/plugins/evolver.js` + scripts in `~/.opencode/hooks/`. Restart opencode. |
140
+ | [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. |
141
+
142
+ #### Codex caveats
143
+
144
+ The Codex CLI exposes `SessionStart` / `Stop` / `PostToolUse` hooks (which is
145
+ how `setup-hooks --platform=codex` wires Evolver in), but it does **not**
146
+ emit a session transcript file the way Cursor / Claude Code / opencode do.
147
+ That means `evolver --review` cannot read raw session logs on Codex.
148
+
149
+ `setup-hooks --platform=codex` is lifecycle integration only; it does not route
150
+ Codex model requests through Evolver Proxy. To route Codex model traffic, run
151
+ Evolver Proxy and configure Codex with a user-level OpenAI Responses-compatible
152
+ custom provider whose `base_url` points at the proxy's `/v1` endpoint and whose
153
+ command-backed auth runs `evolver proxy-token` or the absolute `node index.js
154
+ proxy-token --settings ...` helper emitted by `scripts/internal-proxy-env.sh
155
+ --codex-config` from a source checkout.
156
+
157
+ Evolver compensates by reading, in order:
158
+
159
+ 1. `MEMORY.md` / `USER.md` in the workspace root (if you maintain them);
160
+ 2. the `<!-- evolver-evolution-memory -->` section that
161
+ `setup-hooks --platform=codex` injects into your project's
162
+ `AGENTS.md`;
163
+ 3. the tail of the local `memory_graph.jsonl` (the per-cycle outcome log
164
+ that Evolver writes itself).
165
+
166
+ If none of those have content yet, you'll see `memory_missing` /
167
+ `user_missing` / `session_logs_missing` show up as advisory signals
168
+ during the first few cycles. They will go quiet on their own as
169
+ `memory_graph.jsonl` accumulates outcomes — no manual setup required.
170
+
171
+ ## Run from Source (Contributors Only)
172
+
173
+ Skip this section entirely if you installed via `npm install -g @evomap/evolver` above. This path exists so contributors can hack on the engine.
70
174
 
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.
175
+ ```bash
176
+ git clone https://github.com/EvoMap/evolver.git
177
+ cd evolver
178
+ npm install
179
+
180
+ # Then use node index.js wherever the CLI docs say evolver
181
+ node index.js # equivalent to: evolver
182
+ node index.js --review # equivalent to: evolver --review
183
+ node index.js --loop # equivalent to: evolver --loop
184
+ ```
72
185
 
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.
186
+ Every `evolver <flag>` invocation in the rest of this README maps 1:1 to `node index.js <flag>` when running from source.
74
187
 
75
- ### Proxy mode (token mediation)
188
+ ## What Evolver Does (and Does Not Do)
76
189
 
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:
190
+ **Evolver is a prompt generator, not a code patcher.** Each evolution cycle:
78
191
 
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>`
192
+ 1. Scans your `memory/` directory for runtime logs, error patterns, and signals.
193
+ 2. Selects the best-matching [Gene or Capsule](https://evomap.ai/wiki) from the local GEP asset store.
194
+ 3. Emits a strict, protocol-bound GEP prompt that guides the next evolution step.
195
+ 4. Records an auditable [EvolutionEvent](https://evomap.ai/wiki) for traceability.
83
196
 
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.
197
+ **It does NOT**:
198
+ - Automatically edit your source code.
199
+ - Execute arbitrary shell commands (see [Security Model](#security-model)).
200
+ - Require an internet connection for core functionality.
85
201
 
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.
202
+ ### How It Integrates with Host Runtimes
87
203
 
88
- ### Workspace identity
204
+ 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.
89
205
 
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. |
206
+ | Mode | Behavior |
207
+ | :--- | :--- |
208
+ | Standalone (`evolver`) | Generates prompt, prints to stdout, exits |
209
+ | Loop (`evolver --loop`) | Repeats the above in a daemon loop with adaptive sleep |
210
+ | Inside OpenClaw | Host runtime interprets stdout directives like `sessions_spawn(...)` |
211
+
212
+ > **`--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".
213
+
214
+ ## Who This Is For / Not For
215
+
216
+ **For**
217
+ - Teams maintaining agent prompts and logs at scale
218
+ - Users who need auditable evolution traces ([Genes](https://evomap.ai/wiki), [Capsules](https://evomap.ai/wiki), [Events](https://evomap.ai/wiki))
219
+ - Environments requiring deterministic, protocol-bound changes
220
+
221
+ **Not For**
222
+ - One-off scripts without logs or history
223
+ - Projects that require free-form creative changes
224
+ - Systems that cannot tolerate protocol overhead
225
+
226
+ ## Features
227
+
228
+ - **Auto-Log Analysis**: scans memory and history files for errors and patterns.
229
+ - **Self-Repair Guidance**: emits repair-focused directives from signals.
230
+ - **[GEP Protocol](https://evomap.ai/wiki)**: standardized evolution with reusable assets.
231
+ - **Mutation + Personality Evolution**: each evolution run is gated by an explicit Mutation object and an evolvable PersonalityState.
232
+ - **Configurable Strategy Presets**: `EVOLVE_STRATEGY=balanced|innovate|harden|repair-only` controls intent balance.
233
+ - **Signal De-duplication**: prevents repair loops by detecting stagnation patterns.
234
+ - **Operations Module** (`src/ops/`): portable lifecycle, skill monitoring, cleanup, self-repair, wake triggers -- zero platform dependency.
235
+ - **Protected Source Files**: prevents autonomous agents from overwriting core evolver code.
236
+ - **[Skill Store](https://evomap.ai)**: download and share reusable skills via `evolver fetch --skill <id>`.
237
+
238
+ ## Typical Use Cases
239
+
240
+ - Harden a flaky agent loop by enforcing validation before edits
241
+ - Encode recurring fixes as reusable [Genes and Capsules](https://evomap.ai/wiki)
242
+ - Produce auditable evolution events for review or compliance
243
+
244
+ ## Anti-Examples
245
+
246
+ - Rewriting entire subsystems without signals or constraints
247
+ - Using the protocol as a generic task runner
248
+ - Producing changes without recording EvolutionEvent
249
+
250
+ ## Usage
251
+
252
+ 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.
253
+
254
+ ### Standard Run (Automated)
255
+ ```bash
256
+ evolver
257
+ ```
258
+
259
+ ### Review Mode (Human-in-the-Loop)
260
+ ```bash
261
+ evolver --review
262
+ ```
263
+
264
+ ### Continuous Loop
265
+ ```bash
266
+ evolver --loop
267
+ ```
268
+
269
+ ### With Strategy Preset
270
+ ```bash
271
+ EVOLVE_STRATEGY=innovate evolver --loop # maximize new features
272
+ EVOLVE_STRATEGY=harden evolver --loop # focus on stability
273
+ EVOLVE_STRATEGY=repair-only evolver --loop # emergency fix mode
274
+ ```
275
+
276
+ | Strategy | Innovate | Optimize | Repair | When to Use |
277
+ | :--- | :--- | :--- | :--- | :--- |
278
+ | `balanced` (default) | 50% | 30% | 20% | Daily operation, steady growth |
279
+ | `innovate` | 80% | 15% | 5% | System stable, ship new features fast |
280
+ | `harden` | 20% | 40% | 40% | After major changes, focus on stability |
281
+ | `repair-only` | 0% | 20% | 80% | Emergency state, all-out repair |
282
+
283
+ ### Operations (Lifecycle Management)
284
+ ```bash
285
+ node src/ops/lifecycle.js start # start evolver loop in background
286
+ node src/ops/lifecycle.js stop # graceful stop (SIGTERM -> SIGKILL)
287
+ node src/ops/lifecycle.js status # show running state
288
+ node src/ops/lifecycle.js check # health check + auto-restart if stagnant
289
+ ```
290
+
291
+ ### Skill Store
292
+ ```bash
293
+ # Download a skill from the EvoMap network
294
+ evolver fetch --skill <skill_id>
295
+
296
+ # Specify output directory
297
+ evolver fetch --skill <skill_id> --out=./my-skills/
298
+ ```
299
+
300
+ Requires `A2A_HUB_URL` to be configured. Browse available skills at [evomap.ai](https://evomap.ai).
301
+
302
+ ### Cron / External Runner Keepalive
303
+ If you run a periodic keepalive/tick from a cron/agent runner, prefer a single simple command with minimal quoting.
304
+
305
+ Recommended:
306
+
307
+ ```bash
308
+ bash -lc 'evolver --loop'
309
+ ```
310
+
311
+ 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.
312
+
313
+ For process managers like pm2, the same principle applies -- wrap the command simply:
314
+
315
+ ```bash
316
+ pm2 start "bash -lc 'evolver --loop'" --name evolver --cron-restart="0 */6 * * *"
317
+ ```
318
+
319
+ ## Connecting to EvoMap Hub
320
+
321
+ Evolver can optionally connect to the [EvoMap Hub](https://evomap.ai) for network features. This is **not required** for core evolution functionality.
94
322
 
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.
323
+ ### Setup
104
324
 
105
- ## Development
325
+ 1. Register at [evomap.ai](https://evomap.ai) and get your Node ID.
326
+ 2. Add the following to your `.env` file:
106
327
 
107
328
  ```bash
108
- # Run tests
109
- npx vitest run
329
+ A2A_HUB_URL=https://evomap.ai
330
+ A2A_NODE_ID=your_node_id_here
331
+ ```
332
+
333
+ ### What Hub Connection Enables
334
+
335
+ | Feature | Description |
336
+ | :--- | :--- |
337
+ | **Heartbeat** | Periodic check-in with the Hub; reports node status and receives available work |
338
+ | **Skill Store** | Download and publish reusable skills (`evolver fetch`) |
339
+ | **Worker Pool** | Accept and execute evolution tasks from the network (see [Worker Pool](#worker-pool-evomap-network)) |
340
+ | **Evolution Circle** | Collaborative evolution groups with shared context |
341
+ | **Asset Publishing** | Share your Genes and Capsules with the network |
342
+
343
+ ### How It Works
344
+
345
+ When `evolver --loop` is running with Hub configured:
346
+
347
+ 1. On startup, evolver sends a `hello` message to register with the Hub.
348
+ 2. A heartbeat is sent every 6 minutes (configurable via `HEARTBEAT_INTERVAL_MS`).
349
+ 3. The Hub responds with available work, overdue task alerts, and skill store hints.
350
+ 4. If `WORKER_ENABLED=1`, the node advertises its capabilities and picks up tasks.
110
351
 
111
- # Single evolution run (sanity check)
112
- node index.js
352
+ Without Hub configuration, evolver runs fully offline -- all core evolution features work locally.
113
353
 
114
- # Continuous loop
115
- node index.js --loop
354
+ ## Worker Pool (EvoMap Network)
355
+
356
+ 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.
357
+
358
+ | Variable | Default | Description |
359
+ |----------|---------|-------------|
360
+ | `WORKER_ENABLED` | _(unset)_ | Set to `1` to enable worker pool mode |
361
+ | `WORKER_DOMAINS` | _(empty)_ | Comma-separated list of task domains this worker accepts (e.g. `repair,harden`) |
362
+ | `WORKER_MAX_LOAD` | `5` | Advertised maximum concurrent task capacity for hub-side scheduling (not a locally enforced concurrency limit) |
363
+
364
+ ```bash
365
+ WORKER_ENABLED=1 WORKER_DOMAINS=repair,harden WORKER_MAX_LOAD=3 evolver --loop
116
366
  ```
117
367
 
118
- ## Build Pipeline
368
+ ### WORKER_ENABLED vs. the Website Toggle
369
+
370
+ The [evomap.ai](https://evomap.ai) dashboard has a "Worker" toggle on the node detail page. Here is how the two relate:
371
+
372
+ | Control | Scope | What It Does |
373
+ | :--- | :--- | :--- |
374
+ | `WORKER_ENABLED=1` (env var) | **Local** | Tells your local evolver daemon to include worker metadata in heartbeats and accept tasks |
375
+ | Website toggle | **Hub-side** | Tells the Hub whether to dispatch tasks to this node |
376
+
377
+ **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:
378
+
379
+ 1. Set `WORKER_ENABLED=1` in your `.env` and start `evolver --loop`.
380
+ 2. Go to [evomap.ai](https://evomap.ai), find your node, and turn on the Worker toggle.
381
+
382
+ ## GEP Protocol (Auditable Evolution)
383
+
384
+ This repo includes a protocol-constrained prompt mode based on [GEP (Genome Evolution Protocol)](https://evomap.ai/wiki).
385
+
386
+ - **Structured runtime assets** live in `<workspace>/.evolver/gep/` by default:
387
+ - `<workspace>/.evolver/gep/genes.json`
388
+ - `<workspace>/.evolver/gep/capsules.json`
389
+ - `<workspace>/.evolver/gep/events.jsonl`
390
+ - Set `GEP_ASSETS_DIR` to place the runtime asset store elsewhere.
391
+ - **Selector** logic uses extracted signals to prefer existing Genes/Capsules and emits a JSON selector decision in the prompt.
392
+ - **Constraints**: Only the DNA emoji is allowed in documentation; all other emoji are disallowed.
393
+
394
+ ### Your local asset store is never overwritten by upgrades
395
+
396
+ `<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.
397
+
398
+ 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:
399
+
400
+ ```bash
401
+ A2A_HUB_URL=https://evomap.ai evolver sync --scope=all --export=backup.gepx
402
+ ```
403
+
404
+ 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.
405
+
406
+ 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.
407
+
408
+ ## Configuration & Decoupling
409
+
410
+ Evolver is designed to be **environment-agnostic**.
411
+
412
+ ### Core Environment Variables
413
+
414
+ | Variable | Description | Default |
415
+ | :--- | :--- | :--- |
416
+ | `EVOLVE_STRATEGY` | Evolution strategy preset (`balanced` / `innovate` / `harden` / `repair-only`) | `balanced` |
417
+ | `A2A_HUB_URL` | [EvoMap Hub](https://evomap.ai) URL | _(unset, offline mode)_ |
418
+ | `A2A_NODE_ID` | Your node identity on the network | _(auto-generated from device fingerprint)_ |
419
+ | `HEARTBEAT_INTERVAL_MS` | Hub heartbeat interval | `360000` (6 min) |
420
+ | `MEMORY_DIR` | Memory files path | `./memory` |
421
+ | `EVOLVE_REPORT_TOOL` | Tool name for reporting results | `message` |
422
+
423
+ ### Local Overrides (Injection)
424
+ You can inject local preferences (e.g., using `feishu-card` instead of `message` for reports) without modifying the core code.
425
+
426
+ **Method 1: Environment Variables**
427
+ Set `EVOLVE_REPORT_TOOL` in your `.env` file:
428
+ ```bash
429
+ EVOLVE_REPORT_TOOL=feishu-card
430
+ ```
431
+
432
+ **Method 2: Dynamic Detection**
433
+ The script automatically detects if compatible local skills (like `skills/feishu-card`) exist in your workspace and upgrades its behavior accordingly.
434
+
435
+ ### Validator Role (default ON)
436
+
437
+ 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.
438
+
439
+ | Variable | Default | Description |
440
+ |----------|---------|-------------|
441
+ | `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. |
442
+ | `EVOLVER_VALIDATOR_DAEMON_INTERVAL_MS` | `60000` | Interval between validator polls when running in `--loop` / `--mad-dog` mode. |
443
+ | `EVOLVER_VALIDATOR_MAX_TASKS_PER_CYCLE` | `2` | Max tasks claimed per poll. |
444
+ | `EVOLVER_VALIDATOR_FETCH_TIMEOUT_MS` | `8000` | Timeout for the per-poll task fetch. |
445
+
446
+ 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.
447
+
448
+ To opt out permanently:
449
+
450
+ ```bash
451
+ EVOLVER_VALIDATOR_ENABLED=0 evolver --loop
452
+ ```
453
+
454
+ ### Auto GitHub Issue Reporting
455
+
456
+ 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.
457
+
458
+ | Variable | Default | Description |
459
+ |----------|---------|-------------|
460
+ | `EVOLVER_AUTO_ISSUE` | `true` | Enable/disable auto issue reporting |
461
+ | `EVOLVER_ISSUE_REPO` | `EvoMap/evolver` | Target GitHub repository (owner/repo) |
462
+ | `EVOLVER_ISSUE_COOLDOWN_MS` | `86400000` (24h) | Cooldown period for the same error signature |
463
+ | `EVOLVER_ISSUE_MIN_STREAK` | `5` | Minimum consecutive failure streak to trigger |
464
+
465
+ Requires `GITHUB_TOKEN` (or `GH_TOKEN` / `GITHUB_PAT`) with `repo` scope. When no token is available, the feature is silently skipped.
466
+
467
+ ## Security Model
468
+
469
+ This section describes the execution boundaries and trust model of the Evolver.
470
+
471
+ ### What Executes and What Does Not
472
+
473
+ | Component | Behavior | Executes Shell Commands? |
474
+ | :--- | :--- | :--- |
475
+ | `src/evolve.js` | Reads logs, selects genes, builds prompts, writes artifacts | Read-only git/process queries only |
476
+ | `src/gep/prompt.js` | Assembles the GEP protocol prompt string | No (pure text generation) |
477
+ | `src/gep/selector.js` | Scores and selects Genes/Capsules by signal matching | No (pure logic) |
478
+ | `src/gep/solidify.js` | Validates patches via Gene `validation` commands | Yes (see below) |
479
+ | `index.js` (loop recovery) | Prints `sessions_spawn(...)` text to stdout on crash | No (text output only; execution depends on host runtime) |
480
+
481
+ ### Gene Validation Command Safety
482
+
483
+ `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`):
484
+
485
+ 1. **Prefix whitelist**: Only commands starting with `node`, `npm`, or `npx` are allowed.
486
+ 2. **No command substitution**: Backticks and `$(...)` are rejected anywhere in the command string.
487
+ 3. **No shell operators**: After stripping quoted content, `;`, `&`, `|`, `>`, `<` are rejected.
488
+ 4. **Timeout**: Each command is limited to 180 seconds.
489
+ 5. **Scoped execution**: Commands run with `cwd` set to the repository root.
490
+
491
+ ### A2A External Asset Ingestion
492
+
493
+ 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:
494
+
495
+ 1. Explicit `--validated` flag (operator must verify the asset first).
496
+ 2. For Genes: all `validation` commands are audited against the same safety check before promotion. Unsafe commands cause the promotion to be rejected.
497
+ 3. Gene promotion never overwrites an existing local Gene with the same ID.
498
+
499
+ ### `sessions_spawn` Output
500
+
501
+ 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.
502
+
503
+ ## Versioning (SemVer)
504
+
505
+ MAJOR.MINOR.PATCH
506
+
507
+ - MAJOR: incompatible changes
508
+ - MINOR: backward-compatible features
509
+ - PATCH: backward-compatible bug fixes
510
+
511
+ ## Changelog
512
+
513
+ See the full release history on [GitHub Releases](https://github.com/EvoMap/evolver/releases).
514
+
515
+ ## FAQ
516
+
517
+ **Does this edit code automatically?**
518
+ 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).
519
+
520
+ **I ran `evolver --loop` but it just keeps printing text. Is it working?**
521
+ 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.
522
+
523
+ **Do I need to connect to EvoMap Hub?**
524
+ 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).
525
+
526
+ **Do I need to use all GEP assets?**
527
+ No. You can start with default Genes and extend over time.
528
+
529
+ **Is this safe in production?**
530
+ Use review mode and validation steps. Treat it as a safety-focused evolution tool, not a live patcher. See [Security Model](#security-model).
531
+
532
+ **Where should I clone this repo?**
533
+ 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.
534
+
535
+ ## Roadmap
536
+
537
+ Directional, not commitments — the live backlog lives in [GitHub Issues](https://github.com/EvoMap/evolver/issues).
538
+
539
+ - **Onboarding**: a one-minute quickstart demo and a comparison table vs. alternative agent-evolution approaches.
540
+ - **Deeper GEP integration**: richer signal extraction and Gene / Capsule selection, plus reuse analytics.
541
+ - **Memory & skills**: faster distillation of session outcomes into reusable Genes and Capsules.
542
+ - **Broader runtime coverage**: more first-class host integrations beyond Cursor / Claude Code / Codex / Kiro / opencode / OpenClaw.
543
+
544
+ ## Star History
545
+
546
+ [![Star History Chart](https://api.star-history.com/svg?repos=EvoMap/evolver&type=Date)](https://star-history.com/#EvoMap/evolver&Date)
547
+
548
+ ## Acknowledgments
549
+
550
+ - [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)).
551
+ - [lichunr](https://github.com/lichunr) -- Contributed thousands of dollars in tokens for our compute network to use for free.
552
+ - [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)).
553
+ - [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)).
554
+ - [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)).
555
+ - [LKCY33](https://github.com/LKCY33) -- Fixed .env loading path and directory permissions (PR [#21](https://github.com/EvoMap/evolver/pull/21)).
556
+ - [hendrixAIDev](https://github.com/hendrixAIDev) -- Fixed performMaintenance() running in dry-run mode (PR [#68](https://github.com/EvoMap/evolver/pull/68)).
557
+ - [toller892](https://github.com/toller892) -- Independently identified and reported the events.jsonl forbidden_paths bug (PR [#149](https://github.com/EvoMap/evolver/pull/149)).
558
+ - [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)).
559
+ - [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)).
560
+ - [upbit](https://github.com/upbit) -- Played a vital role in popularizing evolver and evomap technologies.
561
+ - [Chi Jianqiang](https://mowen.cn) -- Made significant contributions to promotion and user experience improvements.
562
+
563
+ ## License
564
+
565
+ [GPL-3.0-or-later](https://opensource.org/licenses/GPL-3.0)
566
+
567
+ > Core evolution engine modules are distributed in obfuscated form to protect intellectual property. Source: [EvoMap/evolver](https://github.com/EvoMap/evolver).
568
+
569
+ ## Download History
119
570
 
120
- `public.manifest.json` controls what goes into `dist-public/`:
571
+ 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
572
 
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`)
573
+ [![npm](https://img.shields.io/npm/dm/@evomap/evolver?logo=npm&label=npm)](https://www.npmjs.com/package/@evomap/evolver)
574
+ [![npm total](https://img.shields.io/npm/d18m/@evomap/evolver?logo=npm&label=npm%20total)](https://npm-stat.com/charts.html?package=@evomap/evolver)
575
+ [![GitHub releases](https://img.shields.io/github/downloads/EvoMap/evolver/total?logo=github&label=GitHub%20releases)](https://github.com/EvoMap/evolver/releases)
126
576
 
127
- Files in `docs/`, `memory/`, and `dist-public/` are never included in public builds.
577
+ [![ClawHub download history](https://skill-history.com/chart/autogame-17/evolver.svg)](https://skill-history.com/autogame-17/evolver)