| name | check-health |
| type | python |
| description | Collect system and cognitive health metrics. Returns a structured health report with status classifications (ok/warning/critical) for hardware, OS, and cognitive subsystems. |
| schema_hint | {"out":"$variable (optional)"} |
check-health
Homeostasis monitor. Collects hardware metrics (GPU, CPU, RAM, disk, network, processes) via system-health.sh and cognitive metrics (memory integrity, tool effectiveness, world model health, planning performance) from internal state. Returns a structured health report.
Input
No required input. Runs all checks automatically.
Output
Success (status: "success"):
value: Human-readable summary string — lists concerns if any, otherwise "All systems nominal."
- The bound Note (
$health) contains a JSON object with these top-level keys:
overall_status: "ok" | "warning" | "critical"
concerns: list of human-readable concern strings (empty if all ok)
system: hardware/OS metrics (cpu, gpu, ram, disk, network, processes)
cognitive: cognitive metrics (memory, planning, tool_model, world_model, user_interaction)
Reading the health report in code blocks