# Proofs

> How the machine shows a chart is installed, ready and still alive: read-only checks that never return a secret.

A proof is a read-only [check](https://docs.altasystem.ai/reference/standards/checks) the machine runs. A chart has three kinds, for three questions.

```json [chart.json: proofs]
{
  "installed": [{ "type": "agent", "id": "brief" }],
  "ready": [
    { "type": "need", "id": "channel" },
    { "type": "automation", "key": "morning-brief", "enabled": true }
  ],
  "alive": [
    {
      "id": "ran",
      "check": {
        "type": "automation",
        "key": "morning-brief",
        "ranWithinHours": 26
      },
      "every": "1h",
      "repair": ["rerun"]
    }
  ]
}
```

| | The question | When it is read |
|---|---|---|
| `installed` | Is it on the machine? | after the parts |
| `ready` | Does it work now? | at the end of the install; the release is `Ready` when all pass |
| `alive` | Does it still work? | on a period (`every`), by the guard loop |

An `alive` proof that fails `grace` times in a row opens an incident: it names the [repairs](https://docs.altasystem.ai/charts/concepts/repairs) that may be tried. Without one, the owner is asked.

## What a check may read

A check reads: is a program on the path, is an agent there, is a channel paired, has an automation run in the last hours, does a service answer on its port. It never returns what it read, never reads a secret, and never changes anything.

## Why the run alone proves nothing

A program can exit 0 and leave nothing behind. Only the proof turns a part green, and only a passing proof ends an incident.

**Next:**

- [Repairs and grants](https://docs.altasystem.ai/charts/concepts/repairs)
- [Conditions](https://docs.altasystem.ai/charts/concepts/conditions)
