Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Merge remote-tracking branch 'origin/capy/belief-w1-trust' into capy/belief-ledger-w1

garrytan20a681f3fe54
diff --cc src/core/trust/held-removals.ts
index 1a0bce624c,4b38478bb9..6174748d00
--- a/src/core/trust/held-removals.ts
+++ b/src/core/trust/held-removals.ts
@@@ -27,10 -26,10 +27,12 @@@ import { reprojectTimelineRow } from '.
import { decisionResult, getTrustProposal, transitionTrustProposal, type TrustDecisionContext, type TrustDecisionResult, type TrustProposalRow } from './proposals.ts';
import { storedTrustTier } from './tier.ts';
import { assertInlineBody } from '../page-body/page-shape.ts';
+import { materializeSegmentedBody } from '../page-body/ingest.ts';
+import { segmentedOverCeiling } from '../persistence/segmented-apply.ts';
+ import { withBeliefBatch } from '../belief/ledger.ts';
+ import { markBeliefCommits } from '../belief/append.ts';
-interface HeldPageRow { id: number; page_id: number; source_id: string; slug: string; body_storage: 'inline' | 'segmented' | null; compiled_truth: string; timeline: string | null }
+interface HeldPageRow { id: number; page_id: number; source_id: string; slug: string; body_storage: 'inline' | 'segmented' | null; body_bytes: number | null; compiled_truth: string | null; timeline: string | null }
async function heldRow(engine: BrainEngine, table: string, id: number): Promise<(HeldPageRow & Record<string, unknown>) | undefined> {
const columns = table === 'takes' ? 'x.row_num, x.claim' : 'x.date::text AS date, x.source, x.summary';