Doctor
Doctor
Section titled “Doctor”gormes doctor validates the local stack before a live turn burns tokens. It checks build identity, secret runtime, provider readiness, the native TUI, the tool registry, web tools, the browser runtime, the ACP bridge, GitHub auth, Goncho memory config, and each configured gateway channel.
Online run
Section titled “Online run”gormes doctorAdds a provider health probe (2-second timeout) against the configured endpoint on top of the offline checks. Exits non-zero on failure, so you can wire it into scripts.
Offline run
Section titled “Offline run”gormes doctor --offlineSkips the provider health probe. Useful in CI, pre-flight, or any time you want to verify the local toolbox, gateway config, and Goncho state without a live backend.
JSON output
Section titled “JSON output”gormes doctor --jsongormes doctor --offline --jsonEmits a machine-readable {build, failed, checks: [...]} document suitable for fleet-health monitoring.
Reading the output
Section titled “Reading the output”Each line starts with a status tag:
[PASS]— check succeeded.[SKIP]— check was skipped (for example, provider health under--offline, or a disabled channel).[WARN]— the runtime can keep going, but a follow-up is recommended.[FAIL]— a hard problem; doctor exits non-zero.
A typical offline run looks like:
[WARN] build identity: dirty build: version=0.2.11 commit=432ea30b5 — uncommitted source at build time[PASS] SecretRef runtime: resolved=0 inactive=0 unavailable=0[SKIP] provider health: skipped (--offline)[PASS] Native TUI: available: Go-native Bubble Tea TUI compiled into gormes[PASS] Toolbox: 35 tools registered (...)[PASS] Web tools: backend=duckduckgo route=direct source=free evidence=web_ok[WARN] Browser runtime: cdp_not_configured[WARN] ACP bridge: server=ready client=ready remote=unsupported evidence=acp_bridge_unavailable[SKIP] GitHub auth: skipped (--offline; set GITHUB_TOKEN/GH_TOKEN for local token readiness)[PASS] Goncho config: enabled=true workspace=gormes observer_peer=gormes[WARN] Gateway Slack: disabled[WARN] Custom endpoint: configured provider=openai endpoint=... missing=api_key[PASS] gateway/telegram: allowed_chat_id=... allowed_users=1[SKIP] gateway/discord: disabledA few specifics worth knowing:
- build identity is
WARNwhenever the binary was built from a dirty tree or without ldflags-injected commit metadata. A clean release artifact reportsPASS. - Browser runtime flags
WARN cdp_not_configureduntil you pointBROWSER_CDP_URL(orCHROME_REMOTE_DEBUGGING_URL) at a Chrome instance launched with--remote-debugging-port=9222. - GitHub auth is
SKIPunder--offline. In an online run it flagsWARNuntil eitherGITHUB_TOKEN/GH_TOKENis set orgh auth statussucceeds. - Custom endpoint flags
WARNuntil the configured provider has an API key in.env. - gateway/
flags SKIP disabledfor any channel that is not configured.
Related diagnostics
Section titled “Related diagnostics”gormes goncho doctor --json # inspect local Goncho/Honcho memory storagegormes gateway status # confirm what is connected before treating a channel as livegormes config check # validate config schemagormes config show # show config with secrets redacted