Agent failure states
A diagnostic map for unavailable inputs and runtime conditions.
#State table
| State | Meaning | Can emit? |
|---|---|---|
| NO DATA | No worker or no persisted inputs | No |
| CALIBRATING n / m | Incomplete real window | No |
| DATA DELAYED | Source outside valid age | No |
| MARKET HALTED | Upstream halt flag | No |
| MODEL READY | Complete valid input window | Yes, on a new source snapshot |
| NO DECISION YET | No persisted output | No existing entry |
#Cycle errors
A failed market request records last_failed_cycle and last_error in heartbeat. It does not insert observations. A later success updates last_successful_cycle and clears the active error.
#Operator response
Check /status, engine logs, source timestamps, the heartbeat row, SQLite quick_check, and the configured environment before restarting services.