Browse the docs
On this page

Reference

Doctor

poppet doctor checks your setup and tells you what to fix. It only looks. It never changes files, contacts your provider, or sends messages.

bash / zsh / fish
poppet doctor

Doctor groups its results under Needs attention, Could not check, Passed, and Skipped. Each problem comes with a suggested next step. Read a suggested command before you run it, since it can change things that doctor itself does not.

What doctor checks#

CheckWhat it looks at
InstallationWhether your data directory exists
ConfigurationWhether config.json is valid
Provider sign-inWhether you are signed in to your provider, or have an API key set
Background serviceWhether the worker is installed to start at login
Worker connectionWhether the worker is running and responding
Worker configurationWhether the worker is using different settings from config.json, so it needs a restart
Scheduled tasksTasks that failed or were interrupted in the last 24 hours, and when the next one is due
Paused provider workProviders Poppet has paused for scheduled tasks, and when they resume
Message deliveryGateway posts that are waiting, failed, or uncertain
Messaging connectionsWhether a gateway reported a connection problem
MCP serversWhether your MCP servers are set up correctly and their programs exist
Context filesWhether profile.md and soul.md are valid and under 8 KiB

Doctor skips checks for features you have not set up. Running the worker in a terminal is fine, so doctor skips the login check if you have not installed it.

Could not check#

Some checks need the worker. If the worker is not running, doctor reports them under Could not check. This does not mean anything failed. Start the worker with poppet worker run or poppet worker start, then run doctor again.

What doctor cannot tell you#

Doctor does not send a request to your provider, start MCP servers, or post to gateways. A clean report means your settings look right, not that everything works. To confirm, send a message with poppet chat new.

For gateway problems, also check poppet worker status and poppet worker logs.

Use doctor in a script#

poppet doctor --json prints the same results as JSON. The exit code tells you the overall result:

Exit codeMeaning
0No problems found
1At least one problem to fix
2At least one check could not finish

Each check in the JSON has an id, a status of ok, warning, error, or skipped, and incomplete when it could not finish. Use these fields in scripts. The message text is for people and may change.

In early development