Garry's Opinionated OpenClaw/Hermes Agent Brain
Upgrade to v0.60.61.0: paid queued jobs carry the user's approval, one MCP tool surface, HTTP status mode
Four behavior changes reach existing brains. Paid commands that queue work
(book-mirror, enrich --background, jobs submit enrich|subagent) ask for
consent before queueing and the worker holds them to the approved total. New
stdio registrations use the starter tool surface. A gbrain serve --http
that cannot open its brain stays up in status-only mode. Stdio MCP sessions
receive onboarding coaching notices.
Finish the upgrade.
gbrain upgraderuns it. To be sure, on the brain host:gbrain apply-migrations --yes --no-autopilot-installMigration v205 adds the spend-authorization columns to the job queue.
Restart every worker,
gbrain serveand autopilot. Only upgraded workers claim jobs that carry a spend authorization; an older worker stops claiming at the first such job in its queue. Check:gbrain doctor --only legacy_job_authority --jsonTell the user about queued paid jobs from before the upgrade. A
book-mirrororenrichjob queued before this release runs aslegacy_defaultunder a $5 cap (enrich: its own--max-usdwhen set). A chapter on an expensive model can stop withderived_cap_exhausted; rerunning the command skips completed chapters. List them:gbrain jobs list --jsonCancel a group only with the user's agreement:
gbrain jobs cancel --group <id>.Expect consent prompts on background paid work.
gbrain enrich --backgroundandgbrain jobs submit enrich|subagentexit 3 with the consent payload unless the user authorized the spend (--yes,--max-usd <usd>, a preapproval orspend.posture=tokenmax). Relay the estimate to the user and rerunfix.argvafter they agree.Know the tool surface. New stdio registrations (readiness fix, init,
bootstrap hooks, plugins) pin--surface starter. Existing registrations keep their surface. A stdio session that needs a hidden tool callsrequest_toolswith{ "surface": "full" };mcp.allow_session_widen=falseturns that off. StdioservehonoursGBRAIN_SURFACE.Shared HTTP brains. A
gbrain serve --httpwhose brain is locked, missing or unconfigured answers/healthwith 503 andRetry-After: 5and recovers on the same port once the brain opens. Container health checks that need the old exit use--fail-fastorGBRAIN_SERVE_FAIL_FAST=1. After recovery, clients re-list tools or reconnect.
Rolling the binary back leaves queued spend-authorized jobs unclaimable;
cancel them first with gbrain jobs cancel --group <id>.