Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

behavior notice: #7183/#7187/#7188 rows take since at the slot stamp

garrytancf7b81d79916
diff --git a/src/core/behavior-change-notice.ts b/src/core/behavior-change-notice.ts
index cde92e9b5a..be2e372f8b 100644
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@ -1036,9 +1036,9 @@ export const BEHAVIOR_CHANGES: ReadonlyArray<{ since: string; text: ChangeText;
{ since: '0.60.330.0', text: 'Classic `gbrain sync --full` no longer deletes pages it cannot prove were removed (#7130): when Git cannot list the history that shows their files were committed (a dangling ref fails `git log --all`), it keeps every stale page with a warning, where before it skipped the never-committed check and deleted them all. With readable history it deletes as before.' },
{ since: '0.60.330.0', text: 'The autopilot purge phase and the `purge` job no longer hard-delete a page that a managed sync soft-deleted unless another live page of the same source has identical content (#7130). Each sync deletion now leaves a durable record (op_checkpoints `sync-delete-tombstone`; a tombstone from before this release is recognized by its uncompacted `managed_sync_delete` receipt, and one whose receipt was compacted is not). Held pages are reported as `sync_delete_unreviewed` in the phase\'s `purged_pages_blocked` and counted in `held`, and the phase reports warn. `gbrain pages purge-deleted` still purges them after consent: its dry run reports `sync_unreviewed` and its consent text names how many of the set are sync deletions with no live twin and that a purged page can only come back from a backup. The purge phase\'s recovery window (pages and orphan clone temp dirs), and the `purge` job\'s default, now follow `purge.retention_hours` instead of a fixed 72 hours. It can only lengthen the window (default and minimum 72, so a 72-hour restore promise always holds); `gbrain config set` refuses a smaller value.' },
{ since: '0.60.330.0', text: 'New doctor check `uncommitted_sync_deletions` and explicit-only repair kind `gbrain repair uncommitted-deletions --source <id>` (#7130): on each managed source\'s owner host, doctor warns about soft-deleted pages a sync removed although Git never held their recorded file (`.gitignore` excludes it, or no commit holds it and it is not on the disk), bounded to 20,000 tombstones per source and 2,000 Git evidence reads per run. The repair previews each page (slug, recorded path, deletion time, evidence, whether a sync deleted it) with a hash; `--apply --expect <hash> --yes` restores exactly that set, each page live and database-only (detached: it forgets its recorded file and no file is written), so the next sync keeps it. Pages another writer deleted join only with `--include-ambiguous`; a sync deletion is recognized by its record or receipt for the page\'s current tombstone. A preview reads one bounded window, newest page id first, and `--after <page-id>` (named in the preview\'s `next_after` and in the doctor message) continues past it. It refuses off the owner host (`not_owner_host`) and a changed plan (`preview_changed`); without `--yes` a non-interactive run exits 3 and changes nothing. Pages already purged cannot be restored by this command; only a backup (pg_dump, or `gbrain backup create`) can bring them back. It never runs on upgrade or automatically.' },
- { since: '0.60.330.0', text: 'On Postgres, gbrain opens its transactions READ WRITE and runs an autocommit statement refused as read-only (SQLSTATE 25006) once more inside a READ WRITE transaction, so a server connection whose default is read-only (a session-level SET another client left on a transaction-mode pooler connection, or a role or database default) no longer stops sync, page writes, leases or the jobs queue. A refusal that persists (a read-only server) is now `connection_inherited_read_only` in the write receipt, `gbrain sync status` (systemic, needs the database operator) and the CLI and MCP error envelope, instead of `storage_error` or `internal_error`. Deliberately read-only transactions (graduation, export, sync pass reads) stay read-only.' },
- { since: '0.60.330.0', text: 'The worker stall detector no longer stops when a drain lease holder died without deleting its `gbrain-drain-lease` row: dead-lettering that row broke a table constraint and aborted every sweep, so every job left `active` with an expired lock stayed there. The sweep now deletes a holder row whose holder stopped renewing it (logged as dropped holder rows) and reclaims stranded jobs as before, and the wall-clock timeout sweep skips holder rows, which it used to fail on during any drain longer than its threshold.' },
- { since: '0.60.330.0', text: 'A Minions job whose handler result reports a failed phase or a `failed` / `blocked_by_failures` status now ends `failed` (no retry) instead of `completed`: its error names the phase, code and message, and its result is kept with `job_outcome` set (`phase_failed` plus `failed_phase` for a failed phase, `failed` otherwise); under `on_child_fail: fail_parent` it fails its parent. An `autopilot-cycle` job that ended `phase_failed` does not count toward the source failure cooldown, so one failing phase never backs off a source (or stops its sync); a thrown handler, a timeout or stall, and `blocked_by_failures` still do. A result that reports unfinished work without a failure (`status: partial` or `partial: true`) still completes, with `job_outcome: "partial"` added. Skips and clean results are unchanged.' },
+ { since: 'TBD', text: 'On Postgres, gbrain opens its transactions READ WRITE and runs an autocommit statement refused as read-only (SQLSTATE 25006) once more inside a READ WRITE transaction, so a server connection whose default is read-only (a session-level SET another client left on a transaction-mode pooler connection, or a role or database default) no longer stops sync, page writes, leases or the jobs queue. A refusal that persists (a read-only server) is now `connection_inherited_read_only` in the write receipt, `gbrain sync status` (systemic, needs the database operator) and the CLI and MCP error envelope, instead of `storage_error` or `internal_error`. Deliberately read-only transactions (graduation, export, sync pass reads) stay read-only.' },
+ { since: 'TBD', text: 'The worker stall detector no longer stops when a drain lease holder died without deleting its `gbrain-drain-lease` row: dead-lettering that row broke a table constraint and aborted every sweep, so every job left `active` with an expired lock stayed there. The sweep now deletes a holder row whose holder stopped renewing it (logged as dropped holder rows) and reclaims stranded jobs as before, and the wall-clock timeout sweep skips holder rows, which it used to fail on during any drain longer than its threshold.' },
+ { since: 'TBD', text: 'A Minions job whose handler result reports a failed phase or a `failed` / `blocked_by_failures` status now ends `failed` (no retry) instead of `completed`: its error names the phase, code and message, and its result is kept with `job_outcome` set (`phase_failed` plus `failed_phase` for a failed phase, `failed` otherwise); under `on_child_fail: fail_parent` it fails its parent. An `autopilot-cycle` job that ended `phase_failed` does not count toward the source failure cooldown, so one failing phase never backs off a source (or stops its sync); a thrown handler, a timeout or stall, and `blocked_by_failures` still do. A result that reports unfinished work without a failure (`status: partial` or `partial: true`) still completes, with `job_outcome: "partial"` added. Skips and clean results are unchanged.' },
// Wave B follow-ups lane F2 (#7106: a managed import or sync of a new page over 4 MiB replies at commit). `since` is stamped at the merge slot.
{ since: '0.60.331.0', text: 'A managed `gbrain import` or `gbrain sync` of a new page over 4 MiB stored in segments now replies when the write commits, before its search index is built, instead of waiting for that build (which on a loaded host outlasted the 30 s import wait and replied `write_pending`). The import result and the write\'s receipt say `searchable: "pending"` and `projection: "pending"`; the import result also carries the `request_id`, `searchable_retry_after_ms` and `searchable_fix`. Read the receipt again (`gbrain write-request -- <request_id>`, `get_write_request`) at that interval until it says `searchable: true`; search finds the page from then on. The build no longer holds up the source\'s next write either. A new page up to 4 MiB, and an edit of a page stored in segments, is still searchable when its import replies (`searchable: true`). A `put_page` of a new page over 4 MiB, whose receipt already said `searchable: "pending"`, now also replies at commit instead of after the build.' },
// Wave B follow-ups lane F3 (#7122 remote append_page mention links). `since` is stamped at the merge slot.