@evomap/evolver 1.80.9 → 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.
Files changed (41) hide show
  1. package/index.js +23 -0
  2. package/package.json +1 -1
  3. package/src/evolve/guards.js +1 -1
  4. package/src/evolve/pipeline/collect.js +1 -1
  5. package/src/evolve/pipeline/dispatch.js +1 -1
  6. package/src/evolve/pipeline/enrich.js +1 -1
  7. package/src/evolve/pipeline/hub.js +1 -1
  8. package/src/evolve/pipeline/select.js +1 -1
  9. package/src/evolve/pipeline/signals.js +1 -1
  10. package/src/evolve/utils.js +1 -1
  11. package/src/evolve.js +1 -1
  12. package/src/gep/.integrity +0 -0
  13. package/src/gep/a2aProtocol.js +1 -1
  14. package/src/gep/candidateEval.js +1 -1
  15. package/src/gep/candidates.js +1 -1
  16. package/src/gep/contentHash.js +1 -1
  17. package/src/gep/crypto.js +1 -1
  18. package/src/gep/curriculum.js +1 -1
  19. package/src/gep/deviceId.js +1 -1
  20. package/src/gep/envFingerprint.js +1 -1
  21. package/src/gep/epigenetics.js +1 -1
  22. package/src/gep/explore.js +1 -1
  23. package/src/gep/hash.js +1 -1
  24. package/src/gep/hubReview.js +1 -1
  25. package/src/gep/hubSearch.js +1 -1
  26. package/src/gep/hubVerify.js +1 -1
  27. package/src/gep/integrityCheck.js +1 -1
  28. package/src/gep/learningSignals.js +1 -1
  29. package/src/gep/memoryGraph.js +1 -1
  30. package/src/gep/memoryGraphAdapter.js +1 -1
  31. package/src/gep/mutation.js +1 -1
  32. package/src/gep/narrativeMemory.js +1 -1
  33. package/src/gep/personality.js +1 -1
  34. package/src/gep/policyCheck.js +1 -1
  35. package/src/gep/prompt.js +1 -1
  36. package/src/gep/reflection.js +1 -1
  37. package/src/gep/selector.js +1 -1
  38. package/src/gep/shield.js +1 -1
  39. package/src/gep/skillDistiller.js +1 -1
  40. package/src/gep/solidify.js +1 -1
  41. 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.80.9",
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": {