Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Merge branch 'gbra133-side-unknown-holds' into gbra133-effect-claim-release

garrytanfc1b7bf2cf34
diff --cc src/core/behavior-change-notice.ts
index b93468874a,a4a3de3f69..d49f870c2c
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@@ -1184,8 -1188,11 +1188,13 @@@ export const BEHAVIOR_CHANGES: Readonly
// #7436 (GBRA-151). `since` is restamped at the merge slot.
{ since: '0.60.410.0', text: 'A page write onto a file that differs from the database no longer stops the write owner (`serve`) while gbrain checks, with Git, whether the file holds a committed change sync has not imported yet: the Git commands are awaited instead of run synchronously, so lease renewals and other preparations keep going, and the preparation deadline now ends the check, killing its Git process group (SIGTERM, then SIGKILL after 2 s) instead of letting the preparation run on. A preparation stalled in that check, or in the new-page `.gitignore` check, now reports `waiting_on=git` instead of `waiting_on=db` with the last statement before Git started (`last_sql=SELECT_sources`). The refusals are unchanged (#7436).' },
{ since: '0.60.411.0', text: '`gbrain doctor` no longer counts a check that did not finish within the run\'s budget as a warning in `health_score` or the category scores. The report counts those checks in `unknown_count`, a category with no finished check is listed in `unknown_scores` instead of scoring 100, and the status stays at warnings, never healthy. `derived_visibility` now runs as its own check right after the cheap incident checks, so it no longer waits on the wave checks\' budget.' },
+ // #7236 (GBRA-151). `since` is stamped at the merge slot.
+ { since: '0.60.414.0', text: 'An autopilot tick reads the brain health aggregate once (it used to read it twice), and on Postgres the read is bounded at 120 s. A read that runs out reports `health_degraded` (an NDJSON event under `--json`) and the tick runs with an unknown score: no healthy sleep, no score-forced full cycle before the hourly floor, the base interval, and `brain_score: null`. The timeout is not counted as a failed cycle.' },
+ // Dead-owner effect-claim release (GBRA-133).
+ { since: 'TBD', id: 'dead_owner_effect_claims', text: 'On Linux with Postgres, when a gbrain process is killed while it runs a Git, embedding, links, facts or withdrawal-mirror effect, another consumer on the same machine now takes that effect over within about 5 s, instead of after the effect\'s 2-minute claim lease (the same rule #6650 gave write claims). An owner on another machine or container, an owner whose process this one cannot inspect, and an effect holding a recovery record wait as before. A takeover cannot apply an effect twice: the old claim\'s outcome writes are refused, and Git and mirror effects still wait for the worktree lock while the old owner holds it.' },
+ // Side-unknown file_drift holds and the pending-import fix (GBRA-133). `since` is stamped at the merge slot.
+ { since: 'TBD', id: 'legacy_validate_stamp_drift', text: 'A page an older gbrain imported, whose database copy carries the v0.13.1 grandfather stamp `validate: false` that its file lacks, is no longer held `file_drift` when its file is committed again: sync compares and imports such a file the way a page write already did (#6429), so the first sync records the page and a later commit imports, and the page keeps the stamp. A `file_drift` hold that has no import record now says it cannot tell whether the file or the database changed, instead of saying the page changed in the database. Holds already open are re-screened as before (`gbrain sources retry-held <source>`).' },
+ { since: 'TBD', id: 'pending_import_owner_safe_fix', text: 'A write refused because its page\'s file holds a committed Git change sync has not imported yet (`pending_import`) no longer tells the caller to run `gbrain sync --source <source> --no-pull`. A running sync owner (`gbrain serve`, autopilot or a sync job) imports the commit on its own, and a second sync beside it competes with that owner. The fix of every such refusal, `put_page` included, is now the read-only `gbrain sync status --source <source> --json`, and the frozen `remember` refusal carries that fix too.' },
];
/** The newest disclosed change's release: the notice id moves only when a release adds rows. */