Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore(#7193): BEHAVIOR_CHANGES row for the --images exit, unsearchable counts, held remainder and source did-you-mean

garrytan07498ee6191f
diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.ts
index 51ccf1faf1..31ac5a5ac7 100644
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@ -1019,6 +1019,8 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText;
// #7112 (Postgres 15 SQL compatibility, owner-exception error text). `since` is restamped at the merge slot.
{ since: '0.60.326.0', 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: '0.60.326.0', 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.' },
+ // #7193 (GBRA-151). `since` is restamped at the merge slot.
+ { since: '0.60.331.0', text: '`gbrain embed --stale --images` now exits 1 (`status: nothing_rebuilt`, with a `reason` counting missing files, files the importer left unchanged, pages that need a fresh OCR pass and failures) whenever it rebuilds none of its candidate image pages; before, only a sweep where every source file was missing failed. `gbrain pages unsearchable` adds `semantic_unsearchable` (unsearchable plus keyword_only, which vector search cannot reach) and `awaiting_sync` (files sync still holds, which no embedding state counts), and its headline leads with what vector search cannot reach. An incomplete embed-backfill job now counts chunks on large pages held for approval or at their spend cap in its remaining total and names them. An unknown `--source` names the source it most likely meant.' },
// #7125 and #7117 (GBRA-145). `since` is restamped at the merge slot.
{ since: '0.60.327.0', text: 'Fact extraction no longer rewrites the facts it stores: the prompt-injection filter used to delete words such as "System" before a parenthesis, so "Business System (ABS)" was saved as "Business [redacted](ABS)". Injection phrases are now neutralized only where stored facts are rendered into a model prompt (standing questions, turn context, proactive briefs). `gbrain doctor --only facts_redaction_marker` counts facts damaged earlier; `gbrain repair redacted-facts` previews what a source page can prove and changes nothing until you apply the printed `--apply --expect <hash>` command.' },
{ since: '0.60.327.0', text: 'The embed sweep that finds chunks whose text changed after they were embedded now runs in 5,000-chunk batches, keeps its place between runs (at most 60 seconds per run) and starts a new pass once a day (`embed.content_drift.pass_interval_hours`, default 24); before, one statement covered the whole brain and a large brain cancelled it on every run. `gbrain doctor --only content_drift_sweep` shows each pass and any error.' },