Operate Search docs

Common failures

Start with read-only diagnosis, then gated mutate. Prefer CLI verbs that emit machine-readable reasons.

Quick map

SymptomFirst commandLikely page
Local env weirdhobo doctorthis page · CLI
Deploy blockedhobo verify / hobo can-deployContracts
Policy denyinspect policy.DecidedPolicy
Append fails OCCreload & retryEventStore
STALE_FENCEre-acquire leaseActorHost
DB won’t openschema version / OPFSSchema
Control plane refuseshobo station statusStations
Identity dual weirdhobo identity statusIdentity
Agent can’t toolscopes + MCP authMCP

Gatekeeper denied

  1. Read gatekeeper.Decided reasons (gate field).
  2. Contracts → fix producer/consumer skew (can-deploy).
  3. Policy → change pack or satisfy obligation — do not retry denials.
  4. Cost → quota/budget.
  5. Effects/resilience → visibility only unless configured as hard gate.

Durability failures

CodeAction
OPTIMISTIC_SEQUENCE_CONFLICTReload aggregate; retry decide/append
STALE_FENCE / MISSING_FENCELease discipline — not OCC retry
UNSUPPORTED_SCHEMA_VERSIONUpgrade runtime to match DB
PERSISTENCE_UNAVAILABLEBrowser without OPFS while durable required — change mode or environment
SQLITE_BUSYSingle-owner violation or short busy timeout — check writers

Station / broker

Missing Station fails closed. hobo station init then set defaultStation / activeRail. Broker receipts must pin stationId + railHash.

Still stuck

  • Replay the stream with inspect
  • Check Crew handoffs for open obligations
  • File evidence with attest exports — not screenshots of secrets

Doctor in CLI guide · Errors · Anti-patterns