Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Classify the purge's in-transaction soft delete as a lifecycle writer in the write-gate inventory
garrytan21a65d753265
diff --git a/test/trust-write-gate-drift.test.ts b/test/trust-write-gate-drift.test.tsindex 270cbccf5b..dfd6e07dea 100644--- a/test/trust-write-gate-drift.test.ts+++ b/test/trust-write-gate-drift.test.ts@@ -50,6 +50,7 @@ const EXEMPT: Record<string, string> = {'src/core/page-body/segment-rewrite.ts': 'forget, withdrawal and fact purge strike or drop existing fence rows of a segmented body (lifecycle); no new text','src/core/persistence/links-maintenance.ts': 'link extraction from stored page text','src/core/persistence/loop-fact-retirement.ts': 'expires a loop fact (lifecycle)',+ 'src/core/persistence/page-purge.ts': 'the purge\'s in-transaction recheck versions and soft-deletes the page it was asked to purge when a page derived from it still needs it (lifecycle); no new text','src/core/persistence/forget-prepare.ts': 'forget (lifecycle): strikes withdrawn rows and records the withdrawal; it writes no new claim','src/core/repair/captured-facts.ts': 'owner repair of existing rows','src/core/repair/agent-session-facts.ts': 'owner repair of existing rows',