Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
fix(entity): classify the source-walk import for the snapshot hash (#6723)
garrytand276cb5c477d
diff --git a/docs/.wave18-fragments/lane4.md b/docs/.wave18-fragments/lane4.mdindex 6ea63bc589..147e536459 100644--- a/docs/.wave18-fragments/lane4.md+++ b/docs/.wave18-fragments/lane4.md@@ -18,3 +18,5 @@ Branch `capy/wave18-lane4`. Every `since` below is a placeholder: stamp the wave- `bun run build:llms`: `docs/protocol/MEMORY_VERBS_v1.md` gained the "entity source resolution and `source_id`", "context_pack sources" and "context_pack entity_facts" sections, so `llms-full.txt` is stale (`test/build-llms.test.ts` fails until regenerated).- `src/core/operation-manifest.generated.ts` was regenerated in-branch (`bun run build:operation-manifest`) for the new `entity` / `context_pack` params; rerun it after the merge.- Plugin trees / MCP tool goldens: rerun their generators after the merge (new `source_id`, `prefer_source_id` and `entity_refs` params).+- `test/fixtures/goldens/cli/tools-json.json`: `GBRAIN_TEST_UPDATE_GOLDENS=1 bun test test/cli-goldens.test.ts`. The diff is intentional and only adds the #6723 params (`entity`: `source_id`, `prefer_source_id`; `context_pack`: `source_id`, `entity_refs`, `prefer_source_id`); `--tools-json` is the full surface, so they show there even though the starter MCP list omits them.+- `bun run regen:all --check` on the lane head lists only `llms.txt + llms-full.txt` as stale; the tools-json golden fails in `test/cli-goldens.test.ts` and is not in regen:all.diff --git a/src/core/snapshot-schema-inputs.ts b/src/core/snapshot-schema-inputs.tsindex 093f959383..2e7964471f 100644--- a/src/core/snapshot-schema-inputs.ts+++ b/src/core/snapshot-schema-inputs.ts@@ -47,6 +47,7 @@ export const SNAPSHOT_DYNAMIC_IMPORTS_NOT_HASHED: Readonly<Record<string, string'verbs/entity-card.ts': 'verbs.ts request-time verb handlers','verbs/entity-card-identity.ts': 'verbs.ts request-time verb handlers (identity siblings notice)','verbs/entity-names.ts': 'verbs.ts request-time verb handlers (entity names[] compact rows)',+ 'verbs/entity-source.ts': 'verbs.ts request-time verb handlers (entity source walk, #6723)','mentions/coverage.ts': 'verbs.ts request-time verb handlers (entity coverage notice)','think/index.ts': 'verbs.ts request-time verb handlers','search/query-prefix.ts': 'verbs.ts request-time verb handlers (synthesize question embed, #3783)',