Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(search): pin query_facts_block off in the C5 identity golden

garrytan9b1c824439c9
diff --git a/test/search-c5-identical.test.ts b/test/search-c5-identical.test.ts
index 068fa8c634..ee1e1c1768 100644
--- a/test/search-c5-identical.test.ts
+++ b/test/search-c5-identical.test.ts
@@ -8,8 +8,10 @@
* including one that fans out to the other name, plus the same searches on a
* brain with neither. Regenerate only on a build whose search output is meant
* to change, and say why in the commit. The query facts arm
- * (`search.query_facts_arm`, default on) changes query output on purpose, so
- * these brains pin it off; test/search-facts-arm.test.ts covers it.
+ * (`search.query_facts_arm`, default on) and the query facts block
+ * (`search.query_facts_block`, default on) change query output on purpose, so
+ * these brains pin both off; test/search-facts-arm.test.ts and
+ * test/search-8k-conversion.test.ts cover them.
*
* Also: a fact saved with `remember` is found by the next search in the same
* process, and by a search after another process saved it (no per-process
@@ -64,6 +66,7 @@ async function brain(withFactsAndNames: boolean): Promise<PGLiteEngine> {
}
if (withFactsAndNames) await engine.executeRaw(FACTS);
await engine.setConfig('search.query_facts_arm', 'false');
+ await engine.setConfig('search.query_facts_block', 'false');
return engine;
}