Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Merge remote-tracking branch 'origin/master' into capy/lhf-wave-2
garrytan6ce80221331a
diff --cc src/core/behavior-change-notice.tsindex bfa1b12d70,2e5257185f..c923743538--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@@ -686,8 -686,10 +686,12 @@@ export const BEHAVIOR_CHANGES: Readonly{ since: '0.60.257.0', text: 'On Windows, a PGLite brain whose data directory makes the IPC socket path longer than 107 bytes now places its sockets at `%USERPROFILE%\\.gbrain\\run\\<kind>-<hash>.sock` (the Postgres scheme, same `.gbrain-ipc-secret` guard) instead of failing to bind them, so hooks and local commands reach `gbrain serve` again. A path still too long is logged as `ipc_path_too_long` and reported by the new doctor check `ipc_socket_path`.' },{ since: '0.60.257.0', text: '`gbrain backup create` on PGLite now refuses before it takes the lock or writes anything when the brain is outside what its archive holds: a data directory that is not `<root>/.gbrain/brain.pglite` or is reached through a symlink is `unmanaged_database_path` (a `.gbrain` alias used to get `symlink_path`), and an estimated archive over 8 GiB is `backup_too_large` (it used to run the dump and fail late). Under `--json` both are their own envelope with an ask-the-user physical-copy fix instead of `storage_error`; the legacy `reason` is unchanged. Doctor `pglite_data_dir` now warns on a healthy PGLite brain whose estimated archive passes 6 GiB.' },{ since: '0.60.257.0', text: '`gbrain bootstrap harness --token` on a PGLite brain now wires the harness when no serve answers at the serve URL and none holds the brain, and exits 13 with JSON `status: "pending_verify"` instead of exit 1 before writing anything. Re-run the same command with the same `--token` once `gbrain serve --http` runs to verify it; `gbrain bootstrap harness --status` reports `status: "partial"` and exits 1 until that run passes. A serve holding the brain at another URL, any HTTP answer, no `--token` and Postgres brains still fail as before. The harness `--json` result gains `status` (`ok`, `failed` or `pending_verify`).' },+ // #6803 parts 1 and 4 hotfix. `since` is a placeholder equal to the branch's VERSION until the merge-slot stamp.+ { since: '0.60.258.0', text: 'An automatic embed-backfill that ends with nothing embedded and the same blocked pages (a projection that keeps failing to rebuild) is no longer resubmitted every 10 minutes: the next automatic submission waits twice the cooldown per identical failure, and after 3 identical failures sync, connector and federation submitters stop (`stalled`) until the blocked pages or the stale chunks change or a run embeds something. A retry inside one job that finds the same blockers dead-letters at once with `embed_backfill_stalled`. Doctor `embed_backfill_stalled` names the blocked pages and `gbrain projections drain --dry-run` previews the repair. `gbrain embed --stale` and `gbrain jobs submit embed-backfill` are not held back.' },+ { since: '0.60.258.0', text: 'A managed Google or GitHub source whose credential no longer matches its pinned account is now skipped by autopilot after the first refusal (fan-out `unavailable-path`, freshness `freshness_source_path_skipped` with `code: connector_account_changed`) instead of being synced and refused every interval. Doctor `connector_account_mismatch` lists such sources. A `gbrain sync --source <id>` that passes the account check, or a change to the source\'s connector config, clears the skip.' },+ { since: '0.60.258.0', text: 'A connector source\'s autopilot cycle now extracts facts and recomputes emotional weight only for that source\'s pages changed since its last completed cycle. Before, both phases walked every page in the brain on every connector cycle, which on a large brain ran past the 30-minute job deadline, so the cycle never finished and repeated the full walk.' },+ // LHF wave 2 item 0 (GBRA-94): tokenmax `query` no longer expands by default.- { since: '0.60.258.0', text: '`gbrain query` no longer runs LLM query expansion by default on `tokenmax`, so no search mode expands by default. On 300 LongMemEval-S questions with the reranker, `query` without expansion kept retrieval within noise (298 vs 299 of 300) and its p50 fell from about 2 s to about 230 ms (gbrain-evals expansion-latency report, 2026-10-14). To keep expanding: `gbrain config set search.expansion true` for the brain, or pass `--expand` / `expand: true` per call.' },++ { since: '0.60.259.0', text: '`gbrain query` no longer runs LLM query expansion by default on `tokenmax`, so no search mode expands by default. On 300 LongMemEval-S questions with the reranker, `query` without expansion kept retrieval within noise (298 vs 299 of 300) and its p50 fell from about 2 s to about 230 ms (gbrain-evals expansion-latency report, 2026-10-14). To keep expanding: `gbrain config set search.expansion true` for the brain, or pass `--expand` / `expand: true` per call.' },];/** The newest disclosed change's release: the notice id moves only when a release adds rows. */