Garry's Opinionated OpenClaw/Hermes Agent Brain
Upgrade to v0.60.284.0: finish a split rename, entities across sources, doctor history versus live problems
This release has no schema migration and rewrites nothing on upgrade. Walk these steps on the brain host and relay anything that needs the user.
Finish the upgrade.
gbrain upgraderuns it. To be sure:gbrain apply-migrations --yes --no-autopilot-installA Postgres brain that was wedged on v0.11.0 only because it has no
sync.repo_pathclears on this run; the ledger gets aretryrow with reasonphase_f_no_repo_path. Doctorminions_migrationthen names the autopilot install command for the brain; ask the user before installing it.Settle renames sync kept aside. List the open pairs and their remedies:
gbrain doctor --only rename_identity_downgrades --json gbrain repair rename-identity --source <id>For each pair, preview the remedy the report names (
gbrain repair rename-identity --source <id> --slug <new-slug>, plus--from <old-slug>when two pairs share a new slug) and show the user what moves. Only after the user agrees, run the apply command the preview prints (--apply --expect <hash> --yes; destructive). If the user says the files are different documents, preview and apply--closeinstead. On a managed source only--closeis available this release (managed_remedy_unavailable);gbrain restore <old-slug> --source-id <id> --forcestays the alternative wherever doctor names it.Bootstrap exit 14.
gbrain bootstrap harness(and--status) now exits 14 (bootstrap_cleanup_pending) while earlier shared-skills enrollments or carried token ids still await cleanup. Treat 14 as "wired, cleanup pending", not as a failure: followfix.nextin the--jsonresult (re-run the same command, or relay the owner's revoke or restore step), then re-run.Container installs: keep the writer lock on durable storage. When the source checkout contains GBRAIN_HOME, the writer lock now lives under
GBRAIN_COORDINATION_HOME, else~/.gbrain/persistence. In a container, ask the user to setGBRAIN_COORDINATION_HOMEto a mounted directory outside the checkout so the lock survives recreation. Check the path and the rule that chose it:gbrain sources writer status --json # onboarding.sources[].coordination_lock gbrain doctor --only coordination_lock_location --jsonA recorded lock always wins; never edit or delete a reservation.
Link conversation facts for free. Doctor
unlinked_factsnow prescribes the free relink first:gbrain facts relink --conversation --dry-run gbrain facts relink --conversationDoctor offers a paid re-extraction only for facts the free pass could not link, capped at an amount the user approves. Ask the user before running it.
One mention rescan. The next
gbrain extract --staleor maintenance pass rescans inline pages once and removes falsementionslinks that gbrain's fence markers created. Entity cards show apendingcoverage notice until it finishes. "Discussed in" timeline bullets the old scan already wrote are not removed; tell the user they can delete them by hand.Managed google sources. A managed
gbrain sources add --kind googlemade before this release dropped--contacts-dir,--future-daysand--loops-exclude-labels. If the user passed them, set them again.
Verify:
gbrain doctor --only rename_identity_downgrades,unlinked_facts,coordination_lock_location,facts_extraction_health --json