Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(write-gate): classify the duplicate-facts repair as an owner lifecycle writer

garrytan1e4204e04a26
diff --git a/test/trust-write-gate-drift.test.ts b/test/trust-write-gate-drift.test.ts
index 8956f59ff7..23873d02a4 100644
--- a/test/trust-write-gate-drift.test.ts
+++ b/test/trust-write-gate-drift.test.ts
@@ -56,6 +56,7 @@ const EXEMPT: Record<string, string> = {
'src/core/persistence/memory-mutations.ts': 'forget (lifecycle); remember is gated in memory-prepare.ts',
'src/core/repair/captured-facts.ts': 'owner repair of existing rows',
'src/core/repair/consolidate-ties.ts': 'owner repair reopening the validity of existing facts (lifecycle)',
+ 'src/core/repair/duplicate-facts.ts': 'owner repair behind a preview hash: supersedes exact copies of an existing fact with its oldest row (expired_at, superseded_by; lifecycle, no new text); fenced copies are struck through put_page, which runs the gate',
'src/core/repair/extractor-facts.ts': 'owner repair of existing rows',
'src/core/repair/redacted-facts.ts': 'owner repair behind a preview hash: puts back into existing fact rows the words a stored source page proves; fenced rows publish through put_page, which runs the gate',
'src/core/repair/facts-rehome.ts': 'owner repair moving existing facts onto their entity page (placement)',