@evomap/evolver 1.78.4 → 1.78.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 +1 -3
- package/index.js +31 -1
- package/package.json +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/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/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/paths.js +7 -2
- 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/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
|
@@ -1,3 +1 @@
|
|
|
1
|
-
{"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-05-
|
|
2
|
-
{"type":"CapabilityCandidate","id":"cand_b9a66a5c","title":"Harden session log detection and fallback behavior","source":"signals","created_at":"2026-05-03T13:23:42.416Z","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-05-03T13:24:12.201Z","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-05-03T16:22:31.771Z","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/index.js
CHANGED
|
@@ -3,10 +3,40 @@
|
|
|
3
3
|
// modules see A2A_NODE_SECRET / A2A_NODE_ID / A2A_HUB_URL at first
|
|
4
4
|
// access and never fall back to a stale persisted/cached secret.
|
|
5
5
|
// Reported in #460.
|
|
6
|
+
//
|
|
7
|
+
// Load order matters (see #526): we must not call getRepoRoot() before
|
|
8
|
+
// .env is loaded, otherwise EVOLVER_REPO_ROOT set in .env is silently
|
|
9
|
+
// ignored because getRepoRoot() caches the .git-walk result on first
|
|
10
|
+
// call. Strategy:
|
|
11
|
+
// 1. Try .env at process.cwd() first. This is where a user running
|
|
12
|
+
// `evolver` from their project root expects the file, and it is
|
|
13
|
+
// independent of getRepoRoot() caching.
|
|
14
|
+
// 2. Read EVOLVER_REPO_ROOT from process.env (dotenv just populated it
|
|
15
|
+
// if set in cwd/.env).
|
|
16
|
+
// 3. Only now call getRepoRoot(), which will honor EVOLVER_REPO_ROOT
|
|
17
|
+
// if present; then try .env at that root as well (dotenv never
|
|
18
|
+
// overwrites already-set keys, so step 1 wins when both exist).
|
|
6
19
|
try {
|
|
7
20
|
const _path = require('path');
|
|
21
|
+
// Step 1: load .env from process.cwd() before any internal require.
|
|
22
|
+
// Matches the regression test for #460 which asserts
|
|
23
|
+
// `require('dotenv').config` appears before any ./src/* require other
|
|
24
|
+
// than ./src/gep/paths.
|
|
25
|
+
require('dotenv').config({ path: _path.join(process.cwd(), '.env') });
|
|
26
|
+
// Suppress the "Using host git repository at" banner during bootstrap.
|
|
27
|
+
// If .env at the discovered root overrides EVOLVER_REPO_ROOT, the
|
|
28
|
+
// initial banner would point at the wrong path and mislead users
|
|
29
|
+
// debugging the very chicken-and-egg problem #526 reported. The banner
|
|
30
|
+
// prints for real when getRepoRoot() is called later by application code.
|
|
31
|
+
const _prevQuiet = process.env.EVOLVER_QUIET_PARENT_GIT;
|
|
32
|
+
process.env.EVOLVER_QUIET_PARENT_GIT = '1';
|
|
8
33
|
const { getRepoRoot: _getRepoRoot } = require('./src/gep/paths');
|
|
9
|
-
|
|
34
|
+
const _root = _getRepoRoot();
|
|
35
|
+
if (_root && _root !== process.cwd()) {
|
|
36
|
+
require('dotenv').config({ path: _path.join(_root, '.env') });
|
|
37
|
+
}
|
|
38
|
+
if (_prevQuiet === undefined) delete process.env.EVOLVER_QUIET_PARENT_GIT;
|
|
39
|
+
else process.env.EVOLVER_QUIET_PARENT_GIT = _prevQuiet;
|
|
10
40
|
} catch (e) { /* dotenv is optional */ }
|
|
11
41
|
|
|
12
42
|
const evolve = require('./src/evolve');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evomap/evolver",
|
|
3
|
-
"version": "1.78.
|
|
3
|
+
"version": "1.78.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": {
|