Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Record the resolver's new world reads and refresh the structural manifest

garrytan948bb716a8ad
diff --git a/scripts/core-world-reads-baseline.tsv b/scripts/core-world-reads-baseline.tsv
index f73c671661..1155ac0ad1 100644
--- a/scripts/core-world-reads-baseline.tsv
+++ b/scripts/core-world-reads-baseline.tsv
@@ -1068,9 +1068,12 @@ src/core/skills-integrity.ts fs_import 1 W7: filesystem boundary moves to the lo
src/core/skills/resolver/build.ts fs_import 1 GBRA-377 skill resolver: a filesystem tool by contract (reads SKILL.md dirs, writes its index and session files under GBRAIN_HOME/skill-index); it never opens a brain or an engine, so there are no engine settings to take it from; stays
src/core/skills/resolver/config.ts fs_import 1 GBRA-377 skill resolver: a filesystem tool by contract (reads SKILL.md dirs, writes its index and session files under GBRAIN_HOME/skill-index); it never opens a brain or an engine, so there are no engine settings to take it from; stays
src/core/skills/resolver/config.ts process_env 1 GBRA-377 skill resolver: GBRAIN_SKILLS_NO_AUTOREBUILD as the default of an injectable env parameter (callers and tests pass their own); runs with no brain or engine; stays
+src/core/skills/resolver/catalog-files.ts fs_import 1 GBRA-377 skill resolver: a filesystem tool by contract (reads SKILL.md dirs, writes its index and session files under GBRAIN_HOME/skill-index); it never opens a brain or an engine, so there are no engine settings to take it from; stays
+src/core/skills/resolver/daily-log.ts fs_import 2 GBRA-399 skill resolver daily logs: appends and prunes lane-<day>.jsonl and resolver-<day>.log under GBRAIN_HOME/skill-index (sync for the CLI, async in the hook); no brain or engine; stays
src/core/skills/resolver/fsutil.ts fs_import 1 GBRA-377 skill resolver: a filesystem tool by contract (reads SKILL.md dirs, writes its index and session files under GBRAIN_HOME/skill-index); it never opens a brain or an engine, so there are no engine settings to take it from; stays
src/core/skills/resolver/index-format.ts fs_import 1 GBRA-377 skill resolver: a filesystem tool by contract (reads SKILL.md dirs, writes its index and session files under GBRAIN_HOME/skill-index); it never opens a brain or an engine, so there are no engine settings to take it from; stays
src/core/skills/resolver/lock.ts fs_import 1 GBRA-377 skill resolver: a filesystem tool by contract (reads SKILL.md dirs, writes its index and session files under GBRAIN_HOME/skill-index); it never opens a brain or an engine, so there are no engine settings to take it from; stays
+src/core/skills/resolver/lane-worker.ts process_env 1 GBRA-399 skill resolver lane worker: process.env as the default of an injectable env parameter, handed to the worker the hook starts first; no brain or engine; stays
src/core/skills/resolver/paths.ts process_env 1 GBRA-377 skill resolver: GBRAIN_HOME as the default of an injectable env parameter (same convention as configDir); runs with no brain or engine; stays
src/core/skills/resolver/resolve.ts fs_import 1 GBRA-377 skill resolver: a filesystem tool by contract (reads SKILL.md dirs, writes its index and session files under GBRAIN_HOME/skill-index); it never opens a brain or an engine, so there are no engine settings to take it from; stays
src/core/skills/resolver/session.ts fs_import 1 GBRA-377 skill resolver: a filesystem tool by contract (reads SKILL.md dirs, writes its index and session files under GBRAIN_HOME/skill-index); it never opens a brain or an engine, so there are no engine settings to take it from; stays
@@ -1180,7 +1183,7 @@ src/core/setup/skill-resolver-config.ts fs_import 1 GBRA-377 PR B skill-resolver
src/core/setup/skill-resolver-hook.ts fs_import 1 GBRA-377 PR B skill-resolver lane: setup writes and reads harness settings files, GBRAIN_HOME/config.json and the skill index directly (no brain or engine is opened); stays
src/core/setup/skill-resolver-setup.ts fs_import 1 GBRA-377 PR B skill-resolver lane: setup writes and reads harness settings files, GBRAIN_HOME/config.json and the skill index directly (no brain or engine is opened); stays
src/core/setup/skill-resolver-setup.ts process_env 1 GBRA-377 PR B skill-resolver lane: setup writes and reads harness settings files, GBRAIN_HOME/config.json and the skill index directly (no brain or engine is opened); stays
-src/core/skills/resolver/hook-lane.ts fs_import 1 GBRA-377 PR B skill-resolver hook lane: runs in the hook process with no brain or engine, reading config.json, harness settings and the skill index; env carries GBRAIN_HOME and its test seams; it spawns the detached catalog build; stays
+src/core/skills/resolver/hook-lane.ts fs_import 2 GBRA-399 adds node:fs unlinkSync: the deadline exit removes the commit temp file synchronously before process.exit, so no leftover lock survives the hook. GBRA-377 PR B skill-resolver hook lane: runs in the hook process with no brain or engine, reading config.json, harness settings and the skill index; env carries GBRAIN_HOME and its test seams; it spawns the detached catalog build; stays
src/core/skills/resolver/hook-lane.ts process_env 2 GBRA-377 PR B skill-resolver hook lane: runs in the hook process with no brain or engine, reading config.json, harness settings and the skill index; env carries GBRAIN_HOME and its test seams; it spawns the detached catalog build; stays
src/core/skills/resolver/hook-lane.ts spawn_import 1 GBRA-377 PR B skill-resolver hook lane: runs in the hook process with no brain or engine, reading config.json, harness settings and the skill index; env carries GBRAIN_HOME and its test seams; it spawns the detached catalog build; stays
src/core/skills/resolver/hook-lane.ts process_global 1 GBRA-377 PR B skill-resolver hook lane: at its 50 ms deadline the hook process exits at once without waiting on the abandoned worker (the lane is the whole process); stays
diff --git a/scripts/structural-suites.tsv b/scripts/structural-suites.tsv
index 712377c627..43b33482fc 100644
--- a/scripts/structural-suites.tsv
+++ b/scripts/structural-suites.tsv
@@ -389,7 +389,7 @@ test/skill-resolver-hook-lane.test.ts skill-resolver lane: compiled binaries 1 r
test/skill-resolver-hook-lane.test.ts skill-resolver lane: delivery per harness 4 readFileSync
test/skill-resolver-hook-lane.test.ts skill-resolver lane: fail open 6 readFileSync
test/skill-resolver-off-pin.test.ts (file-level) 1 readFileSync
-test/skill-resolver-packaging.test.ts skill resolver packaging 2 bun-file,readFileSync
+test/skill-resolver-packaging.test.ts skill resolver packaging 3 bun-file,readFileSync
test/skillify-scaffold.test.ts 11-item scaffold contract (T9 + Phase 3 cross-modal eval) 1 readFileSync
test/skillify-scaffold.test.ts applyScaffold 3 readFileSync
test/skillify-scaffold.test.ts planScaffold 13 readFileSync