@evomap/evolver 1.69.6 → 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.
- package/assets/gep/candidates.jsonl +3 -3
- package/package.json +1 -1
- package/src/config.js +35 -5
- 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/directoryClient.js +4 -4
- package/src/gep/envFingerprint.js +1 -1
- package/src/gep/explore.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/issueReporter.js +5 -3
- 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/privacyClient.js +2 -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/skillDistiller.js +1 -1
- package/src/gep/solidify.js +1 -1
- package/src/gep/strategy.js +1 -1
- package/src/gep/taskReceiver.js +6 -7
- package/src/gep/validator/index.js +2 -2
- package/src/gep/validator/reporter.js +2 -2
- package/src/gep/validator/stakeBootstrap.js +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-04-
|
|
2
|
-
{"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-04-
|
|
3
|
-
{"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-04-
|
|
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.
|
|
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', '
|
|
123
|
+
const LEAK_CHECK_MODE = envStr('EVOLVER_LEAK_CHECK', 'strict');
|
|
99
124
|
|
|
100
|
-
// --- Validator mode (opt-
|
|
101
|
-
//
|
|
102
|
-
//
|
|
103
|
-
//
|
|
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,
|