3AM Doctor

Is 3AM itself healthy? Every check (core, licence, intake, models and their placement, connections, approvals, accuracy, the audit log, disk) with what to do, in the console, the CLI and the API.

3AM Doctor (/doctor, g h) gives the running install's health, check by check, each with what it found and what to do. The overall status is the worst of its checks: ok, warn or fail. Start here when something seems off, before you call anyone.

./install.sh --doctor                                   # single server
podman exec 3am-core /opt/3am/3am-core doctor --json    # the same, as JSON
kubectl -n bank-ops exec statefulset/threeam -- /opt/3am/3am-core doctor
curl -s -H "Authorization: Bearer $T" "$URL/v1/doctor?fresh=1"
CheckFails or warns when
Core and the licenceThe licence is missing, lapsed, unconfirmed (strict), or in grace
Alert intakeAlert sources aren't polled, or a source keeps failing
What changedSnapshots can't be read
InvestigationsInvestigations fail or stall
Every connectionIts live test fails
Model placementA host without a GPU whose models are missing or local (fail)
System 1 and the investigatorEither doesn't answer
ApprovalsRequests waiting; an escalation step whose channel isn't connected; the lab auto-approver is on (fail)
PolicyThe fix mode, and the quorum for raising autonomy
AccuracyThe share of judged diagnoses that were right
The audit logIts hash chain or a seal doesn't verify
DiskThe data volume is filling up

Export: a PDF report (/doctor/report), the checks as CSV, or copied as text for a ticket. Health and monitoring has how to watch 3AM from your own monitoring.