Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs(changelog): GBRA-133 PR 1 entry; BEHAVIOR_CHANGES since 0.60.309.0

garrytan89d042d368b8
diff --git a/CHANGELOG.md b/CHANGELOG.md
index edfd61a537..792fcb09f1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,31 @@ credits are retained; no result has been reassigned to another provider. Origina
identifiers and attribution are available in the pre-removal Git revision
`6040075c6cb95be5881cc2e1b76ef7d71f4e5d29` (retained on 2026-09-23).
+## [0.60.309.0] - 2026-10-19
+
+**Classic sync no longer stops, or quietly drops a file, when one file is strange: it holds that file, names the fix, imports the rest and moves the bookmark.** Symlinks, unreadable files, FIFOs, files missing from a sparse checkout, names that aren't valid UTF-8 and renames whose old title the database can't compare each used to block a source for three runs or vanish without a word. A force-pushed upstream is now a typed refusal with a guarded fix instead of a raw Git error, and five smaller errors that stopped sync for good are fixed.
+
+### What changed
+
+| Situation | Before | Now |
+|---|---|---|
+| A symlink, FIFO, device, unreadable (EACCES/EPERM) file or symlink loop in a classic source | blocked the source for three runs, then auto-skipped it, or dropped it silently | held `file_unreadable` with a typed reason and fix; the rest imports and the bookmark advances; re-screened every run |
+| A committed file missing from the checkout (sparse checkout, deletion not committed) | treated as deleted after the pin and dropped silently | held `absent_from_worktree` (`skip_worktree` or `deleted_locally`) |
+| A file name that isn't valid UTF-8 or holds a tab or newline | decoded lossily and checkpointed as deleted, or skipped with a log line naming no path | read as bytes and held `unsupported_path`; the fix renames it without putting the name in an argv |
+| A gitlink (submodule) in the range | left unindexed with nothing said | reported once as `gitlink_not_followed` |
+| A rename whose old title or id holds a NUL byte or broken Unicode | stopped the source | held `rename_identity_unreadable`; an old page that can't be removed is held `rename_reconcile_failed` |
+| A force-pushed or diverged upstream on a classic pull | a raw Git error on every run | `upstream_rewritten` or `upstream_diverged` with both commits, and `gbrain sources reset-upstream <id> --expect-local <sha> --expect-upstream <sha>`, which acts only while both still match |
+| A stored page an older gbrain validated that expands past the S-47 alias bound | stopped its source as `sync_parser_regression`; advice said to pin the last good version | held alone as `frontmatter_alias_limit`; advice never suggests pinning a release older than 0.60.305.0 |
+| A keyless brain | queued embed-backfill jobs that failed | queues none; one already queued ends once as `embed_backfill_skipped` |
+| A managed sync job submitted without pull options | failed permanently | imports HEAD |
+| A mention whose target isn't a valid slug (#7008) | failed the links effect | skipped before locking |
+| `gbrain backup check` on a big dirty tree or slow remote (#6907) | over 1 MiB of status read `probe_failed`; a fixed 2 s remote timeout looked like a missing backup | reads dirty; `backup.remote_timeout_ms` (0.5–30 s); a timeout is counted in `totals.remote_timeouts` and named as one |
+| Managed dream synthesis after upgrading from pre-managed mode (#6924) | re-synthesised old transcripts | counts a completion while its dream-generated page still exists in the same source |
+
+`sync.holds=fail` keeps the old fail-closed classic behaviour. Docs: `docs/guides/write-refusals.md`, `docs/guides/sync-unblock-runbook.md`.
+
+Contributed by @tarush1989, whose #6950 and #6951 found the pre-managed synthesis gap.
+
## [0.60.307.0] - 2026-10-18
**A token scoped to one source can no longer read other sources' data through `gbrain remote doctor`.** Fifteen remote doctor checks ignored the caller's source grant, so a source-bound token saw other sources' ids, names, sync lag, embed coverage, failed jobs and page counts (directly, or by subtracting its own share from a brain-wide total). Every check now reads only the sources the token is granted. Local `gbrain doctor` and unscoped admin callers see exactly what they saw before.
diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.ts
index 627cc87fee..9347a38d1b 100644
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@ -905,13 +905,13 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText;
{ 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.' },
{ since: '0.60.307.0', text: 'The remote doctor (`run_doctor`, `gbrain remote doctor`) now confines every check to the sources the caller may read. A source-scoped token no longer sees other sources\' ids, names, lag, embed coverage or failed jobs in `federation_health` and `sync_freshness`, or brain-wide counts in `sync_consolidation`, `links_extraction_lag` (each granted source is graded on its own and the worst is reported), `schema_pack_source_drift`, `graph_signals_coverage`, `hidden_by_search_policy`, `link_resolution_opportunity`, `embedding_migration_state`, the synopsis-failure line of `contextual_retrieval_coverage`, `brainstorm_health`, `abandoned_threads`, `calibration_freshness`, `grade_confidence_drift` and `voice_gate_health`. `federation_health` grades a scoped caller\'s sources even when it is granted only one. The local doctor and unscoped callers are unchanged.' },
// GBRA-133 PR 1 (sync wave: never blocked on strange errors). `since` is restamped at the merge slot.
- { since: '0.60.307.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.307.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.307.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.307.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.307.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.307.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.307.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).' },
+ { since: '0.60.309.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.309.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.309.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.309.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.309.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.309.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.309.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. */