# Types de vérification

Ce qu'une étape peut prouver : `check.type` nomme l'un d'eux. Une vérification ne fait que lire la machine, ne renvoie jamais une valeur lue, et termine l'étape quand elle passe.

*Les descriptions sont en anglais, comme les messages de la CLI.*

## En un coup d'œil

| Type | Passe quand | Répondu par | Depuis |
|---|---|---|---|
| [`answer`](#answer) | the player has answered this question in the game. | le jeu, avec ce qu'il sait | 0.1 |
| [`entity`](#entity) | that entity of the map is in one of these states. | le jeu, avec ce qu'il sait | 0.1 |
| [`world`](#world) | the map has between `min` and `max` entities of that kind (in those states). | le jeu, avec ce qu'il sait | 0.1 |
| [`mission`](#mission) | the agent sent by this mission step came back with an answer. | le jeu, avec ce qu'il sait | 0.2 |
| [`seen`](#seen) | the player watched or skipped that scene in the game. | le jeu, avec ce qu'il sait | 0.2 |
| [`item`](#item) | that store item is installed. | le jeu quand il sait, sinon le serveur | 0.2 |
| [`host`](#host) | the world runs in this mode (on the player's Mac, or hosted). | le jeu quand il sait, sinon le serveur | 0.3 |
| [`identity`](#identity) | the main agent has a name. | le serveur du joueur, en lisant la machine | 0.1 |
| [`module`](#module) | that module runs. | le serveur du joueur, en lisant la machine | 0.1 |
| [`automation`](#automation) | an automation matching the key exists (and is on or off, and ran recently, when asked). | le serveur du joueur, en lisant la machine | 0.1 |
| [`config`](#config) | that OpenClaw setting is set (to this value, when asked). The value is never sent back. | le serveur du joueur, en lisant la machine | 0.1 |
| [`file`](#file) | that file exists under the player's home folder. | le serveur du joueur, en lisant la machine | 0.1 |
| [`skill`](#skill) | that OpenClaw skill is installed. | le serveur du joueur, en lisant la machine | 0.1 |
| [`service`](#service) | a local service answers on that address (127.0.0.1 only), or the chart service `id` is registered and answers on its port. | le serveur du joueur, en lisant la machine | 0.1 |
| [`agent`](#agent) | that agent is in OpenClaw's list of agents. | le serveur du joueur, en lisant la machine | 0.3 |
| [`chart`](#chart) | that Agent Chart is installed on this machine (at a version in the range, when given). | le serveur du joueur, en lisant la machine | 0.3 |
| [`need`](#need) | the provider the need is bound to answers its own proof (signed in, paired, the local model there); a provider with no proof, such as the game's own inbox, always passes. | le serveur du joueur, en lisant la machine | 0.3 |
| [`signin`](#signin) | the player is signed in to that tool on this machine (its own status command: `claude auth status`, `codex login status`, `gh auth status`). | le serveur du joueur, en lisant la machine | 0.2 |
| [`model`](#model) | OpenClaw's default model thinks with that mind. | le serveur du joueur, en lisant la machine | 0.2 |
| [`bin`](#bin) | the program is installed (and, for a known one, its version command answers). | le serveur du joueur, en lisant la machine | 0.3 |
| [`permission`](#permission) | the OpenClaw app of this Mac has that permission. | le serveur du joueur, en lisant la machine | 0.3 |
| [`channel`](#channel) | the channel has an account (`configured`), and no pairing request waits (`paired`). | le serveur du joueur, en lisant la machine | 0.3 |
| [`account`](#account) | the account is connected (with that scope). | le serveur du joueur, en lisant la machine | 0.3 |
| [`backup`](#backup) | a backup younger than `maxAgeHours` exists (and its restore test passed). | le serveur du joueur, en lisant la machine | 0.3 |
| [`part`](#part) | the install engine says that part is done (`alta-step <part> check`). | le serveur du joueur, en lisant la machine | 0.3 |
| [`task`](#task) | that task is ticked in the owner's task file. | le serveur du joueur, en lisant la machine | 0.2 |
| [`probe`](#probe) | that measure of the system is healthy. | le serveur du joueur, en lisant la machine | 0.2 |

## `answer`

Passe quand : the player has answered this question in the game.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `key` | the answer's key, `answers.<key>` | oui |

**Répondu par** le jeu, avec ce qu'il sait · **Depuis** alta.game/0.1

```json
"check": { "type": "answer", "key": "answers.brief.pick-the-time" }
```

## `entity`

Passe quand : that entity of the map is in one of these states.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | an entity of the system map | oui |
| `state` | the states that pass, e.g. `["running"]` | oui |

**Répondu par** le jeu, avec ce qu'il sait · **Depuis** alta.game/0.1

```json
"check": { "type": "entity", "id": "openclaw", "state": ["running"] }
```

## `world`

Passe quand : the map has between `min` and `max` entities of that kind (in those states).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `kind` | a kind of entity | oui |
| `state` | the states that count | non |
| `min` | at least this many (default 1) | non |
| `max` | at most this many | non |

**Répondu par** le jeu, avec ce qu'il sait · **Depuis** alta.game/0.1

```json
"check": { "type": "world", "kind": "automation", "state": ["running"], "min": 1 }
```

## `mission`

Passe quand : the agent sent by this mission step came back with an answer.

**Répondu par** le jeu, avec ce qu'il sait · **Depuis** alta.game/0.2

```json
"check": { "type": "mission" }
```

## `seen`

Passe quand : the player watched or skipped that scene in the game.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `key` | `trailer`, or a scene key such as `intro:core.wake` | oui |

**Répondu par** le jeu, avec ce qu'il sait · **Depuis** alta.game/0.2

```json
"check": { "type": "seen", "key": "trailer" }
```

## `item`

Passe quand : that store item is installed.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | a store item id | oui |

**Répondu par** le jeu quand il sait, sinon le serveur · **Depuis** alta.game/0.2

```json
"check": { "type": "item", "id": "evening-routine" }
```

## `host`

Passe quand : the world runs in this mode (on the player's Mac, or hosted).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `mode` | `local` or `hosted` | oui |

**Répondu par** le jeu quand il sait, sinon le serveur · **Depuis** alta.game/0.3

```json
"check": { "type": "host", "mode": "hosted" }
```

## `identity`

Passe quand : the main agent has a name.

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.1

```json
"check": { "type": "identity" }
```

## `module`

Passe quand : that module runs.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | a module of the system map | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.1

```json
"check": { "type": "module", "id": "briefing" }
```

## `automation`

Passe quand : an automation matching the key exists (and is on or off, and ran recently, when asked).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `key` | an automation id, or a word of its name | oui |
| `enabled` | `true` or `false` | non |
| `ranWithinHours` | it ran within this many hours | non |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.1

```json
"check": { "type": "automation", "key": "morning-brief", "enabled": true }
```

## `config`

Passe quand : that OpenClaw setting is set (to this value, when asked). The value is never sent back.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `path` | an OpenClaw setting, e.g. `talk.provider` | oui |
| `equals` | the value it must have | non |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.1

```json
"check": { "type": "config", "path": "talk.provider", "equals": "local" }
```

## `file`

Passe quand : that file exists under the player's home folder.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `path` | a path under `~/` | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.1

```json
"check": { "type": "file", "path": "~/.local/share/alta/voice/voice.json" }
```

## `skill`

Passe quand : that OpenClaw skill is installed.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `name` | a skill name | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.1

```json
"check": { "type": "skill", "name": "weather" }
```

## `service`

Passe quand : a local service answers on that address (127.0.0.1 only), or the chart service `id` is registered and answers on its port.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `url` | an `http://127.0.0.1:<port>` address (or `id`) | non |
| `id` | a service of an installed chart (or `url`) | non |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.1

```json
"check": { "type": "service", "url": "http://127.0.0.1:18789/" }
```

## `agent`

Passe quand : that agent is in OpenClaw's list of agents.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | an agent id, e.g. `writer` | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.3

```json
"check": { "type": "agent", "id": "writer" }
```

## `chart`

Passe quand : that Agent Chart is installed on this machine (at a version in the range, when given).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | a chart id | oui |
| `version` | a version range, e.g. `^1.2.0` | non |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.3

```json
"check": { "type": "chart", "id": "writing-desk" }
```

## `need`

Passe quand : the provider the need is bound to answers its own proof (signed in, paired, the local model there); a provider with no proof, such as the game's own inbox, always passes.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | the id of a need of the chart (`mind`, `channel`) | oui |
| `chart` | the chart that declares it, when the proof is not that chart's own | non |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.3

```json
"check": { "type": "need", "id": "mind" }
```

## `signin`

Passe quand : the player is signed in to that tool on this machine (its own status command: `claude auth status`, `codex login status`, `gh auth status`).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `tool` | a sign-in tool: `claude`, `codex`, `gh` or `practice` (or `mind`: `claude` or `codex`) | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.2

```json
"check": { "type": "signin", "tool": "gh" }
```

## `model`

Passe quand : OpenClaw's default model thinks with that mind.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `mind` | `claude`, `codex` or `local` | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.2

```json
"check": { "type": "model", "mind": "claude" }
```

## `bin`

Passe quand : the program is installed (and, for a known one, its version command answers).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `name` | a program name, e.g. `codex` | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.3

```json
"check": { "type": "bin", "name": "codex" }
```

## `permission`

Passe quand : the OpenClaw app of this Mac has that permission.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `name` | microphone, speech, accessibility, screen, notifications, camera or location | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.3

```json
"check": { "type": "permission", "name": "microphone" }
```

## `channel`

Passe quand : the channel has an account (`configured`), and no pairing request waits (`paired`).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | a chat channel, e.g. `telegram` | oui |
| `state` | `configured` (default) or `paired` | non |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.3

```json
"check": { "type": "channel", "id": "telegram" }
```

## `account`

Passe quand : the account is connected (with that scope).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `service` | `google` | oui |
| `scope` | `gmail` or `calendar` | non |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.3

```json
"check": { "type": "account", "service": "google", "scope": "gmail" }
```

## `backup`

Passe quand : a backup younger than `maxAgeHours` exists (and its restore test passed).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `maxAgeHours` | the newest backup is younger than this | non |
| `restoreTested` | `true`: its restore test passed | non |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.3

```json
"check": { "type": "backup", "maxAgeHours": 26 }
```

## `part`

Passe quand : the install engine says that part is done (`alta-step <part> check`).

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | a part of the Alta install: machine, mind, memory, agents, map or modules | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.3

```json
"check": { "type": "part", "id": "memory" }
```

## `task`

Passe quand : that task is ticked in the owner's task file.

Créé par le jeu, pas écrit dans un pack.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | a task of the owner's task file | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.2

```json
"check": { "type": "task", "id": "f-0123456789" }
```

## `probe`

Passe quand : that measure of the system is healthy.

Créé par le jeu, pas écrit dans un pack.

| Champ | Ce que c'est | Requis |
|---|---|---|
| `id` | a probe of the system | oui |

**Répondu par** le serveur du joueur, en lisant la machine · **Depuis** alta.game/0.2

```json
"check": { "type": "probe", "id": "disk-space" }
```

## Voir aussi

- [Exécuteurs](https://docs.altasystem.ai/fr/reference/standards/executors)
- [Errors](https://docs.altasystem.ai/fr/reference/errors#check-type)
