Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Classify the moved-pages fold in the write-gate and = flag reader inventories (GST-2584)
garrytan4e1bbe54b64e
diff --git a/test/cli-flag-equals.test.ts b/test/cli-flag-equals.test.tsindex af85d71045..e49bead1e5 100644--- a/test/cli-flag-equals.test.ts+++ b/test/cli-flag-equals.test.ts@@ -442,6 +442,7 @@ describe('#7619 split rules', () => {'src/commands/doctor/checks/foreign-writers.ts': 'git child argv','src/core/persistence/pending-import.ts': 'git child argv','src/core/persistence/sync-blobs.ts': 'git child argv',+ 'src/core/persistence/moved-pages.ts': 'git child argv','src/cli/enforced-commit-push.ts': 'git child argv','src/cli/enforced-member.ts': 'the GBRAIN_ENFORCED_MEMBER gate reads both forms of the recall and sync flags it checks, so an = spelling cannot skip a refusal or the source check','src/core/bootstrap/repo.ts': 'git child argv',diff --git a/test/trust-write-gate-drift.test.ts b/test/trust-write-gate-drift.test.tsindex 818a415afc..270cbccf5b 100644--- a/test/trust-write-gate-drift.test.ts+++ b/test/trust-write-gate-drift.test.ts@@ -68,6 +68,7 @@ const EXEMPT: Record<string, string> = {'src/core/repair/frontmatter.ts': 'owner repair of existing frontmatter','src/core/persistence/twin-merge.ts': 'owner repair or post-sync heal of verified duplicate-origin twins (#6948): moves rows the twin already stores (links, timeline, raw data, tags, aliases, facts) onto the canonical page with their tiers unchanged, then soft-deletes the twin; no new text, and a tier difference holds the file instead of merging','src/core/repair/ghost-pages.ts': 'retires an owner-approved ghost page (version + soft delete, lifecycle); no new text',+ 'src/core/repair/moved-pages.ts': 'owner repair behind a preview hash: folds a page whose file provably moved into the moved page (twin merge of stored rows, its versions re-pointed, then soft delete); 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/persistence/derived-retirement-hold.ts': 'versions, soft-deletes and stamps derived pages a writer retires (lifecycle); writes no content',