Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
chore: keep the segmented-storage behavior rows for the release that turns the switch on
garrytaneb7138badc36
diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.tsindex 53b0da945d..f52de40059 100644--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@ -641,10 +641,6 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText }// #6610: classic unfenced facts on database-only pages.{ since: '0.60.249.0', text: 'On a brain without managed persistence, `extract_facts` (and the v0.32.2 fence step) now fences unfenced facts of a database-only page (no recorded file and none at its slug path) into the page\'s database body when such a write is database-only (`sync.write_through` off, or on Postgres an unbound source with `persistence.unbound_write=database_only`, which stamps the page `unbound_source`), instead of reporting a missing canonical file and halting the facts fence every run. Without that opt-in the rows stay unfenced and their page skips reconciliation, but they no longer count as pending (`legacyRowsPending`) or trigger the guard; doctor `fence_integrity` lists them under `unbound_legacy_facts` and asks the user about the opt-in, and the migration reports them as `skipped_unbound_source`.' },{ since: '0.60.249.0', text: 'On a brain without managed persistence, `gbrain restore` / `restore_page` of a soft-deleted page whose recorded file is gone from the checkout now refuses (`source_changed`, detail `canonical_file_absent`) when the restore writes no file, instead of restoring a page the next `gbrain sync --full` deletes again. Put the file back and sync, or pass `--detach` (`detach: true`) to restore it database-only (`database_only_reason=detached`, no `source_path`); a file synced back at its path binds the page again. New doctor check `missing_recorded_files` lists live pages a full sync would delete this way.' },- // 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. */