@evomap/evolver 1.80.8 → 1.81.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/SKILL.md +3 -3
- package/index.js +23 -0
- package/package.json +1 -1
- package/src/evolve/guards.js +1 -1
- package/src/evolve/pipeline/collect.js +1 -1
- package/src/evolve/pipeline/dispatch.js +1 -1
- package/src/evolve/pipeline/enrich.js +1 -1
- package/src/evolve/pipeline/hub.js +1 -1
- package/src/evolve/pipeline/select.js +1 -1
- package/src/evolve/pipeline/signals.js +1 -1
- package/src/evolve/utils.js +1 -1
- package/src/evolve.js +1 -1
- package/src/gep/.integrity +0 -0
- package/src/gep/a2aProtocol.js +1 -1
- package/src/gep/candidateEval.js +1 -1
- package/src/gep/candidates.js +1 -1
- package/src/gep/contentHash.js +1 -1
- package/src/gep/crypto.js +1 -1
- package/src/gep/curriculum.js +1 -1
- package/src/gep/deviceId.js +1 -1
- package/src/gep/envFingerprint.js +1 -1
- package/src/gep/epigenetics.js +1 -1
- package/src/gep/explore.js +1 -1
- package/src/gep/gitOps.js +34 -3
- package/src/gep/hash.js +1 -1
- package/src/gep/hubReview.js +1 -1
- package/src/gep/hubSearch.js +1 -1
- package/src/gep/hubVerify.js +1 -1
- package/src/gep/integrityCheck.js +1 -1
- package/src/gep/learningSignals.js +1 -1
- package/src/gep/memoryGraph.js +1 -1
- package/src/gep/memoryGraphAdapter.js +1 -1
- package/src/gep/mutation.js +1 -1
- package/src/gep/narrativeMemory.js +1 -1
- package/src/gep/personality.js +1 -1
- package/src/gep/policyCheck.js +1 -1
- package/src/gep/prompt.js +1 -1
- package/src/gep/reflection.js +1 -1
- package/src/gep/schemas/index.js +2 -1
- package/src/gep/schemas/protocol.js +43 -0
- package/src/gep/selector.js +1 -1
- package/src/gep/shield.js +1 -1
- package/src/gep/skillDistiller.js +1 -1
- package/src/gep/solidify.js +1 -1
- package/src/gep/strategy.js +1 -1
- package/assets/gep/candidates.jsonl +0 -3
- package/assets/gep/capsules.json +0 -4
- package/assets/gep/events.jsonl +0 -0
- package/assets/gep/failed_capsules.json +0 -4
- package/assets/gep/genes.json +0 -201
- package/assets/gep/genes.jsonl +0 -0
package/SKILL.md
CHANGED
|
@@ -44,8 +44,8 @@ metadata:
|
|
|
44
44
|
description: Allow evolution to modify evolver source code. NOT recommended.
|
|
45
45
|
- name: EVOLVER_ROLLBACK_MODE
|
|
46
46
|
required: false
|
|
47
|
-
default:
|
|
48
|
-
description: "Rollback strategy on failure:
|
|
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
49
|
- name: GITHUB_TOKEN
|
|
50
50
|
required: false
|
|
51
51
|
description: GitHub API token for auto-issue reporting and releases.
|
|
@@ -338,7 +338,7 @@ node index.js --review
|
|
|
338
338
|
| `EVOMAP_PROXY` | `1` | Enable local Proxy |
|
|
339
339
|
| `EVOMAP_PROXY_PORT` | `19820` | Override Proxy port |
|
|
340
340
|
| `EVOLVE_STRATEGY` | `balanced` | Evolution strategy |
|
|
341
|
-
| `EVOLVER_ROLLBACK_MODE` | `
|
|
341
|
+
| `EVOLVER_ROLLBACK_MODE` | `stash` | Rollback on solidify failure: stash (default, recoverable), hard (destructive), none |
|
|
342
342
|
| `EVOLVER_LLM_REVIEW` | `0` | Enable LLM review before solidification |
|
|
343
343
|
| `GITHUB_TOKEN` | (none) | GitHub API token |
|
|
344
344
|
|
package/index.js
CHANGED
|
@@ -326,6 +326,29 @@ async function main() {
|
|
|
326
326
|
}
|
|
327
327
|
} catch (_diagErr) { /* diagnostics must never block startup */ }
|
|
328
328
|
|
|
329
|
+
// Hub outcome mirror diagnostic. memoryGraph.syncEventToHub posts every
|
|
330
|
+
// outcome/attempt/solidify/skill_emit event to <hub>/a2a/memory/event
|
|
331
|
+
// by default, which is what populates this node's recall stream from
|
|
332
|
+
// the Hub side (consumed by gep-mcp-server's gep_recall). It is silent
|
|
333
|
+
// best-effort: failures don't crash the daemon but also don't surface,
|
|
334
|
+
// so users get a "why does gep_recall return 0 matches" puzzle. A
|
|
335
|
+
// single startup line says explicitly whether the mirror is on, what
|
|
336
|
+
// node it would post as, and what to flip if you want it off.
|
|
337
|
+
try {
|
|
338
|
+
const a2a = require('./src/gep/a2aProtocol');
|
|
339
|
+
const mirrorOff = process.env.MEMORY_GRAPH_SYNC_HUB === '0';
|
|
340
|
+
const hubUrl = typeof a2a.getHubUrl === 'function' ? a2a.getHubUrl() : '';
|
|
341
|
+
const nodeId = typeof a2a.getNodeId === 'function' ? a2a.getNodeId() : '';
|
|
342
|
+
const hasSecret = typeof a2a.getHubNodeSecret === 'function' && !!a2a.getHubNodeSecret();
|
|
343
|
+
if (mirrorOff) {
|
|
344
|
+
console.log('[HubMirror] DISABLED — set MEMORY_GRAPH_SYNC_HUB=1 (or unset it) to mirror outcome events to <hub>/a2a/memory/event.');
|
|
345
|
+
} else if (!hubUrl || !nodeId || !hasSecret) {
|
|
346
|
+
console.log(`[HubMirror] inactive — missing one of: hub=${hubUrl ? 'OK' : 'MISSING'} node_id=${nodeId ? 'OK' : 'MISSING'} secret=${hasSecret ? 'OK' : 'MISSING'}. Local memory graph is unaffected.`);
|
|
347
|
+
} else {
|
|
348
|
+
console.log(`[HubMirror] ENABLED — outcome/attempt/solidify/skill_emit events mirror to ${hubUrl}/a2a/memory/event as ${nodeId}. Set MEMORY_GRAPH_SYNC_HUB=0 to disable.`);
|
|
349
|
+
}
|
|
350
|
+
} catch (_mirrorDiagErr) { /* diagnostics must never block startup */ }
|
|
351
|
+
|
|
329
352
|
const { getEvolutionDir, getEvolverLogPath } = require('./src/gep/paths');
|
|
330
353
|
const solidifyStatePath = path.join(getEvolutionDir(), 'evolution_solidify_state.json');
|
|
331
354
|
const cycleProgressPath = path.join(getEvolutionDir(), 'cycle_progress.json');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evomap/evolver",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.81.0",
|
|
4
4
|
"description": "A GEP-powered self-evolution engine for AI agents. Features automated log analysis and Genome Evolution Protocol (GEP) for auditable, reusable evolution assets.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|