# Operations (day-2) **Status:** Doctor (S6) implemented. ## Health checks (doctor) ```bash # Run all health checks (human-readable) make doctor # or ./scripts/doctor.sh # Machine-readable JSON summary ./scripts/doctor.sh --json ``` **What doctor checks:** | Check | What it validates | Severity | |-------|-------------------|----------| | Docker | Daemon running and accessible | Critical | | nemohermes CLI | Installed and versioned | Critical | | openshell CLI | Installed and versioned | Critical | | Sandbox | `nemohermes doctor` healthy | Critical | | Policy | `lumina-inference` preset applied | Warning | | Skills | Skill directories with SKILL.md present | Warning | | Inference endpoint | `/v1/models` reachable from .env URL | Critical | | Inference gateway | `openshell inference get` configured | Warning | **Exit codes:** `0` = all critical checks passed; `1` = one or more critical failures. ## Platform diagnostics ```bash # Sandbox status nemohermes status # Sandbox doctor (platform-level) nemohermes doctor # Sandbox logs nemohermes logs --follow # Gateway status openshell status # Inference config openshell inference get # Policy presets nemohermes policy-list ``` ## Log levels | Level | Default | Use | |-------|---------|-----| | production | Yes | Redacted events, errors, health | | debug | Off | Operator troubleshooting | | trace | Off | Dev only | ## Updates [UPGRADE.md](UPGRADE.md) ยท [design/updates-lifecycle.md](../design/updates-lifecycle.md)