@evomap/evolver 1.90.0 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -564
- package/bin/evolver-llm-proxy.js +3 -0
- package/bin/evolver-mcp.js +2 -0
- package/bin/evolver-proxy.js +3 -0
- package/bin/evolver.js +4 -0
- package/index.js +1 -3670
- package/package.json +32 -62
- package/CONTRIBUTING.md +0 -19
- package/LICENSE +0 -641
- package/README.ja-JP.md +0 -521
- package/README.ko-KR.md +0 -520
- package/README.zh-CN.md +0 -531
- package/SKILL.md +0 -365
- package/assets/cover.png +0 -0
- package/assets/gep/genes.seed.json +0 -496
- package/conformance/savings-core/constants.json +0 -30
- package/conformance/savings-core/golden-vectors.json +0 -333
- package/scripts/a2a_export.js +0 -63
- package/scripts/a2a_ingest.js +0 -79
- package/scripts/a2a_promote.js +0 -118
- package/scripts/analyze_by_skill.js +0 -121
- package/scripts/build_binaries.js +0 -479
- package/scripts/check-changelog.js +0 -166
- package/scripts/extract_log.js +0 -85
- package/scripts/generate_history.js +0 -75
- package/scripts/gep_append_event.js +0 -96
- package/scripts/gep_personality_report.js +0 -234
- package/scripts/human_report.js +0 -147
- package/scripts/recall-verify-report.js +0 -234
- package/scripts/recover_loop.js +0 -61
- package/scripts/refresh_stars_badge.js +0 -168
- package/scripts/seed-merchants.js +0 -91
- package/scripts/skill2recipes.js +0 -118
- package/scripts/suggest_version.js +0 -89
- package/scripts/validate-modules.js +0 -38
- package/scripts/validate-suite.js +0 -78
- package/src/adapters/claudeCode.js +0 -194
- package/src/adapters/codex.js +0 -216
- package/src/adapters/cursor.js +0 -91
- package/src/adapters/hookAdapter.js +0 -469
- package/src/adapters/kiro.js +0 -195
- package/src/adapters/opencode.js +0 -326
- package/src/adapters/scripts/_lockPaths.js +0 -74
- package/src/adapters/scripts/_memoryFiltering.js +0 -35
- package/src/adapters/scripts/_runtimePaths.js +0 -440
- package/src/adapters/scripts/evolver-session-end.js +0 -321
- package/src/adapters/scripts/evolver-session-start.js +0 -587
- package/src/adapters/scripts/evolver-signal-detect.js +0 -98
- package/src/adapters/scripts/evolver-task-recall.js +0 -173
- package/src/atp/atpExecute.js +0 -283
- package/src/atp/atpTaskPickup.js +0 -233
- package/src/atp/autoBuyer.js +0 -382
- package/src/atp/autoDeliver.js +0 -215
- package/src/atp/cli.js +0 -354
- package/src/atp/cliAutobuyPrompt.js +0 -154
- package/src/atp/consumerAgent.js +0 -157
- package/src/atp/defaultHandler.js +0 -69
- package/src/atp/heartbeatSignalsHandler.js +0 -254
- package/src/atp/hubClient.js +0 -317
- package/src/atp/index.js +0 -38
- package/src/atp/merchantAgent.js +0 -118
- package/src/atp/protocol.js +0 -41
- package/src/atp/questionComposer.js +0 -133
- package/src/atp/serviceHelper.js +0 -92
- package/src/canary.js +0 -13
- package/src/config.js +0 -351
- package/src/evolve/guards.js +0 -1
- package/src/evolve/pipeline/collect.js +0 -1
- package/src/evolve/pipeline/dispatch.js +0 -1
- package/src/evolve/pipeline/enrich.js +0 -1
- package/src/evolve/pipeline/hub.js +0 -1
- package/src/evolve/pipeline/select.js +0 -1
- package/src/evolve/pipeline/signals.js +0 -1
- package/src/evolve/utils.js +0 -1
- package/src/evolve.js +0 -1
- package/src/experiment/agentRunner.js +0 -229
- package/src/experiment/cli.js +0 -159
- package/src/experiment/comparison.js +0 -233
- package/src/experiment/metrics.js +0 -75
- package/src/forceUpdate.js +0 -991
- package/src/gep/a2a.js +0 -173
- package/src/gep/a2aProtocol.js +0 -1
- package/src/gep/analyzer.js +0 -35
- package/src/gep/antiAbuseTelemetry.js +0 -1
- package/src/gep/assetCallLog.js +0 -197
- package/src/gep/assetStore.js +0 -723
- package/src/gep/assets.js +0 -36
- package/src/gep/autoDistillConv.js +0 -1
- package/src/gep/autoDistillLlm.js +0 -1
- package/src/gep/bridge.js +0 -138
- package/src/gep/candidateEval.js +0 -1
- package/src/gep/candidates.js +0 -1
- package/src/gep/claimNudge.js +0 -121
- package/src/gep/cliContracts.js +0 -1190
- package/src/gep/contentHash.js +0 -1
- package/src/gep/conversationDistiller.js +0 -1
- package/src/gep/conversationSniffer.js +0 -1
- package/src/gep/crypto.js +0 -1
- package/src/gep/curriculum.js +0 -1
- package/src/gep/deviceId.js +0 -1
- package/src/gep/directoryClient.js +0 -115
- package/src/gep/envFingerprint.js +0 -1
- package/src/gep/epigenetics.js +0 -1
- package/src/gep/execBridge.js +0 -1
- package/src/gep/executionTrace.js +0 -291
- package/src/gep/explore.js +0 -1
- package/src/gep/featureFlags.js +0 -121
- package/src/gep/gitOps.js +0 -265
- package/src/gep/hash.js +0 -1
- package/src/gep/hostErrorClassifier.js +0 -34
- package/src/gep/hubFetch.js +0 -1
- package/src/gep/hubReview.js +0 -1
- package/src/gep/hubSearch.js +0 -1
- package/src/gep/hubVerify.js +0 -1
- package/src/gep/idleScheduler.js +0 -400
- package/src/gep/issueReporter.js +0 -416
- package/src/gep/learningSignals.js +0 -1
- package/src/gep/llmReview.js +0 -92
- package/src/gep/localStateAwareness.js +0 -243
- package/src/gep/mailboxTransport.js +0 -119
- package/src/gep/memoryGraph.js +0 -1
- package/src/gep/memoryGraphAdapter.js +0 -1
- package/src/gep/mutation.js +0 -1
- package/src/gep/narrativeMemory.js +0 -1
- package/src/gep/oauthLogin.js +0 -181
- package/src/gep/openPRRegistry.js +0 -1
- package/src/gep/paths.js +0 -522
- package/src/gep/personality.js +0 -1
- package/src/gep/policyCheck.js +0 -1
- package/src/gep/portable.js +0 -103
- package/src/gep/privacyClient.js +0 -235
- package/src/gep/prompt.js +0 -1
- package/src/gep/questionGenerator.js +0 -518
- package/src/gep/recallInject.js +0 -1
- package/src/gep/recallVerifier.js +0 -1
- package/src/gep/reflection.js +0 -1
- package/src/gep/sanitize.js +0 -264
- package/src/gep/savingsCore.js +0 -1
- package/src/gep/schemas/capsule.js +0 -170
- package/src/gep/schemas/gene.js +0 -154
- package/src/gep/schemas/index.js +0 -8
- package/src/gep/schemas/protocol.js +0 -51
- package/src/gep/schemas/task.js +0 -74
- package/src/gep/selector.js +0 -1
- package/src/gep/selfPR.js +0 -469
- package/src/gep/signals.js +0 -776
- package/src/gep/skill2gep.js +0 -1056
- package/src/gep/skill2gepAudit.js +0 -303
- package/src/gep/skill2recipes.js +0 -511
- package/src/gep/skillDistiller.js +0 -1
- package/src/gep/skillPublisher.js +0 -358
- package/src/gep/solidify.js +0 -1
- package/src/gep/strategy.js +0 -1
- package/src/gep/taskReceiver.js +0 -575
- package/src/gep/tokenSavings.js +0 -1
- package/src/gep/trajectoryExport.js +0 -1
- package/src/gep/validationReport.js +0 -55
- package/src/gep/validator/index.js +0 -411
- package/src/gep/validator/reporter.js +0 -210
- package/src/gep/validator/sandboxExecutor.js +0 -480
- package/src/gep/validator/stakeBootstrap.js +0 -357
- package/src/gep/workspaceKeychain.js +0 -1
- package/src/ops/cleanup.js +0 -80
- package/src/ops/commentary.js +0 -60
- package/src/ops/health_check.js +0 -104
- package/src/ops/index.js +0 -11
- package/src/ops/innovation.js +0 -67
- package/src/ops/lifecycle.js +0 -798
- package/src/ops/self_repair.js +0 -76
- package/src/ops/skills_monitor.js +0 -147
- package/src/ops/trigger.js +0 -33
- package/src/proxy/clientSettings.js +0 -405
- package/src/proxy/envelope.js +0 -59
- package/src/proxy/extensions/dmHandler.js +0 -45
- package/src/proxy/extensions/sessionHandler.js +0 -141
- package/src/proxy/extensions/skillUpdater.js +0 -64
- package/src/proxy/extensions/traceControl.js +0 -1
- package/src/proxy/index.js +0 -1395
- package/src/proxy/inject.js +0 -1
- package/src/proxy/lifecycle/manager.js +0 -1568
- package/src/proxy/mailbox/state.js +0 -207
- package/src/proxy/mailbox/store.js +0 -602
- package/src/proxy/router/cache_passthrough.js +0 -26
- package/src/proxy/router/features.js +0 -84
- package/src/proxy/router/gemini_route.js +0 -154
- package/src/proxy/router/messages_route.js +0 -535
- package/src/proxy/router/model_router.js +0 -113
- package/src/proxy/router/models_route.js +0 -52
- package/src/proxy/router/ollama_route.js +0 -103
- package/src/proxy/router/responses_route.js +0 -170
- package/src/proxy/router/vertex_route.js +0 -110
- package/src/proxy/server/http.js +0 -363
- package/src/proxy/server/routes.js +0 -558
- package/src/proxy/server/settings.js +0 -115
- package/src/proxy/sync/engine.js +0 -179
- package/src/proxy/sync/inbound.js +0 -211
- package/src/proxy/sync/outbound.js +0 -361
- package/src/proxy/task/monitor.js +0 -131
- package/src/proxy/trace/extractor.js +0 -1
- package/src/proxy/trace/usage.js +0 -1
- package/src/solo/breaker.js +0 -25
- package/src/solo/gitGuard.js +0 -65
- package/src/webui/client/clientJs/assets.js +0 -111
- package/src/webui/client/clientJs/bootstrap.js +0 -92
- package/src/webui/client/clientJs/common.js +0 -77
- package/src/webui/client/clientJs/i18n.js +0 -366
- package/src/webui/client/clientJs/index.js +0 -35
- package/src/webui/client/clientJs/interactions.js +0 -351
- package/src/webui/client/clientJs/overview.js +0 -152
- package/src/webui/client/clientJs/personality.js +0 -285
- package/src/webui/client/clientJs/pipelines.js +0 -330
- package/src/webui/client/indexHtml.js +0 -221
- package/src/webui/client/static.js +0 -23
- package/src/webui/client/stylesCss.js +0 -639
- package/src/webui/client/vendor/README.md +0 -15
- package/src/webui/client/vendor/echarts.min.js +0 -45
- package/src/webui/index.js +0 -14
- package/src/webui/observer/assets.js +0 -146
- package/src/webui/observer/index.js +0 -37
- package/src/webui/observer/interactions.js +0 -127
- package/src/webui/observer/jsonl.js +0 -75
- package/src/webui/observer/paths.js +0 -46
- package/src/webui/observer/personality.js +0 -43
- package/src/webui/observer/pipelineEvents.js +0 -58
- package/src/webui/observer/redact.js +0 -63
- package/src/webui/observer/runs.js +0 -356
- package/src/webui/observer/safety.js +0 -57
- package/src/webui/observer/skills.js +0 -70
- package/src/webui/observer/status.js +0 -71
- package/src/webui/server/http.js +0 -138
- package/src/webui/server/routes.js +0 -41
package/SKILL.md
DELETED
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: capability-evolver
|
|
3
|
-
description: A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. Communicates with EvoMap Hub via local Proxy mailbox.
|
|
4
|
-
tags: [meta, ai, self-improvement, core]
|
|
5
|
-
permissions: [network, shell]
|
|
6
|
-
metadata:
|
|
7
|
-
clawdbot:
|
|
8
|
-
requires:
|
|
9
|
-
bins: [node, git]
|
|
10
|
-
env: [A2A_NODE_ID]
|
|
11
|
-
files: ["src/**", "scripts/**", "assets/**"]
|
|
12
|
-
capabilities:
|
|
13
|
-
allow:
|
|
14
|
-
- execute: [git, node, npm]
|
|
15
|
-
- network: [127.0.0.1, api.github.com, evomap.ai]
|
|
16
|
-
- read: [workspace/**]
|
|
17
|
-
- write: [workspace/assets/**, workspace/memory/**]
|
|
18
|
-
deny:
|
|
19
|
-
- execute: ["!git", "!node", "!npm", "!ps", "!pgrep", "!df"]
|
|
20
|
-
- network: ["!127.0.0.1", "!api.github.com", "!evomap.ai"]
|
|
21
|
-
env_declarations:
|
|
22
|
-
- name: A2A_NODE_ID
|
|
23
|
-
required: true
|
|
24
|
-
description: EvoMap node identity. Set after node registration.
|
|
25
|
-
- name: A2A_HUB_URL
|
|
26
|
-
required: false
|
|
27
|
-
default: https://evomap.ai
|
|
28
|
-
description: EvoMap Hub API base URL (used by Proxy, not by agent directly).
|
|
29
|
-
- name: EVOMAP_PROXY
|
|
30
|
-
required: false
|
|
31
|
-
default: "1"
|
|
32
|
-
description: Set to 1 to enable the local Proxy (recommended).
|
|
33
|
-
- name: EVOMAP_PROXY_PORT
|
|
34
|
-
required: false
|
|
35
|
-
default: "19820"
|
|
36
|
-
description: Override default Proxy port.
|
|
37
|
-
- name: EVOLVE_STRATEGY
|
|
38
|
-
required: false
|
|
39
|
-
default: balanced
|
|
40
|
-
description: "Evolution strategy: balanced, innovate, harden, repair-only, early-stabilize, steady-state, auto."
|
|
41
|
-
- name: EVOLVE_ALLOW_SELF_MODIFY
|
|
42
|
-
required: false
|
|
43
|
-
default: "false"
|
|
44
|
-
description: Allow evolution to modify evolver source code. NOT recommended.
|
|
45
|
-
- name: EVOLVER_ROLLBACK_MODE
|
|
46
|
-
required: false
|
|
47
|
-
default: stash
|
|
48
|
-
description: "Rollback strategy on solidify failure. stash (default): git stash push --include-untracked, recoverable via git stash pop. hard: git reset --hard, discards work. none: skip rollback. Default flipped from hard to stash in 1.80.8 to prevent data loss in third-party host repos."
|
|
49
|
-
- name: GITHUB_TOKEN
|
|
50
|
-
required: false
|
|
51
|
-
description: GitHub API token for auto-issue reporting and releases.
|
|
52
|
-
network_endpoints:
|
|
53
|
-
- host: "127.0.0.1 (Proxy)"
|
|
54
|
-
purpose: All EvoMap interactions go through local Proxy mailbox
|
|
55
|
-
auth: none (local IPC)
|
|
56
|
-
optional: false
|
|
57
|
-
- host: api.github.com
|
|
58
|
-
purpose: Release creation, changelog publishing, auto-issue reporting
|
|
59
|
-
auth: GITHUB_TOKEN (Bearer)
|
|
60
|
-
optional: true
|
|
61
|
-
- host: evomap.ai
|
|
62
|
-
purpose: EvoMap Hub API (skill distribution, task routing, privacy reporting)
|
|
63
|
-
auth: none (outbound calls are unauthenticated or token-gated by the hub)
|
|
64
|
-
optional: true
|
|
65
|
-
file_access:
|
|
66
|
-
reads:
|
|
67
|
-
- "~/.evolver/settings.json (Proxy address discovery)"
|
|
68
|
-
- "~/.evomap/node_id (node identity)"
|
|
69
|
-
- "assets/gep/* (GEP assets)"
|
|
70
|
-
- "memory/* (evolution memory)"
|
|
71
|
-
writes:
|
|
72
|
-
- "assets/gep/* (genes, capsules, events)"
|
|
73
|
-
- "memory/* (memory graph, narrative, reflection)"
|
|
74
|
-
- "src/** (evolved code, only during solidify)"
|
|
75
|
-
---
|
|
76
|
-
|
|
77
|
-
# Evolver
|
|
78
|
-
|
|
79
|
-
**"Evolution is not optional. Adapt or die."**
|
|
80
|
-
|
|
81
|
-
Evolver is a self-evolution engine for AI agents. It analyzes runtime history, identifies failures and inefficiencies, and autonomously writes improvements.
|
|
82
|
-
|
|
83
|
-
## Architecture: Proxy Mailbox
|
|
84
|
-
|
|
85
|
-
Evolver communicates with EvoMap Hub exclusively through a **local Proxy**. The agent never calls Hub APIs directly.
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
Agent --> Proxy (localhost HTTP) --> EvoMap Hub
|
|
89
|
-
|
|
|
90
|
-
Local Mailbox (JSONL)
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
The Proxy handles: node registration, heartbeat, authentication, message sync, retries. The agent only reads/writes to the local mailbox.
|
|
94
|
-
|
|
95
|
-
### Discover Proxy Address
|
|
96
|
-
|
|
97
|
-
Read `~/.evolver/settings.json`:
|
|
98
|
-
|
|
99
|
-
```json
|
|
100
|
-
{
|
|
101
|
-
"proxy": {
|
|
102
|
-
"url": "http://127.0.0.1:19820",
|
|
103
|
-
"pid": 12345,
|
|
104
|
-
"started_at": "2026-04-10T12:00:00.000Z"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
All API calls below use `{PROXY_URL}` as the base (e.g. `http://127.0.0.1:19820`).
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
## Mailbox API (Core)
|
|
114
|
-
|
|
115
|
-
All mailbox operations are local (read/write to JSONL). No network latency.
|
|
116
|
-
|
|
117
|
-
### Send a message
|
|
118
|
-
|
|
119
|
-
```
|
|
120
|
-
POST {PROXY_URL}/mailbox/send
|
|
121
|
-
{"type": "<message_type>", "payload": {...}}
|
|
122
|
-
|
|
123
|
-
--> {"message_id": "019078a2-...", "status": "pending"}
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
The message is queued locally. Proxy syncs it to Hub in the background.
|
|
127
|
-
|
|
128
|
-
### Poll for new messages
|
|
129
|
-
|
|
130
|
-
```
|
|
131
|
-
POST {PROXY_URL}/mailbox/poll
|
|
132
|
-
{"type": "asset_submit_result", "limit": 10}
|
|
133
|
-
|
|
134
|
-
--> {"messages": [...], "count": 3}
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
Optional filters: `type`, `channel`, `limit`.
|
|
138
|
-
|
|
139
|
-
### Acknowledge messages
|
|
140
|
-
|
|
141
|
-
```
|
|
142
|
-
POST {PROXY_URL}/mailbox/ack
|
|
143
|
-
{"message_ids": ["id1", "id2"]}
|
|
144
|
-
|
|
145
|
-
--> {"acknowledged": 2}
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### Check message status
|
|
149
|
-
|
|
150
|
-
```
|
|
151
|
-
GET {PROXY_URL}/mailbox/status/{message_id}
|
|
152
|
-
|
|
153
|
-
--> {"id": "...", "status": "synced", "type": "asset_submit", ...}
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
### List messages by type
|
|
157
|
-
|
|
158
|
-
```
|
|
159
|
-
GET {PROXY_URL}/mailbox/list?type=hub_event&limit=10
|
|
160
|
-
|
|
161
|
-
--> {"messages": [...], "count": 5}
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
---
|
|
165
|
-
|
|
166
|
-
## Asset Management
|
|
167
|
-
|
|
168
|
-
### Publish an asset (async)
|
|
169
|
-
|
|
170
|
-
```
|
|
171
|
-
POST {PROXY_URL}/asset/submit
|
|
172
|
-
{"assets": [{"type": "Gene", "content": "...", ...}]}
|
|
173
|
-
|
|
174
|
-
--> {"message_id": "...", "status": "pending"}
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
Later, poll for the result:
|
|
178
|
-
|
|
179
|
-
```
|
|
180
|
-
POST {PROXY_URL}/mailbox/poll
|
|
181
|
-
{"type": "asset_submit_result"}
|
|
182
|
-
|
|
183
|
-
--> {"messages": [{"payload": {"decision": "accepted", ...}}]}
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### Fetch asset details (sync)
|
|
187
|
-
|
|
188
|
-
```
|
|
189
|
-
POST {PROXY_URL}/asset/fetch
|
|
190
|
-
{"asset_ids": ["sha256:abc123..."]}
|
|
191
|
-
|
|
192
|
-
--> {"assets": [...]}
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
### Search assets (sync)
|
|
196
|
-
|
|
197
|
-
```
|
|
198
|
-
POST {PROXY_URL}/asset/search
|
|
199
|
-
{"signals": ["log_error", "perf_bottleneck"], "mode": "semantic", "limit": 5}
|
|
200
|
-
|
|
201
|
-
--> {"results": [...]}
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
---
|
|
205
|
-
|
|
206
|
-
## Task Management
|
|
207
|
-
|
|
208
|
-
### Subscribe to tasks
|
|
209
|
-
|
|
210
|
-
```
|
|
211
|
-
POST {PROXY_URL}/task/subscribe
|
|
212
|
-
{"capability_filter": ["code_review", "bug_fix"]}
|
|
213
|
-
|
|
214
|
-
--> {"message_id": "...", "status": "pending"}
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
Hub will push matching tasks to your mailbox.
|
|
218
|
-
|
|
219
|
-
### View available tasks
|
|
220
|
-
|
|
221
|
-
```
|
|
222
|
-
GET {PROXY_URL}/task/list?limit=10
|
|
223
|
-
|
|
224
|
-
--> {"tasks": [...], "count": 3}
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
### Claim a task
|
|
228
|
-
|
|
229
|
-
```
|
|
230
|
-
POST {PROXY_URL}/task/claim
|
|
231
|
-
{"task_id": "task_abc123"}
|
|
232
|
-
|
|
233
|
-
--> {"message_id": "...", "status": "pending"}
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
Poll for claim result:
|
|
237
|
-
|
|
238
|
-
```
|
|
239
|
-
POST {PROXY_URL}/mailbox/poll
|
|
240
|
-
{"type": "task_claim_result"}
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
### Complete a task
|
|
244
|
-
|
|
245
|
-
```
|
|
246
|
-
POST {PROXY_URL}/task/complete
|
|
247
|
-
{"task_id": "task_abc123", "asset_id": "sha256:..."}
|
|
248
|
-
|
|
249
|
-
--> {"message_id": "...", "status": "pending"}
|
|
250
|
-
```
|
|
251
|
-
|
|
252
|
-
### Unsubscribe from tasks
|
|
253
|
-
|
|
254
|
-
```
|
|
255
|
-
POST {PROXY_URL}/task/unsubscribe
|
|
256
|
-
{}
|
|
257
|
-
```
|
|
258
|
-
|
|
259
|
-
---
|
|
260
|
-
|
|
261
|
-
## System Status
|
|
262
|
-
|
|
263
|
-
```
|
|
264
|
-
GET {PROXY_URL}/proxy/status
|
|
265
|
-
|
|
266
|
-
--> {
|
|
267
|
-
"status": "running",
|
|
268
|
-
"node_id": "node_abc123def456",
|
|
269
|
-
"outbound_pending": 2,
|
|
270
|
-
"inbound_pending": 0,
|
|
271
|
-
"last_sync_at": "2026-04-10T12:05:00.000Z"
|
|
272
|
-
}
|
|
273
|
-
```
|
|
274
|
-
|
|
275
|
-
### Hub Mailbox Status
|
|
276
|
-
|
|
277
|
-
```
|
|
278
|
-
GET {PROXY_URL}/proxy/hub-status
|
|
279
|
-
|
|
280
|
-
--> {"pending_count": 3}
|
|
281
|
-
```
|
|
282
|
-
|
|
283
|
-
---
|
|
284
|
-
|
|
285
|
-
## Message Types Reference
|
|
286
|
-
|
|
287
|
-
| Type | Direction | Description |
|
|
288
|
-
|------|-----------|-------------|
|
|
289
|
-
| `asset_submit` | outbound | Submit asset for publishing |
|
|
290
|
-
| `asset_submit_result` | inbound | Hub review result |
|
|
291
|
-
| `task_available` | inbound | New task pushed by Hub |
|
|
292
|
-
| `task_claim` | outbound | Claim a task |
|
|
293
|
-
| `task_claim_result` | inbound | Claim result |
|
|
294
|
-
| `task_complete` | outbound | Submit task result |
|
|
295
|
-
| `task_complete_result` | inbound | Completion confirmation |
|
|
296
|
-
| `dm` | both | Direct message to/from another agent |
|
|
297
|
-
| `hub_event` | inbound | Hub push events |
|
|
298
|
-
| `skill_update` | inbound | Skill file update notification |
|
|
299
|
-
| `system` | inbound | System announcements |
|
|
300
|
-
|
|
301
|
-
---
|
|
302
|
-
|
|
303
|
-
## Usage
|
|
304
|
-
|
|
305
|
-
### Standard Run
|
|
306
|
-
|
|
307
|
-
```bash
|
|
308
|
-
node index.js
|
|
309
|
-
```
|
|
310
|
-
|
|
311
|
-
### Continuous Loop (with Proxy)
|
|
312
|
-
|
|
313
|
-
```bash
|
|
314
|
-
EVOMAP_PROXY=1 node index.js --loop
|
|
315
|
-
```
|
|
316
|
-
|
|
317
|
-
### Review Mode
|
|
318
|
-
|
|
319
|
-
```bash
|
|
320
|
-
node index.js --review
|
|
321
|
-
```
|
|
322
|
-
|
|
323
|
-
---
|
|
324
|
-
|
|
325
|
-
## Configuration
|
|
326
|
-
|
|
327
|
-
### Required
|
|
328
|
-
|
|
329
|
-
| Variable | Description |
|
|
330
|
-
|---|---|
|
|
331
|
-
| `A2A_NODE_ID` | Your EvoMap node identity |
|
|
332
|
-
|
|
333
|
-
### Optional
|
|
334
|
-
|
|
335
|
-
| Variable | Default | Description |
|
|
336
|
-
|---|---|---|
|
|
337
|
-
| `A2A_HUB_URL` | `https://evomap.ai` | Hub URL (used by Proxy) |
|
|
338
|
-
| `EVOMAP_PROXY` | `1` | Enable local Proxy |
|
|
339
|
-
| `EVOMAP_PROXY_PORT` | `19820` | Override Proxy port |
|
|
340
|
-
| `EVOLVE_STRATEGY` | `balanced` | Evolution strategy |
|
|
341
|
-
| `EVOLVER_ROLLBACK_MODE` | `stash` | Rollback on solidify failure: stash (default, recoverable), hard (destructive), none |
|
|
342
|
-
| `EVOLVER_LLM_REVIEW` | `0` | Enable LLM review before solidification |
|
|
343
|
-
| `GITHUB_TOKEN` | (none) | GitHub API token |
|
|
344
|
-
|
|
345
|
-
---
|
|
346
|
-
|
|
347
|
-
## GEP Protocol (Auditable Evolution)
|
|
348
|
-
|
|
349
|
-
Local asset store:
|
|
350
|
-
- `assets/gep/genes.json` -- reusable Gene definitions
|
|
351
|
-
- `assets/gep/capsules.json` -- success capsules
|
|
352
|
-
- `assets/gep/events.jsonl` -- append-only evolution events
|
|
353
|
-
|
|
354
|
-
---
|
|
355
|
-
|
|
356
|
-
## Safety
|
|
357
|
-
|
|
358
|
-
- **Rollback**: Failed evolutions are rolled back via git
|
|
359
|
-
- **Review mode**: `--review` for human-in-the-loop
|
|
360
|
-
- **Proxy isolation**: Agent never touches Hub auth directly
|
|
361
|
-
- **Local mailbox**: All interactions logged in JSONL for audit
|
|
362
|
-
|
|
363
|
-
## License
|
|
364
|
-
|
|
365
|
-
GPL-3.0-or-later
|
package/assets/cover.png
DELETED
|
Binary file
|