factory_health
Diagnose why machines are stopped: check measured uptime and each stopped machine's cause, with all-factory sweeps.
Instructions
Why machines are stopped: measured uptime per machine and each stopped one's cause; 'all' sweeps.
Uptime: share of the save's 300 s productivity window spent producing. States, worst first: paused, dead node (extractor on no resource), no recipe, blocked (output full), starved (input short), stalled (input and room, still not running), intermittent, saturated, unmonitored; todo counts the first five. A machine no generator reaches over the wires says so (no wire, or a circuit with no generator); a reachable one is never called unpowered. A starved machine names its missing input's feeder one hop back (the run, its far end, that feeder's state); trace_upstream walks further. A missing fluid is diagnosed on the plumbing ladder: connection, head lift, flow rate; the first failing rung is the cause. factory='all' adds world-wide plumbing faults: fluid buffers too low to output at intake rate, unwired pipeline pumps, lines above head lift. offset pages every table at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| as_of | No | pin to one save: the sav:… token an earlier answer printed | |
| limit | No | ||
| world | No | ||
| offset | No | ||
| factory | No | a factory name, one selector term, or 'all' for every named factory | all |