Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript
2.8 KB
Raw Blame
{
  "content": [
    {
      "type": "text",
      "text": "{\n  \"status\": \"unavailable\",\n  \"reason\": \"missing_brain\",\n  \"why\": \"The brain configured in {{HOME}}/.gbrain/config.json is not at {{HOME}}/mnt/external/gbrain/brain.pglite (an unmounted drive or a moved folder?), so this server cannot open it. Nothing was created there.\",\n  \"brain_path\": \"{{HOME}}/mnt/external/gbrain/brain.pglite\",\n  \"config_path\": \"{{HOME}}/.gbrain/config.json\",\n  \"fix\": {\n    \"mcp\": {\n      \"tool\": \"gbrain_status\",\n      \"arguments\": {}\n    },\n    \"consent\": [],\n    \"actor\": \"user\",\n    \"why\": \"Mount or reconnect the drive that holds {{HOME}}/mnt/external/gbrain/brain.pglite, or point `database_path` in {{HOME}}/.gbrain/config.json at where the brain lives now; then call gbrain_status again and this server opens the brain in place. If your client does not refresh its tool list after recovery, restart this MCP server.\",\n    \"user_message\": \"Your gbrain brain is configured at {{HOME}}/mnt/external/gbrain/brain.pglite, but nothing is there right now. Is it on a drive that needs mounting, or did it move? Once it's back I'll reconnect. If it's gone for good I can create a new empty brain, but your old notes would not be in it.\",\n    \"verify\": {\n      \"argv\": [\n        \"gbrain\",\n        \"doctor\",\n        \"--only\",\n        \"connection\",\n        \"--json\"\n      ]\n    },\n    \"requires_exclusive\": false\n  },\n  \"user_message\": \"Your gbrain brain is configured at {{HOME}}/mnt/external/gbrain/brain.pglite, but nothing is there right now. Is it on a drive that needs mounting, or did it move? Once it's back I'll reconnect. If it's gone for good I can create a new empty brain, but your old notes would not be in it.\",\n  \"decisions\": [\n    {\n      \"id\": \"missing_brain_recovery\",\n      \"question\": \"The brain at {{HOME}}/mnt/external/gbrain/brain.pglite is not there. Bring it back, or start a new empty brain?\",\n      \"options\": [\n        {\n          \"id\": \"reconnect\",\n          \"label\": \"Mount or move the brain back; this server reconnects on the next gbrain_status call.\"\n        },\n        {\n          \"id\": \"new_brain\",\n          \"label\": \"Create a new, empty keyless brain at that path (the old notes are not in it).\",\n          \"argv\": [\n            \"gbrain\",\n            \"init\",\n            \"--pglite\",\n            \"--no-embedding\",\n            \"--path\",\n            \"{{HOME}}/mnt/external/gbrain/brain.pglite\"\n          ]\n        }\n      ],\n      \"default\": \"reconnect\",\n      \"default_reason\": \"Nothing is created or overwritten; the user's existing brain comes back as soon as its drive does.\"\n    }\n  ],\n  \"checked_at\": \"{{TIME}}\",\n  \"contract_version\": 1,\n  \"surface\": \"verbs\",\n  \"surface_source\": \"flag\"\n}"
    }
  ]
}