# Warden Health Layers

Use this file when explaining or interpreting the health model.

## Host

Tracks:

- process startup
- message loop heartbeat
- scheduler heartbeat

## Pipeline

Tracks:

- Telegram connection
- inbound messages
- run start/finish
- replies sent

## Warden

Tracks:

- jailed run success
- jailed run failure
- last error code/message

## Why this split matters

- Telegram can be healthy while Warden is broken
- host process can be alive while replies fail
- a stale message loop can exist even if the PID still exists

