Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Merge origin/master (v0.60.120.0) into capy/6340-sync-holds-resume-unblock
garrytanccf080959b3c
diff --cc src/core/behavior-change-notice.tsindex 9ce49b0d28,dafcf22508..d11041c163--- a/src/core/behavior-change-notice.ts+++ b/src/core/behavior-change-notice.ts@@@ -340,10 -340,7 +340,11 @@@ export const BEHAVIOR_CHANGES: Readonly// R2 facts extraction default (GBRA-60); `since` is a placeholder equal to the branch's VERSION until the merge-slot stamp.{ since: '0.60.118.0', text: 'Background fact extraction now uses claude-haiku-5-5 instead of claude-sonnet-4-6 when no model is set and the reasoning tier resolves through Anthropic (less than a tenth of the cost; it passed a facts-absorb quality gate against Sonnet 4.6, with 4.6 points fewer planted items covered on natural transcripts). `gbrain config set facts.extraction_model anthropic:claude-sonnet-4-6` keeps the previous model; installs that resolve through OpenAI, or set facts.extraction_model, models.tier.reasoning or models.default, are unchanged.' },{ since: '0.60.119.0', text: 'On Postgres, gbrain now keeps one small file per database under `~/.gbrain/cache/pg-types/` with the parameter types the database described for gbrain\'s statements (hashes and type numbers only, no SQL text or credentials), so the next command skips those round trips; it is ignored when the Postgres or schema version differs and deleted when a migration runs. `GBRAIN_PG_TYPE_CACHE_PERSIST=0` keeps the types in memory only.' },+ { since: '0.60.120.0', text: 'Link typing changed (Q2, confirmed on held-out data): "adviser" and "is an advisor to [X]" type advises, and "not an advisor to [X]" does not; board, observer and investor wording never types works_at; a dated advisory, board or investor role is not an employment start. Every page re-extracts its links once in the background (zero model calls; `gbrain extract --stale` finishes it now, `gbrain doctor --json` reports links_extraction_lag 0 when done). Turning `line_grammar.enabled` on or off now re-extracts every page too, so the graph follows the setting; typed relation lines stay opt-in.' },+ // #6340 (GBRA-64); `since` is a placeholder equal to the branch's VERSION until the merge-slot stamp.+ { since: '0.60.119.0', text: 'A managed catch-up no longer stops on a page that moved under it: a database page that changed after the manifest was frozen is held as `concurrent_write` (re-bound and passed when it already holds what the file would import), uncommitted working-tree bytes that match neither the pinned commit nor the page are held with the new code `worktree_dirty`, and working-tree bytes committed at HEAD past the pinned target are imported as HEAD has them; the run finishes `synced` with the holds listed instead of `blocked_by_failures` (`sync.holds=fail` and company-brain sources keep blocking).' },+ { since: '0.60.119.0', text: 'A managed sync drain that loses its database connection (`write ECONNABORTED`, `ECONNRESET`, `ETIMEDOUT`, `EPIPE`) now reconnects and retries at 5, 15 and 45 seconds instead of exiting, and a connection fault is no longer recorded in the sync failure ledger, so a relaunch (with or without `--retry-failed`) resumes at the stored cursor against the frozen manifest instead of re-freezing it; three drops in a row with no page committed between them stop the drain `connection_lost`.' },+ { since: '0.60.119.0', text: 'New commands `gbrain sync status --source <id> --json` (cursor position, pages committed in the last 10 minutes, each hold and the last error with `class`, `safe_actions` and `needs_human`, and `next`) and `gbrain sync unblock --source <id> [--apply] --json` (performs the safe action for every hold and the last error, refuses the rest by name) let an operator agent drive a catch-up without a human; the decision table is `docs/guides/sync-unblock-runbook.md`.' },];/** The newest disclosed change's release: the notice id moves only when a release adds rows. */