Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Wave B PR 1: draft BEHAVIOR_CHANGES rows (commented, since TBD; nothing changes while the switch is off)
garrytan04bd5812c63b
diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.tsindex 45f0e55115..c0636d8877 100644--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@ -618,6 +618,10 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText }// Large pages A3/T44, A4/T32 (Lane 3a).{ since: '0.60.242.0', text: 'Replacing a page\'s chunks now writes them in bounded batches (at most 500 rows and 16 MiB of encoded rows per statement) after one prune, all in the same transaction, instead of one statement carrying every chunk. A page with thousands of chunks no longer builds one giant statement, and a failure in any batch still rolls the whole replacement back.' },{ since: '0.60.242.0', text: 'A chunk vector is now tied to the chunk\'s text and its full embedding input rather than its position. When an edit inserts or removes chunks above it, a projection rebuild moves the unchanged chunk to its new index with its vector instead of dropping it, so only new or changed chunks wait for embedding. An embed that finishes after the page changed now commits the vectors of the chunks that are still the same (same text, source and embedding input) and leaves the rest for the next run, instead of discarding the whole run; the page\'s embedding signature is stamped only when every chunk got its vector. A vector built under an old title or synopsis is still dropped.' },+ // Wave B PR 1 (segmented page storage) DRAFT rows, since 'TBD': stamp the version and uncomment at merge. Nothing changes+ // while `pages.segmented_storage` is off (the default), so ship them only if the release documents the switch.+ // { since: 'TBD', text: 'New `pages.segmented_storage` setting (default `off`, experimental). When it is `on`, a page over 1 MiB is stored as content-addressed segments instead of one text column: `gbrain import` accepts a Markdown file up to 256 MiB on Postgres or 128 MiB on PGLite (`pages.max_bytes` lowers it), ingesting it in two streaming passes with bounded memory, and a rewrite re-indexes only the segments that changed. Pages at or under 1 MiB are stored exactly as before. Until the next release, reading the whole body of such a page (`get_page` full, export, `revert_version`) refuses with `page_body_segmented`; `get_page` with `body: none` reports its size as `body_bytes`. A file over 24 MiB that holds facts or takes fences, or a frontmatter `id`, is held instead of imported.' },+ // { since: 'TBD', text: 'Pages written while `pages.segmented_storage` is on keep at most `versions.segmented_max_per_page` (default 50) version snapshots, and fewer when the old text they pin exceeds `versions.segmented_max_pinned_bytes` (default 64 MiB, never below the page size). A snapshot of such a page records its segment generation instead of copying the body. History of every other page is unchanged.' },];/** The newest disclosed change's release: the notice id moves only when a release adds rows. */