Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(platform): add README files for doctor and health modules

Steven Enamakelc808584f343c
diff --git a/crates/openhuman-core/src/platform/doctor/README.md b/crates/openhuman-core/src/platform/doctor/README.md
index 573e15ee4a..c9d6824d4b 100644
--- a/crates/openhuman-core/src/platform/doctor/README.md
+++ b/crates/openhuman-core/src/platform/doctor/README.md
@@ -1,6 +1,6 @@
# doctor
-Diagnostic / self-check domain for OpenHuman. Runs a synchronous battery of probes against the live `Config`, the workspace directory, the daemon state file, the local environment, the memory-tree SQLite DB, the embedding provider (Ollama), and the Claude Agent SDK binary, then aggregates the findings into a severity-tagged `DoctorReport`. Exposed to CLI and JSON-RPC as `doctor.report` and `doctor.models`. This is what powers `openhuman doctor` / the Settings health surface.
+Diagnostic / self-check domain for OpenHuman. Runs a synchronous battery of probes against the live `Config`, the workspace directory, the daemon state file, the local environment, the embedding provider (Ollama), and the Claude Agent SDK binary, then aggregates the findings into a severity-tagged `DoctorReport`. Exposed to CLI and JSON-RPC as `doctor.report` and `doctor.models`. This is what powers `openhuman doctor` / the Settings health surface.
## Responsibilities
diff --git a/crates/openhuman-core/src/platform/health/README.md b/crates/openhuman-core/src/platform/health/README.md
index 40d07fd78a..bdf37e109b 100644
--- a/crates/openhuman-core/src/platform/health/README.md
+++ b/crates/openhuman-core/src/platform/health/README.md
@@ -7,7 +7,7 @@ In-process health registry for the OpenHuman core. Tracks per-component liveness
- Maintain a process-global registry of named components, each with `status`, `updated_at`, `last_ok`, `last_error`, `restart_count`.
- Provide mutators: `mark_component_ok`, `mark_component_error`, `bump_component_restart`.
- Produce a point-in-time `HealthSnapshot` (PID, uptime seconds, components map) and its JSON form.
-- Classify a snapshot into a `HealthVerdict` (`verdict()`): a single degraded *non-critical* component no longer makes the container unhealthy: `/health` returns 503 only when a *critical* component (`CRITICAL_COMPONENTS` = `core`, `memory_tree_db`) is unhealthy; non-critical components (scheduler, channels, update_checker, …) return 200 + a `degraded` flag (#3312).
+- Classify a snapshot into a `HealthVerdict` (`verdict()`): a single degraded *non-critical* component no longer makes the container unhealthy: `/health` returns 503 only when a *critical* component (`CRITICAL_COMPONENTS` = `core`) is unhealthy; non-critical components (scheduler, channels, update_checker, …) return 200 + a `degraded` flag (#3312).
- Drive component state automatically from `DomainEvent`s via an event-bus subscriber.
- Expose `health.snapshot` and `health.system_info` RPC/CLI controllers.