Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
GBRA-161 PR 5: write-gate drift exemption moves to the single-page adapter
garrytan6d76c6d61115
diff --git a/test/trust-write-gate-drift.test.ts b/test/trust-write-gate-drift.test.tsindex 1391643008..97b856cb5c 100644--- a/test/trust-write-gate-drift.test.ts+++ b/test/trust-write-gate-drift.test.ts@@ -25,7 +25,6 @@ const EXEMPT: Record<string, string> = {'src/core/calibration/undo-wave.ts': 'restores prior take lifecycle fields; no new text','src/core/company-brain/profile.ts': 'company profile publication of an owner-approved company source (operator_curated, never gated)','src/core/cycle/dream-provenance.ts': 'stamps provenance frontmatter; no new text',- 'src/core/cycle/drift.ts': 'adjusts take weights from evidence drift; no new text','src/core/cycle/grade-takes.ts': 'writes resolution fields on existing takes; no new claim text','src/core/cycle/phantom-redirect.ts': 'slug redirect (placement only)','src/core/embed-facts.ts': 'embedding columns only',@@ -82,13 +81,12 @@ const EXEMPT: Record<string, string> = {'src/core/trust/supersede-handlers.ts': 'owner accept/undo re-tiers existing rows inside the checked supersede','src/core/repair/conversation-labels.ts': 'owner repair of existing conversation labels','src/core/facts/conversation-relink.ts': 'free conversation relink sets entity_slug and a context note on existing derived rows; no claim text is written, so there is nothing for the gate to judge',- 'src/core/cycle/dream-taint.ts': 'the dream summary index page lists the run\'s output pages (gbrain-generated), stamped at their taint',+ 'src/core/generations/adapters/single-page.ts': 'the dream summary (an index of the run\'s output pages, stamped at their taint), the drift report (gbrain-generated) and the pending think --save page (quote-grounded synthesis, no page gate seam yet), each a single-item generation (GBRA-161 PR 5)','src/core/facts/fence-write.ts': 'callers decide the gate (backstop, loops-extract) and pass the decision; it records the flag receipt on the new row','src/core/facts/write-single.ts': 'callers gate first (loops-extract decides; remember gates in memory-prepare); it records a passed decision\'s flag receipt','src/core/output/writer.ts': 'gbrain integrity auto-repair (owner-run local CLI) rewrites citations and back-links of existing pages','src/core/persistence/atom-maintenance.ts': 'pending: the managed atom page carries intent.derivation; the page gate runs in page-prepare once it reads that declaration','src/core/persistence/prepared-maintenance.ts': 'consolidation takes gate in takes-prepare; pending: derived maintenance pages carry intent.derivation for the page-prepare gate',- 'src/core/think/index.ts': 'pending: the think --save page (quote-grounded synthesis, unverified claims moved to frontmatter) has no page gate seam on its direct putPage',};function inventory(): string[] {