Implement S6 doctor and A1 daily-board with fixtures.

Add operator health checks (make doctor) wrapping platform CLIs, and the fixtures-only daily board skill library with unit tests (make verify).
This commit is contained in:
Ty
2026-07-27 12:41:40 -07:00
parent 0198ab6881
commit 15f6a6c713
24 changed files with 2011 additions and 40 deletions
+43 -3
View File
@@ -1,14 +1,54 @@
# Operations (day-2)
**Status:** Outline.
**Status:** Doctor (S6) implemented.
## Operator commands (when 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 <name> 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 <sandbox-name> status
# Sandbox doctor (platform-level)
nemohermes <sandbox-name> doctor
# Sandbox logs
nemohermes <sandbox-name> logs --follow
docker compose -f deploy/compose/docker-compose.yml logs
# Gateway status
openshell status
# Inference config
openshell inference get
# Policy presets
nemohermes <sandbox-name> policy-list
```
## Log levels