@evomap/evolver 1.69.5 → 1.69.7

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.
@@ -1,3 +1,3 @@
1
- {"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-04-21T01:00:15.026Z","signals":["memory_missing","user_missing","session_logs_missing"],"tags":["memory_missing","user_missing","session_logs_missing","area:memory"],"shape":{"title":"Harden session log detection and fallback behavior","input":"Recent session transcript + memory snippets + user instructions","output":"A safe, auditable evolution patch guided by GEP assets","invariants":"Protocol order, small reversible patches, validation, append-only events","params":"Signals: memory_missing, user_missing, session_logs_missing","failure_points":"Missing signals, over-broad changes, skipped validation, missing knowledge solidification","evidence":"Signal present: session_logs_missing"}}
2
- {"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-04-21T01:00:16.902Z","signals":["memory_missing","user_missing","session_logs_missing"],"tags":["memory_missing","user_missing","session_logs_missing","area:memory"],"shape":{"title":"Harden session log detection and fallback behavior","input":"Recent session transcript + memory snippets + user instructions","output":"A safe, auditable evolution patch guided by GEP assets","invariants":"Protocol order, small reversible patches, validation, append-only events","params":"Signals: memory_missing, user_missing, session_logs_missing","failure_points":"Missing signals, over-broad changes, skipped validation, missing knowledge solidification","evidence":"Signal present: session_logs_missing"}}
3
- {"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-04-21T01:00:18.666Z","signals":["memory_missing","user_missing","session_logs_missing"],"tags":["memory_missing","user_missing","session_logs_missing","area:memory"],"shape":{"title":"Harden session log detection and fallback behavior","input":"Recent session transcript + memory snippets + user instructions","output":"A safe, auditable evolution patch guided by GEP assets","invariants":"Protocol order, small reversible patches, validation, append-only events","params":"Signals: memory_missing, user_missing, session_logs_missing","failure_points":"Missing signals, over-broad changes, skipped validation, missing knowledge solidification","evidence":"Signal present: session_logs_missing"}}
1
+ {"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-04-21T03:36:02.298Z","signals":["memory_missing","user_missing","session_logs_missing"],"tags":["memory_missing","user_missing","session_logs_missing","area:memory"],"shape":{"title":"Harden session log detection and fallback behavior","input":"Recent session transcript + memory snippets + user instructions","output":"A safe, auditable evolution patch guided by GEP assets","invariants":"Protocol order, small reversible patches, validation, append-only events","params":"Signals: memory_missing, user_missing, session_logs_missing","failure_points":"Missing signals, over-broad changes, skipped validation, missing knowledge solidification","evidence":"Signal present: session_logs_missing"}}
2
+ {"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-04-21T03:36:04.194Z","signals":["memory_missing","user_missing","session_logs_missing"],"tags":["memory_missing","user_missing","session_logs_missing","area:memory"],"shape":{"title":"Harden session log detection and fallback behavior","input":"Recent session transcript + memory snippets + user instructions","output":"A safe, auditable evolution patch guided by GEP assets","invariants":"Protocol order, small reversible patches, validation, append-only events","params":"Signals: memory_missing, user_missing, session_logs_missing","failure_points":"Missing signals, over-broad changes, skipped validation, missing knowledge solidification","evidence":"Signal present: session_logs_missing"}}
3
+ {"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-04-21T03:36:05.981Z","signals":["memory_missing","user_missing","session_logs_missing"],"tags":["memory_missing","user_missing","session_logs_missing","area:memory"],"shape":{"title":"Harden session log detection and fallback behavior","input":"Recent session transcript + memory snippets + user instructions","output":"A safe, auditable evolution patch guided by GEP assets","invariants":"Protocol order, small reversible patches, validation, append-only events","params":"Signals: memory_missing, user_missing, session_logs_missing","failure_points":"Missing signals, over-broad changes, skipped validation, missing knowledge solidification","evidence":"Signal present: session_logs_missing"}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evomap/evolver",
3
- "version": "1.69.5",
3
+ "version": "1.69.7",
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": {
package/src/config.js CHANGED
@@ -32,6 +32,31 @@ const HTTP_TRANSPORT_TIMEOUT_MS = envInt('EVOLVER_HTTP_TRANSPORT_TIMEOUT_MS', 15
32
32
  const SECRET_CACHE_TTL_MS = envInt('EVOLVER_SECRET_CACHE_TTL_MS', 60000);
33
33
  const HUB_SEARCH_TIMEOUT_MS = envInt('EVOLVER_HUB_SEARCH_TIMEOUT_MS', 8000);
34
34
 
35
+ // Hub URL resolution (since v1.69.7).
36
+ //
37
+ // Precedence at runtime (re-evaluated on every call of resolveHubUrl()):
38
+ // 1. process.env.A2A_HUB_URL -- primary override used by most modules
39
+ // 2. process.env.EVOMAP_HUB_URL -- secondary, kept for backward compat
40
+ // 3. process.env.EVOLVER_DEFAULT_HUB_URL -- deployment-time default override
41
+ // (useful for air-gapped deployments that point all clients at a private
42
+ // hub endpoint without having to rewrite A2A_HUB_URL in every service)
43
+ // 4. PUBLIC_DEFAULT_HUB_URL below (compile-time literal)
44
+ //
45
+ // IMPORTANT: callers MUST NOT cache the return value at module-load time.
46
+ // Before v1.69.7 several modules (validator/*, taskReceiver, directoryClient,
47
+ // privacyClient) bound their HUB_URL fallback at require()-time, which meant
48
+ // that setting process.env.A2A_HUB_URL later (common in tests and wrappers)
49
+ // had no effect. Use resolveHubUrl() inside the function body that builds the
50
+ // HTTP request instead.
51
+ const PUBLIC_DEFAULT_HUB_URL = 'https://evomap.ai';
52
+
53
+ function resolveHubUrl() {
54
+ return process.env.A2A_HUB_URL
55
+ || process.env.EVOMAP_HUB_URL
56
+ || process.env.EVOLVER_DEFAULT_HUB_URL
57
+ || PUBLIC_DEFAULT_HUB_URL;
58
+ }
59
+
35
60
  // --- Solidify & Validation ---
36
61
 
37
62
  const VALIDATION_TIMEOUT_MS = envInt('EVOLVER_VALIDATION_TIMEOUT_MS', 180000);
@@ -95,12 +120,15 @@ const SELF_PR_TIMEOUT_MS = envInt('EVOLVER_SELF_PR_TIMEOUT_MS', 30000);
95
120
 
96
121
  // --- Leak Check ---
97
122
 
98
- const LEAK_CHECK_MODE = envStr('EVOLVER_LEAK_CHECK', 'warn');
123
+ const LEAK_CHECK_MODE = envStr('EVOLVER_LEAK_CHECK', 'strict');
99
124
 
100
- // --- Validator mode (opt-in) ---
101
- // Opt-in node role: when enabled, the evolver periodically fetches assigned
102
- // validation tasks from the Hub, runs the commands in an isolated sandbox,
103
- // and submits ValidationReports. Default is OFF for backward compatibility.
125
+ // --- Validator mode (opt-out) ---
126
+ // Node role: the evolver periodically fetches assigned validation tasks from
127
+ // the Hub, runs the commands in an isolated sandbox, and submits
128
+ // ValidationReports. Default is ON (opt-out). Set EVOLVER_VALIDATOR_ENABLED=false
129
+ // to skip the validator role. Note: the exported VALIDATOR_ENABLED below is a
130
+ // legacy helper that resolves only from env (no persisted flag). Real runtime
131
+ // gating lives in src/gep/validator/index.js:isValidatorEnabled().
104
132
 
105
133
  const VALIDATOR_ENABLED = (function () {
106
134
  const v = String(process.env.EVOLVER_VALIDATOR_ENABLED || '').toLowerCase().trim();
@@ -124,6 +152,8 @@ module.exports = {
124
152
  HTTP_TRANSPORT_TIMEOUT_MS,
125
153
  SECRET_CACHE_TTL_MS,
126
154
  HUB_SEARCH_TIMEOUT_MS,
155
+ PUBLIC_DEFAULT_HUB_URL,
156
+ resolveHubUrl,
127
157
  // Solidify
128
158
  VALIDATION_TIMEOUT_MS,
129
159
  CANARY_TIMEOUT_MS,