Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
repair secret-spans: list the writer as owner-repair exempt in the write-gate drift census
garrytan9b4a7e7bd66c
diff --git a/test/trust-write-gate-drift.test.ts b/test/trust-write-gate-drift.test.tsindex 3aedb21313..8da93f280c 100644--- a/test/trust-write-gate-drift.test.ts+++ b/test/trust-write-gate-drift.test.ts@@ -59,6 +59,7 @@ const EXEMPT: Record<string, string> = {'src/core/generations/adapters/fact-rows.ts': 'generation restore puts back a fact row\'s own recorded before-state (lifecycle); no new text','src/core/repair/fact-claim-dates.ts': 'owner repair moving the valid_from of existing database-only facts to the date their claim states (lifecycle)','src/core/repair/extractor-facts.ts': 'owner repair of existing rows',+ 'src/core/repair/secret-spans.ts': 'owner repair behind a preview hash: replaces only the credential spans the secret scanner finds in a page\'s stored copies with <REDACTED:rule> markers (no new text)','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)','src/core/repair/frontmatter.ts': 'owner repair of existing frontmatter',