Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Merge wave 20 lane 1

time-attackb284c6d46c91
diff --cc src/core/behavior-change-notice.ts
index 9347a38d1b,479eec404b..fde46abaff
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@@ -904,14 -904,16 +904,24 @@@ export const BEHAVIOR_CHANGES: Readonly
{ 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.' },
{ 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.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).' },
+ // Wave 20 lane 1 (#6944 #6945 #6940 #6953 #6958 #6997 #6808).
+ { since: '0.60.307.0', text: '`gbrain recall --since <value>` now refuses a value it cannot read (and a `--since` with no value) with `invalid_params` (exit 2), echoing the value and listing the accepted forms, instead of silently recalling every time window. `--session` / `--session-id` with no ID refuses the same way instead of recalling every session. The CLI and the recall operation now share one `--since` parser.' },
+ { since: '0.60.307.0', text: '`gbrain recall --since-last-run` (and `--watch`) on a local brain no longer skips facts when more than `--limit` of them arrived since the last run. A run that fills the window now shows the OLDEST `--limit` new facts (newest first within the page) and the next run continues right after the last one shown, until it catches up; before, it showed the newest `--limit` and the rest were never shown. The cursor file keeps `schema_version: 1` and gains two optional fields, so cursor files from earlier versions keep working. A thin client cannot page yet: when its window is full it prints a warning to raise `--limit`.' },
+ { since: '0.60.307.0', text: '`get_health` / `gbrain health` `most_connected` no longer counts links to or from soft-deleted pages, so a hub whose neighbours were deleted drops in the ranking instead of keeping their edges (#6940). The islanded scan already applied this liveness rule.' },
+ { since: '0.60.307.0', text: 'The dream cycle\'s `edge_contradictions` phase now judges a `works_at` group only when its subject is a person (the pack\'s `person` type or a type that declares `aliases: [person]`) and its targets can employ someone: links from companies, and links to people, meetings, conversations, emails, sources, notes or inbox pages, no longer become "Ended works_at" proposals, and such malformed groups no longer use up the phase\'s subject limit (#6953). Link extraction no longer types a link to a conversation, email, source, note or inbox page as `works_at` (it stays `mentions`). Open proposals made earlier are not re-checked: reject unwanted ones with `gbrain edge-proposals reject <id>`. The judge prompt is unchanged.' },
+ { since: '0.60.307.0', text: 'Automatic mention linking now skips a page of any type whose whole title is one generic word (such as "Info", "Team" or "Update"); before, only person pages were skipped, so a company or concept page with such a title collected a mention link from every page that used the word (#6958). The page itself is unchanged, multi-word titles still link, and `gbrain extract mentions --explain <slug>` reports the reason as `generic_token`.' },
+ { since: '0.60.307.0', text: 'When `chat_fallback_chain` answers a `gbrain think` (or `think` tool) call, the result now names the model that answered instead of the configured one that failed: `modelUsed`, `cost_usd`, the synthesize verb\'s `cost.model` and a `--save` page\'s `model:` frontmatter use it. New fields `requested_model` (the configured model) and `fallback_reason` (why it did not answer; omitted for HTTP MCP callers) appear only after a fallback, and the human output says `(fallback from ...)`. Calls the first model answers are unchanged.' },
+ { since: '0.60.307.0', text: '`gbrain extract links --source db` (and `extract all --source db`, `extract --stale`) no longer aborts the whole run at the first page whose source, or whose link target\'s source, has no sources row. That page keeps its links and watermark and the run continues; the summary counts it as `skipped_unknown_source`, names the first 20 in `unknown_source_pages` (JSON) and names the missing sources. Re-running extract does not clear these pages: re-register the source or remove its pages (#6808).' },
+ // Wave 20 lane 1, pending D9 (#6966).
+ { since: '0.60.307.0', text: '`gbrain extract timeline --from-meetings` (and its background job) no longer writes "Discussed in ..." timeline rows for a meeting that has not happened yet. A meeting waits until its frontmatter `end` has passed (else `start`, else the meeting date); the meeting page is unchanged and a later run adds the rows once it has ended (#6966).' },
];
/** The newest disclosed change's release: the notice id moves only when a release adds rows. */