@evomap/evolver 1.80.9 → 1.82.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/index.js +23 -0
- package/package.json +4 -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/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/openPRRegistry.js +1 -0
- package/src/gep/personality.js +1 -1
- package/src/gep/policyCheck.js +1 -1
- package/src/gep/portable.js +9 -2
- package/src/gep/prompt.js +1 -1
- package/src/gep/reflection.js +1 -1
- package/src/gep/selector.js +1 -1
- package/src/gep/shield.js +1 -1
- package/src/gep/skill2gep.js +9 -1
- package/src/gep/skillDistiller.js +1 -1
- package/src/gep/solidify.js +1 -1
- package/src/gep/strategy.js +1 -1
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.82.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": {
|
|
@@ -32,6 +32,9 @@
|
|
|
32
32
|
"a2a:ingest": "node scripts/a2a_ingest.js",
|
|
33
33
|
"a2a:promote": "node scripts/a2a_promote.js"
|
|
34
34
|
},
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=22"
|
|
37
|
+
},
|
|
35
38
|
"dependencies": {
|
|
36
39
|
"dotenv": "^16.4.7"
|
|
37
40
|
},
|