Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs(changelog): v0.60.461.0 entry and BEHAVIOR_CHANGES rows

garrytan20462507126f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cf25e0f1a6..6903f94964 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,19 @@ 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.461.0] - 2026-10-25
+
+**A sync pass killed by an out-of-memory guard or a timeout now shows up in`gbrain sync status`and`gbrain doctor`instead of looking healthy. A read-only stdio serve no longer holds session-lane connections or runs the long-lived processes' write duties, so per-session serves can't starve them.**
+
+A killed pass used to read`resumable`/`pass_unfinished`, the same as one that stopped cleanly at its deadline, and`live`still named the dead PID because its lock row outlives it. Now an open pass that no process is still renewing reads`pass_interrupted`, a second killed pass reads`pass_abandoned`at once, and doctor's`managed_sync_blocked`lists both. This is the visibility half of #7596; the memory growth itself is still being traced on real data.
+
+Harnesses run one`gbrain serve --access read-only`per session. Each one opened the 3-connection resident direct pool, started a persistence consumer, took the on-commit notifier lease and ran sweeps, so a few sessions could exhaust the session lane (`EMAXCONNSESSION`). A read-only serve now holds 0 session-lane connections and runs none of those duties; search latency is unchanged (warm p50 about 0.8 s on both lanes at 50 ms RTT, 3,000 synthetic pages).
+
+### Itemized changes
+
+-`src/core/persistence/sync-lease.ts`,`sync-pass-status.ts`,`sync-status.ts`,`sync-blocked.ts`,`src/commands/sync/operator.ts`,`src/commands/doctor/checks/managed-sync-blocked.ts`:`drainHolderLive`, the`pass_interrupted`reason and`interrupted`block, and the doctor listing. Test:`test/sync-pass-interrupted-7596.test.ts`.
+-`src/core/direct-pool-profile.ts`,`src/commands/serve.ts`,`src/mcp/server.ts`,`src/mcp/resolve-ipc-binding.ts`: a read-only stdio serve takes the one-shot profile and skips the consumer, the delegated sync, nudge and sweep kinds, the resident tickers and the sweeps. Tests:`test/direct-pool-profile.test.ts`and`test/e2e/serve-read-only-session-lane-postgres.test.ts`(3 direct connections on the previous release, 0 now).
+
## [0.60.460.0] - 2026-10-25
**Facts that belong in a page's `## Facts` table now get there and stay there: a legacy fact row with an empty notability or confidence is adopted instead of halting reconciliation every run, `repair duplicate-facts` keeps the fenced copy, and consolidation on a managed brain closes a fenced fact in its fence row so a re-import no longer reopens it.**
diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.ts
index 4c1af63423..534c8522bd 100644
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@ -1302,6 +1302,8 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText;
{ since: '0.60.460.0', text: 'A legacy fact row whose `notability` or `confidence` is empty (a long-lived database whose column lost its NOT NULL) is now adopted into its page\'s `## Facts` table with the column default (notability `medium`, confidence 1) instead of being refused as unadoptable (`parse`) on every run, which held its page out of fact reconciliation and booked an `integrity_guard` halt each cycle. The fence cell is written first and the row derives its values from it. A row with no kind or visibility is still refused.' },
{ since: '0.60.460.0', text: '`gbrain repair duplicate-facts` keeps the copy that is a row of a page\'s `## Facts` table over an older database-only copy of the same fact, so the legacy copy is superseded onto the fence row instead of holding it (which left the legacy row unfenced and its page out of fact reconciliation). With no fenced copy it still keeps the oldest row. It stays preview-first and explicit.' },
{ since: '0.60.460.0', text: 'Dream consolidation on a managed brain now closes a fenced fact in its page: the closing `valid_until` is written into the fact\'s row in the entity page\'s `## Facts` fence, published with the take, and the database row takes its value from that cell, so a later sync or re-import keeps the fact closed. Before, only the database row was closed and the next re-import of the page reopened it. A fact with no fence row is still closed in the database. A fenced fact whose fence row is on another page is left open. Facts an earlier release closed in the database only are not changed (GBRA-190).' },
+ { since: '0.60.461.0', text: '`gbrain serve --access read-only `(stdio) no longer acts as a resident owner: it holds no session-lane (direct pool) connection, starts no persistence consumer, takes no on-commit notifier lease, runs no startup or idle sweep or facts drain, and refuses delegated sync and sweep requests (the CLI then runs them itself). Resolve, turn_context and context_pack still answer. A read-write serve, `gbrain jobs work `or the autopilot owns those duties; `gbrain doctor `reports when no process on the host holds the notifier (`commit_notifier`) or a consumer (`two_consumers_on_host`). Read-write and HTTP serves are unchanged.' },
+ { since: '0.60.461.0', text: 'A managed sync pass whose process was killed or crashed now reads `resumable `/ `pass_interrupted `in `gbrain sync status `(with an `interrupted `block naming the pass and the dead holder) instead of `pass_unfinished`, and a second killed pass reads `blocked `/ `pass_abandoned `at once. `gbrain doctor ``managed_sync_blocked `lists both (warn, fail after an hour). A live pass still committing is no longer counted abandoned because its row is old.' },
];
/** The newest disclosed change's release: the notice id moves only when a release adds rows. */