Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs(behavior): disclose GBRA-133 PR 1 behavior changes (since restamped at the merge slot)
garrytana55073e408ed
diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.tsindex 3d3753be42..98aafac208 100644--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@ -903,6 +903,14 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText;{ since: '0.60.299.0', text: 'Doctor `segmented_storage` no longer tells you to upgrade this host when the only writes holding segmented storage off are this host\'s own from before its upgrade and the upgraded gbrain has since made the same kind of write (the same import or sync type, resident kind or managed principal), after the last of them: it reports the hold as information with the time it clears. Another host, an older `serve` or worker still running on this host, or an older write this build has not matched (a cron job or `npx` run on this host) keeps the warning and the `gbrain upgrade` fix.' },{ since: '0.60.299.0', text: 'Managed sync of a Markdown file over 24 MiB whose origin another page records (a page renamed with its file) now imports it into that page, as for a smaller file, instead of failing it `revision_conflict` ("A different page already owns this file identity") and stopping the source\'s sync at it.' },{ since: '0.60.299.0', text: '`gbrain repair stuck-recovery` now resolves a page recovery whose file is over 24 MiB, which used to be listed as refused (`recovery_large_file_unsupported`) with no exit while it stopped every write on its source\'s worktree. The preview lists it with both fingerprints and the state of the staged copy of the prior file, backs up both versions, and writes a summary instead of a full diff (both hashes and sizes, the first byte where they differ, and a window of at most 1 KiB); `--apply --expect <hash> --keep prior|disk --yes` resolves it as it does a small file. Every read, hash and copy of the large file is done in pieces of at most a segment. When the staged copy of the prior file is missing or damaged, `--keep prior` refuses with `recovery_prior_stage_unavailable`, whose fix is the `--keep disk` apply, which keeps a damaged copy in the backup directory and removes it from the checkout.' },+ // GBRA-133 PR 1 (sync wave: never blocked on strange errors). `since` is restamped at the merge slot.+ { since: '0.60.306.0', text: 'Classic (unmanaged) sync now holds a file it cannot import instead of stopping the source or dropping the file silently: a symlink, a FIFO or device, an unreadable file (EACCES/EPERM) and a symlink loop are held `file_unreadable`; a committed file missing from the checkout (sparse checkout, deletion not committed) is held `absent_from_worktree`; a name that is not valid UTF-8 or holds a control character is held `unsupported_path` under a key that keeps its exact bytes. The rest of the source imports and the bookmark advances; each hold names its fix and re-screens on every run. A gitlink (submodule) in the range is reported once as `gitlink_not_followed`. `sync.holds=fail` keeps the old fail-closed behaviour.' },+ { since: '0.60.306.0', text: 'Classic sync no longer stops on a rename whose old title or frontmatter id the database cannot compare (a NUL byte or broken Unicode): the file is held `rename_identity_unreadable`, and a rename whose old page cannot be removed is held `rename_reconcile_failed`. A failure whose message only looks like a connection error is no longer treated as a lost connection.' },+ { since: '0.60.306.0', text: 'When the upstream of a classic source is force-pushed or diverges, `gbrain sync` reports `upstream_rewritten` or `upstream_diverged` with both commits instead of a raw Git error. New command `gbrain sources reset-upstream <id> --expect-local <sha> --expect-upstream <sha>` moves the checkout to the new upstream only when both commits still match (refused `reset_upstream_refused` otherwise); it never runs on its own.' },+ { since: '0.60.306.0', text: 'A page whose stored frontmatter an older gbrain imported but expands past the YAML alias bound (S-47, v0.60.305.0) is held alone as `frontmatter_alias_limit` instead of stopping its source as `sync_parser_regression`. Parser-regression advice no longer suggests pinning an older release: it says to upgrade, or set GBRAIN_SYNC_PARSER_REGRESSION=hold, and never to pin a release older than 0.60.305.0.' },+ { since: '0.60.306.0', text: 'A brain without an embedding provider no longer queues embed-backfill jobs; one already queued ends once with the notice `embed_backfill_skipped`. A managed sync job submitted without pull options imports the checkout HEAD instead of failing permanently. A mention whose link target is not a valid slug is skipped instead of failing the links effect (#7008).' },+ { since: '0.60.306.0', text: '`gbrain backup check` reads a dirty tree as dirty however long its status listing is (a listing over 1 MiB used to read `probe_failed`), the remote probe timeout is configurable with `backup.remote_timeout_ms` (or GBRAIN_BACKUP_REMOTE_TIMEOUT_MS, 0.5 to 30 s, default 2 s), and a timed-out probe is counted in `totals.remote_timeouts` and named as a timeout, not as a missing backup (#6907).' },+ { since: '0.60.306.0', text: 'Managed dream synthesis counts a transcript a pre-managed run already synthesised as done while a dream-generated page naming that transcript still exists in the same source, so upgrading to managed mode no longer re-synthesises old transcripts (#6924).' },];/** The newest disclosed change's release: the notice id moves only when a release adds rows. */