Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test(trust): atoms-restore is an exempt lifecycle writer (it reinstates a version that already passed the gate)

garrytan2d1eafcf60c2
diff --git a/test/trust-write-gate-drift.test.ts b/test/trust-write-gate-drift.test.ts
index f111f65889..d192122f92 100644
--- a/test/trust-write-gate-drift.test.ts
+++ b/test/trust-write-gate-drift.test.ts
@@ -62,6 +62,7 @@ const EXEMPT: Record<string, string> = {
'src/core/repair/ghost-pages.ts': 'retires an owner-approved ghost page (version + soft delete, lifecycle); no new text',
'src/core/repair/ontology-facts.ts': 'owner repair restoring existing ontology rows',
'src/core/repair/stale-atoms.ts': 'retires stale atoms (lifecycle)',
+ 'src/core/repair/atoms-restore.ts': 'restores an owner-approved retired atom to its own earlier version (lifecycle); no new text',
'src/core/repair/take-supersession.ts': 'owner repair of take supersession pointers',
'src/core/repair/timeline-comments.ts': 'owner repair of timeline comment markup',
'src/core/schema-pack/page-to-alias.ts': 'schema-pack retype of existing pages',