Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

fix: extract_facts dedup keeps master's excludeMemberPages after the slot merge (access-member-facts-dedup red before, green after)

garrytan92a518512b23
diff --git a/src/core/facts/backstop.ts b/src/core/facts/backstop.ts
index 80c2c8f93e..9265564974 100644
--- a/src/core/facts/backstop.ts
+++ b/src/core/facts/backstop.ts
@@ -924,7 +924,7 @@ async function runPipelineBodyInner(
ctx.sourceId,
resolvedSlug,
f.fact,
- { embedding: f.embedding, embeddingModel: f.embedding_model, k: DEDUP_CANDIDATE_LIMIT, attributedTo: f.attributed_to ?? null },
+ { embedding: f.embedding, embeddingModel: f.embedding_model, k: DEDUP_CANDIDATE_LIMIT, attributedTo: f.attributed_to ?? null, excludeMemberPages: true },
);
let top: { row: typeof candidates[number]; score: number } | null = null;
for (const c of candidates) {