Garry's Opinionated OpenClaw/Hermes Agent Brain
Upgrade to v0.60.53.0: automatic facts on PGLite, scoped dashboard keys
Two behavior changes reach existing brains. On PGLite, gbrain serve now
turns queued pages into facts on its own, which spends money on the
configured facts model. New admin-dashboard API keys get read and write, not
admin, unless the user ticks admin.
Finish the upgrade.
gbrain upgraderuns it. To be sure, on the brain host:gbrain apply-migrations --yes --no-autopilot-installMigration v202 converts every legacy token grant to the grant columns without changing what any token can do; v203 adds per-client source and takes-holder columns. Restart every
gbrain serve, autopilot and worker.Tell the user about the automatic facts drain (PGLite only). It is on by default. Each extracted page is one paid chat call, capped at $1 per run and $5 per rolling day. Show the state:
gbrain doctor --only facts_drain --jsonIf the user does not want automatic extraction, run
gbrain config set facts.extraction_enabled falseafter they say so. Raise a cap (facts.drain_budget_usd,facts.drain_daily_budget_usd) only with their agreement. Guide:docs/guides/facts-drain.md.Show the user any full-access API keys.
gbrain doctor --only legacy_token_null_scope --jsonEach listed key can do everything, including admin. Ask the user which keys need admin; narrow the rest with the printed command, for example
gbrain auth rescope --id <token-id> --scopes read,write. Never narrow a key without the user's agreement: an agent using it may lose access.Check the repairs this release adds.
gbrain doctor --only revision_backfill,legacy_token_grant_shape --json gbrain repair take-supersession # preview; writes nothingFollow
revision_backfill's printed command if it warns. Show the user the take-supersession preview before running it with--apply.Know the new options.
gbrain auth rescope --client <id> --sources nonegives an OAuth client no source access without rotating its secret;--takes-holders a,b|nonesets which takes it can read.