Doctor command reference

Doctor's commands and surfaces. Grounded in the Doctor technical manual.

Doctor command reference

Doctor's commands and surfaces. Grounded in the Doctor technical manual.

Related:


#Commands

Run doctor on its own for the full menu.

Command Purpose
doctor status Daemon health, service state, versions, last heal, and opt-out flags.
doctor diagnose Classify health and print the recommended fix. Takes no action.
doctor heal Run the repair ladder once. Gated steps confirm first.
doctor restart Restart the primary daemon.
doctor reinstall Reinstall the primary daemon.
doctor uninstall-hivemind Remove a conflicting global package. Confirms first.
doctor update [--check] Update the primary daemon via the approved-release gate. --check previews.
doctor self-update Update Doctor's own package. The only thing that does.
doctor install-service Register the OS service.
doctor uninstall-service Remove the OS service.
doctor logs [--daemon <name>] Tail incident logs for all daemons, or one.

Doctor never updates itself in the background; self-update is the single explicit way. There is deliberately no command to clear credentials.

#Surfaces

Surface Address Purpose
Status page http://127.0.0.1:3852 Human-readable fleet health.
Status feed GET /status.json The same fleet model, machine-readable.
Health stream GET /events The single live stream Doctor feeds to the portal.

The portal at http://127.0.0.1:3853 renders a richer view of the same health, live from Doctor's feed. Doctor ships no MCP server and no SDK, and opens no inbound port beyond the loopback status page.

#Package

Installed globally as @legioncodeinc/doctor.