Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript
13.2 KB
Raw Blame
{
  "golden": [
    {
      "elapsed_ms": "<volatile>",
      "message": "1 skills, all reachable",
      "name": "resolver_health",
      "status": "ok"
    },
    {
      "details": {
        "enabled": true,
        "engine": "postgres",
        "fired_recently": false,
        "last_fired": null,
        "path": "postgres direct",
        "policy_skill_installed": false
      },
      "elapsed_ms": "<volatile>",
      "message": "postgres direct; enabled; not observed firing yet — policy skill not installed; run `gbrain integrations install retrieval-reflex --target <host-repo>`",
      "name": "retrieval_reflex_health",
      "status": "ok"
    },
    {
      "details": {
        "channels": {},
        "window_days": 7
      },
      "elapsed_ms": "<volatile>",
      "message": "no push-context activity in 7 days — note: the harness-hook channels require a PGLite serve socket — on this engine the hook lane stays quiet by design (pull-mode retrieval covers it)",
      "name": "volunteer_channels",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "no verb calls recorded yet (sidecar appears on first remember/recall/entity/synthesize/forget)",
      "name": "memory_verbs_usage",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "1/1 skills pass",
      "name": "skill_conformance",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "1 skill(s) compliant or exempt",
      "name": "skill_brain_first",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "No skills.lock.json in <home>/skills — integrity check not applicable",
      "name": "skills_manifest_integrity",
      "status": "ok"
    },
    {
      "details": {
        "drifted": [],
        "new": [
          "academic-verify",
          "archive-crawler",
          "article-enrichment",
          "ask-user",
          "blog-ingest",
          "book-mirror",
          "brain-ingest-gate",
          "brain-link-discipline",
          "brain-ops",
          "brain-pdf",
          "brain-taxonomist",
          "briefing",
          "bulk-ingestion",
          "capture",
          "chat-connectors",
          "citation-fixer",
          "citation-graph-ingest",
          "cold-start",
          "company-brainify",
          "concept-synthesis",
          "context-audit",
          "conversation-archive",
          "correction-pipeline",
          "cron-scheduler",
          "cross-modal-review",
          "daily-task-manager",
          "daily-task-prep",
          "data-loss-gate",
          "data-research",
          "draft-in-voice",
          "eiirp",
          "enrich",
          "fact-check",
          "functional-area-resolver",
          "gbrain-advisor",
          "google-loops",
          "idea-ingest",
          "idea-lineage",
          "ingest",
          "maintain",
          "mcp-access",
          "measure-before-you-fix",
          "media-ingest",
          "meeting-ingestion",
          "minion-orchestrator",
          "perplexity-research",
          "publish",
          "query",
          "repo-architecture",
          "reports",
          "research-compendium",
          "resolve-before-asking",
          "signal-detector",
          "skill-autobench",
          "skill-creator",
          "skillify",
          "skillpack-check",
          "skillpack-harvest",
          "soul-audit",
          "storage-manifest",
          "strategic-reading",
          "testing",
          "two-tier-extraction",
          "voice-note-ingest",
          "webhook-transforms"
        ]
      },
      "elapsed_ms": "<volatile>",
      "message": "65 new built-in skill(s) available that this workspace hasn't installed: academic-verify, archive-crawler, article-enrichment, ask-user, blog-ingest, book-mirror, brain-ingest-gate, brain-link-discipline, … +57 more. Add them with `gbrain skillpack sync`.",
      "name": "skill_currency",
      "status": "warn"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "no installed skills declare preconditions",
      "name": "skill_preconditions",
      "status": "ok"
    },
    {
      "details": {
        "scope": "managed",
        "totals": {
          "bytes": 100,
          "drift": 0,
          "invocations": 0,
          "size": 0,
          "skills": 1,
          "subcommands_unverified": 0
        }
      },
      "elapsed_ms": "<volatile>",
      "message": "1 skill(s), 0 KB (commands and flags not checked outside the CLI); no findings",
      "name": "skill_health",
      "status": "ok"
    },
    {
      "details": {
        "enabled": false,
        "out_of_band_settable": true,
        "reason": "disabled"
      },
      "elapsed_ms": "<volatile>",
      "message": "memorable relay off (default)",
      "name": "memorable_relay_health",
      "status": "ok"
    },
    {
      "details": {
        "audience": "personal",
        "audience_reasons": [
          "no shared declaration; 0 non-automation client(s) active in 30d"
        ],
        "backstop_visibility": "private",
        "capture_lanes": {
          "compact": "extract",
          "session_end": "extract",
          "writeback": "retire"
        },
        "corpus_source_holds": {
          "legacy_unstamped": 0,
          "sessions": 0,
          "unresolved": 0
        },
        "counters_note": "local, append-only, loss-tolerant observability over the last 7d — never a source of truth",
        "cross_lane_duplicates_7d": 0,
        "instruction_visibility": "world",
        "mode": "off",
        "mode_valid": true,
        "near_duplicates_shadow_7d": 0,
        "nudge_shown": false,
        "transient_ttl": "3d",
        "ttl_valid": true,
        "visibility_note": "world = readable by agents authorized on THIS brain, not the public internet"
      },
      "elapsed_ms": "<volatile>",
      "message": "ambient writeback off (default): Stop-hook turn capture is off, but the compaction harvest and SessionEnd transcripts still extract (installing the harness hooks opted into them; stop them: gbrain config set memory.auto_writeback off). Enable: gbrain config set memory.auto_writeback salient",
      "name": "memory_writeback",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "No chat connectors configured (optional).",
      "name": "connectors",
      "status": "ok"
    },
    {
      "details": {
        "breaker_enabled": true,
        "count_exact": true,
        "inspected_keys": 0,
        "keys": [],
        "threshold": 3
      },
      "elapsed_ms": "<volatile>",
      "message": "No dream key died 3+ times in 24h",
      "name": "dream_paid_loop",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "mode=notify",
      "name": "self_upgrade_health",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "Bun <bun-version> (minimum 1.4.4)",
      "name": "bun_runtime",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "disabled (opt-in). Enable with: gbrain config set autopilot.nightly_quality_probe.enabled true",
      "name": "nightly_quality_probe_health",
      "status": "ok"
    },
    {
      "details": {
        "kinds": [],
        "schema_version": 1
      },
      "elapsed_ms": "<volatile>",
      "message": "no extractions in last 7 days",
      "name": "extract_health",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "disabled (opt-in). Enable with: gbrain config set cycle.conversation_facts_backfill.enabled true",
      "name": "conversation_facts_backlog",
      "status": "ok"
    },
    {
      "details": {
        "backlog": 0,
        "known_approximation": "page backlog only; transcript corpus not counted",
        "pack_declares_phase": false
      },
      "elapsed_ms": "<volatile>",
      "message": "no pages awaiting atom extraction",
      "name": "extract_atoms_backlog",
      "status": "ok"
    },
    {
      "details": {
        "health": "unknown"
      },
      "elapsed_ms": "<volatile>",
      "message": "atom provenance query returned no rows",
      "name": "atom_provenance_drift",
      "status": "warn"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "No conversation-type pages — coverage check not applicable",
      "name": "conversation_format_coverage",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "No progressive-batch operations in the last 7 days",
      "name": "progressive_batch_audit_health",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "disabled (opt-in; default-on only for search.mode=tokenmax). Enable with: `gbrain config set autopilot.conversation_parser_probe.enabled true`",
      "name": "conversation_parser_probe_health",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "gbrain home is outside any enclosing git worktree.",
      "name": "home_dir_in_worktree",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "No abandoned PGLite store under the gbrain home (engine: postgres).",
      "name": "pglite_leftovers",
      "status": "ok"
    },
    {
      "details": {
        "docs": "docs/guides/repair.md#embedding-key-source",
        "embedding_key": {
          "config_key": "voyage_api_key",
          "kind": "missing",
          "variable": "VOYAGE_API_KEY"
        },
        "embedding_model": "voyage:voyage-4",
        "shadows": []
      },
      "elapsed_ms": "<volatile>",
      "message": "No embedding key is set here (VOYAGE_API_KEY or voyage_api_key). No environment variable overrides a different config-plane provider key. This check sees only the environment `gbrain doctor` runs in; a daemon (gbrain serve, autopilot) has its own, and reports a mismatch in its log with a startup warning or embedding_auth_failed.",
      "name": "embedding_key_source",
      "status": "ok"
    },
    {
      "details": {
        "decision": null,
        "provider_env": []
      },
      "elapsed_ms": "<volatile>",
      "message": "No gbrain setup receipt records a provider-use decision for this install; provider calls follow the configured keys.",
      "name": "provider_consent",
      "readiness_state": "not_applicable",
      "severity": "info",
      "status": "ok"
    },
    {
      "details": {
        "reason": "no_harness_detected"
      },
      "elapsed_ms": "<volatile>",
      "fix": {
        "actor": "user",
        "consent": [
          "persistent_install"
        ],
        "docs": "docs/protocol/MEMORY_VERBS_v1.md#install-the-4-command-quickstart",
        "requires_exclusive": false,
        "user_message": "Which agent app should get gbrain memory? The install guide has a one-line command for each.",
        "why": "For Claude Code or Codex, run `gbrain setup claude-code` or `gbrain setup codex` (it registers serve behind gbrain's launcher, so the session directory's bunfig.toml and .env never load). For any other host, register `<absolute path to gbrain> serve --surface starter --advertise verbs` as a stdio MCP server in your agent host; the install section lists the exact command per harness (Claude Code, Codex, Grok Build, opencode, OpenClaw)."
      },
      "message": "No agent harness was detected. Wire one when the user picks an agent app.",
      "name": "harness_wiring",
      "readiness_state": "missing",
      "severity": "info",
      "status": "ok"
    },
    {
      "details": {
        "consent_refused": 0,
        "derived_cap_exhausted": 0,
        "events": 0,
        "internal_errors": 0,
        "json_document_missing": 0,
        "window_days": 7
      },
      "elapsed_ms": "<volatile>",
      "message": "No agent dead ends in the last 7 days (0 non-success event(s) logged).",
      "name": "agent_contract",
      "status": "ok"
    },
    {
      "elapsed_ms": "<volatile>",
      "message": "Prepared statements disabled (PgBouncer-safe)",
      "name": "pgbouncer_prepare",
      "status": "ok"
    },
    {
      "details": {
        "fix_hint": "Connection refused. If this is a Supabase direct URL (db.<ref>...:5432), switch to the transaction pooler (port 6543): gbrain db-repair can rewrite it. Run: gbrain db-repair",
        "reason": "conn_refused",
        "transient": true,
        "url_source": "database_url in <home>/.gbrain/config.json"
      },
      "elapsed_ms": "<volatile>",
      "fix": {
        "actor": "agent",
        "argv": [
          "gbrain",
          "db-repair"
        ],
        "consent": [],
        "docs": "docs/ENGINES.md#engine-detection-and-access-repair",
        "requires_exclusive": false,
        "verify": {
          "argv": [
            "gbrain",
            "doctor",
            "--only",
            "connection",
            "--json"
          ]
        },
        "why": "Connection refused. If this is a Supabase direct URL (db.<ref>...:5432), switch to the transaction pooler (port 6543): gbrain db-repair can rewrite it. `gbrain db-repair` diagnoses the database URL and access without changing anything (it prints the --yes command for a safe fix)."
      },
      "message": "connect ECONNREFUSED  <REDACTED:ipv4>:1 (database URL from database_url in <home>/.gbrain/config.json)",
      "name": "connection",
      "readiness_state": "unknown",
      "status": "fail"
    }
  ],
  "normalizer": "doctor-checks-v1"
}