Doctor
Scope
This page is a placeholder generated from the official source file structure.
What to verify
- TODO: Add prerequisites and validation checklist.
Outline (from official headings)
- Quick start
- Headless / automation
- What it does (summary)
- Detailed behavior and rationale
- Optional update (git installs)
- Config normalization
- Legacy config key migrations
- 2b) OpenCode Zen provider overrides
- Legacy state migrations (disk layout)
- State integrity checks (session persistence, routing, and safety)
- Model auth health (OAuth expiry)
- Hooks model validation
- Sandbox image repair
- Gateway service migrations and cleanup hints
- Security warnings
- systemd linger (Linux)
- Skills status
- Gateway auth checks (local token)
- Gateway health check + restart
- Channel status warnings
Further reading
- Official source file:
gateway/doctor.md