Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
fix(merge): classify persistence_requests.client_request_id in the deletion inventory (#5575 purge) and entity-names.ts as a request-time lazy import of the snapshot hash
garrytana38725b4f614
diff --git a/src/core/deletion-inventory.ts b/src/core/deletion-inventory.tsindex 9c55a51a2e..9084c8066c 100644--- a/src/core/deletion-inventory.ts+++ b/src/core/deletion-inventory.ts@@ -117,7 +117,7 @@ const ROWS: readonly Row[] = [['persistence_graduation', 'out_of_scope', 'probed_reported', 'role state source_data_dir trigger_bypass table_receipts replay_probe timings doctor rollback', 'table_receipts'],['persistence_host_bindings', 'out_of_scope', 'no_memory_text', 'local_path coordination_path'],['persistence_local_writers', 'out_of_scope', 'secret_material', 'lane credential_hash grant_ceiling'],- ['persistence_requests', 'swept', 'request_intent', 'principal_kind principal_id operation source_id slug digest intent authority state recovery outcome error_code error_message blocked_reason target_kind admitter_version consumer_version error_detail claim_phase'],+ ['persistence_requests', 'swept', 'request_intent', 'principal_kind principal_id operation source_id slug digest intent authority state recovery outcome error_code error_message blocked_reason target_kind admitter_version consumer_version error_detail claim_phase client_request_id'],['persistence_source_bindings', 'out_of_scope', 'no_memory_text', 'source_id relative_path'],['persistence_topology_changes', 'out_of_scope', 'probed_reported', 'digest operation source_id state recovery outcome', 'recovery outcome'],['persistence_worktree_refreshes', 'out_of_scope', 'probed_reported', 'source_ids state old_head target_head upstream_ref preserved_uncommitted outcome', 'outcome'],diff --git a/src/core/snapshot-schema-inputs.ts b/src/core/snapshot-schema-inputs.tsindex dc57f5f572..3a6b81625b 100644--- a/src/core/snapshot-schema-inputs.ts+++ b/src/core/snapshot-schema-inputs.ts@@ -46,6 +46,7 @@ export const SNAPSHOT_DYNAMIC_IMPORTS_NOT_HASHED: Readonly<Record<string, string'feedback/record.ts': 'verbs.ts request-time answer recording','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)','mentions/coverage.ts': 'verbs.ts request-time verb handlers (entity coverage notice)','think/index.ts': 'verbs.ts request-time verb handlers','embedding.ts': 'verbs.ts request-time verb handlers',diff --git a/test/fixtures/goldens/doctor/json-postgres-fresh.json b/test/fixtures/goldens/doctor/json-postgres-fresh.jsonindex 3ce9415ff6..56c2461749 100644--- a/test/fixtures/goldens/doctor/json-postgres-fresh.json+++ b/test/fixtures/goldens/doctor/json-postgres-fresh.json@@ -2047,7 +2047,7 @@},{"category": "brain",- "message": "21 retrieval-affecting file(s) changed since HEAD: src/core/chunkers/code.ts, src/core/chunkers/recursive.ts, src/core/chunkers/token-estimate.ts, …. Re-run `gbrain eval run-all` after committing these changes.",+ "message": "No retrieval-affecting files changed in working tree.","name": "eval_drift","status": "ok"},