Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(#7112): the receipt behavior row describes the tokenized statement and template-only names
garrytanb15025eda290
diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.tsindex b50d5b1aa8..04115777d0 100644--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@ -1018,7 +1018,7 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText;{ since: '0.60.324.0', text: '`edit_page` accepts `within` to restrict a match to a range returned by a window read (`edit_target`), and edits a page stored in segments by rewriting only the segments the match touches instead of reading the whole page back.' },// #7112 (Postgres 15 SQL compatibility, owner-exception error text). `since` is restamped at the merge slot.{ since: 'TBD', text: 'Managed sync, put_page, source config updates, archive and restore, and the dream-breaker reset work again on Postgres 15: they used the Postgres 16+ `IS JSON` predicate (and doctor jsonb_integrity and `gbrain repair-jsonb` used `pg_input_is_valid`), a syntax error (42601) on Postgres 15 that failed every managed sync checkpoint. They now use a new `gbrain_try_jsonb(text)` function (migration v263) on every server. The same guard no longer fails a config merge or a dream-breaker reset whose stored text is JSON but not jsonb (a \\u0000 escape); that value now reads as an empty object, like other unparseable text.' },- { since: 'TBD', text: 'A write that ends `storage_error` on an unexpected database server error now keeps, owner-side in the receipt, the server message with quoted values replaced by … (`error_text`), the first line of the failing statement with its literals replaced and never its parameters (`statement`), and the error position; a PL/pgSQL RAISE keeps no text. On the brain host `gbrain write-request <id> --json` now prints the receipt\'s `error_detail`, and the persistence consumer log line adds `error_text=`, `statement=` and `position=`. Remote readers see no new field.' },+ { since: 'TBD', text: 'A write that ends `storage_error` on an unexpected database server error now keeps, owner-side in the receipt, the server message with any quoted value replaced by … (`error_text`; object names stay only in known catalog messages or when the statement names them), the failing statement with every literal, number and comment replaced and never its parameters (`statement`), and the error position; a PL/pgSQL RAISE or ASSERT keeps no text. On the brain host `gbrain write-request <id> --json` now prints the receipt\'s `error_detail`, and the persistence consumer log line adds `error_text=`, `statement=` and `position=`. Remote readers see no new field.' },];/** The newest disclosed change's release: the notice id moves only when a release adds rows. */