Garry's Opinionated OpenClaw/Hermes Agent Brain
Upgrade to v0.60.98.0: a malformed facts or takes fence never blocks a sync
A page whose facts or takes table cannot be imported without dropping or
guessing rows is now held by managed sync (code invalid_fence): the rest
of the source syncs, the checkpoint advances, and the hold names the fence,
section, rows and reason. A source such a fence blocked before this release
recovers by itself.
Finish the upgrade.
gbrain upgraderuns it; no schema migration is added. Restart everygbrain serve, autopilot and worker.Unblock a source a fence blocked.
gbrain post-upgradeprints afence_holds:line naming each such source. The next scheduled or manual sync recovers it automatically; to do it now run:gbrain sync --source <id> --no-pullThe blocked request is converted in place (
converted_from_failed): the file is held and everything else imports. No--retry-failed.Tell the user what is held, then fix it.
gbrain sources status <id> # each fence hold: fence, section, rows, reason gbrain get --source <id> -- <slug> # read the pageEdit only the named fence in the file (the user's file: say what you will change), commit, then
gbrain sync --source <id> --no-pull. Do not rungbrain repair frontmatterfor a fence hold; it does not touch fences. To add rows without hand-editing a table, useremember(facts) ortakes_add(takes). Aprepare_timehold was refused against stored rows (for example a takes row number a stored take already uses): fix it as itsfence.reasonsays; after a database-side fix rungbrain sources retry-held <id>.Know the behavior changes.
- Coordinated writes (
put_pageon a managed brain, managed import) refuse a malformed fence with codeinvalid_fenceand areason; the wireerrorstaysinvalid_params(take_row_collisionfor a stored-row collision). Correct the named fence and resubmit with a new request_id. - Legacy (unmanaged) sync still imports such a page with its bad rows skipped and never holds it.
- Teams that want fail-closed blocking keep
gbrain config set sync.holds fail; a fence refusal then blocks with the typed text. Company-brain sources always fail closed: fix the fence in the repository and commit.
- Coordinated writes (
Verify:
gbrain doctor --only git_held_files --json gbrain sources status --jsongit_held_fileslists each source's fence holds with the status read and the sync command; it clears when the files are fixed.