# Check types

What a step can prove: `check.type` names one of these. A check only reads the machine, never returns a value it read, and completes the step when it passes.

## At a glance

| Type | Passes when | Answered by | Since |
|---|---|---|---|
| [`answer`](#answer) | the player has answered this question in the game. | the game, from what it holds | 0.1 |
| [`entity`](#entity) | that entity of the map is in one of these states. | the game, from what it holds | 0.1 |
| [`world`](#world) | the map has between `min` and `max` entities of that kind (in those states). | the game, from what it holds | 0.1 |
| [`mission`](#mission) | the agent sent by this mission step came back with an answer. | the game, from what it holds | 0.2 |
| [`seen`](#seen) | the player watched or skipped that scene in the game. | the game, from what it holds | 0.2 |
| [`item`](#item) | that store item is installed. | the game when it knows, else the server | 0.2 |
| [`host`](#host) | the world runs in this mode (on the player's Mac, or hosted). | the game when it knows, else the server | 0.3 |
| [`identity`](#identity) | the main agent has a name. | the player's server, by reading the machine | 0.1 |
| [`module`](#module) | that module runs. | the player's server, by reading the machine | 0.1 |
| [`automation`](#automation) | an automation matching the key exists (and is on or off, and ran recently, when asked). | the player's server, by reading the machine | 0.1 |
| [`config`](#config) | that OpenClaw setting is set (to this value, when asked). The value is never sent back. | the player's server, by reading the machine | 0.1 |
| [`file`](#file) | that file exists under the player's home folder. | the player's server, by reading the machine | 0.1 |
| [`skill`](#skill) | that OpenClaw skill is installed. | the player's server, by reading the 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. | the player's server, by reading the machine | 0.1 |
| [`agent`](#agent) | that agent is in OpenClaw's list of agents. | the player's server, by reading the machine | 0.3 |
| [`chart`](#chart) | that Agent Chart is installed on this machine (at a version in the range, when given). | the player's server, by reading the 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. | the player's server, by reading the 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`). | the player's server, by reading the machine | 0.2 |
| [`model`](#model) | OpenClaw's default model thinks with that mind. | the player's server, by reading the machine | 0.2 |
| [`bin`](#bin) | the program is installed (and, for a known one, its version command answers). | the player's server, by reading the machine | 0.3 |
| [`permission`](#permission) | the OpenClaw app of this Mac has that permission. | the player's server, by reading the machine | 0.3 |
| [`channel`](#channel) | the channel has an account (`configured`), and no pairing request waits (`paired`). | the player's server, by reading the machine | 0.3 |
| [`account`](#account) | the account is connected (with that scope). | the player's server, by reading the machine | 0.3 |
| [`backup`](#backup) | a backup younger than `maxAgeHours` exists (and its restore test passed). | the player's server, by reading the machine | 0.3 |
| [`part`](#part) | the install engine says that part is done (`alta-step <part> check`). | the player's server, by reading the machine | 0.3 |
| [`task`](#task) | that task is ticked in the owner's task file. | the player's server, by reading the machine | 0.2 |
| [`probe`](#probe) | that measure of the system is healthy. | the player's server, by reading the machine | 0.2 |

## `answer`

Passes when: the player has answered this question in the game.

| Field | What it is | Required |
|---|---|---|
| `key` | the answer's key, `answers.<key>` | yes |

**Answered by** the game, from what it holds · **Since** alta.game/0.1

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

## `entity`

Passes when: that entity of the map is in one of these states.

| Field | What it is | Required |
|---|---|---|
| `id` | an entity of the system map | yes |
| `state` | the states that pass, e.g. `["running"]` | yes |

**Answered by** the game, from what it holds · **Since** alta.game/0.1

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

## `world`

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

| Field | What it is | Required |
|---|---|---|
| `kind` | a kind of entity | yes |
| `state` | the states that count | no |
| `min` | at least this many (default 1) | no |
| `max` | at most this many | no |

**Answered by** the game, from what it holds · **Since** alta.game/0.1

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

## `mission`

Passes when: the agent sent by this mission step came back with an answer.

**Answered by** the game, from what it holds · **Since** alta.game/0.2

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

## `seen`

Passes when: the player watched or skipped that scene in the game.

| Field | What it is | Required |
|---|---|---|
| `key` | `trailer`, or a scene key such as `intro:core.wake` | yes |

**Answered by** the game, from what it holds · **Since** alta.game/0.2

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

## `item`

Passes when: that store item is installed.

| Field | What it is | Required |
|---|---|---|
| `id` | a store item id | yes |

**Answered by** the game when it knows, else the server · **Since** alta.game/0.2

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

## `host`

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

| Field | What it is | Required |
|---|---|---|
| `mode` | `local` or `hosted` | yes |

**Answered by** the game when it knows, else the server · **Since** alta.game/0.3

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

## `identity`

Passes when: the main agent has a name.

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.1

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

## `module`

Passes when: that module runs.

| Field | What it is | Required |
|---|---|---|
| `id` | a module of the system map | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.1

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

## `automation`

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

| Field | What it is | Required |
|---|---|---|
| `key` | an automation id, or a word of its name | yes |
| `enabled` | `true` or `false` | no |
| `ranWithinHours` | it ran within this many hours | no |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.1

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

## `config`

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

| Field | What it is | Required |
|---|---|---|
| `path` | an OpenClaw setting, e.g. `talk.provider` | yes |
| `equals` | the value it must have | no |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.1

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

## `file`

Passes when: that file exists under the player's home folder.

| Field | What it is | Required |
|---|---|---|
| `path` | a path under `~/` | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.1

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

## `skill`

Passes when: that OpenClaw skill is installed.

| Field | What it is | Required |
|---|---|---|
| `name` | a skill name | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.1

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

## `service`

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

| Field | What it is | Required |
|---|---|---|
| `url` | an `http://127.0.0.1:<port>` address (or `id`) | no |
| `id` | a service of an installed chart (or `url`) | no |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.1

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

## `agent`

Passes when: that agent is in OpenClaw's list of agents.

| Field | What it is | Required |
|---|---|---|
| `id` | an agent id, e.g. `writer` | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.3

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

## `chart`

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

| Field | What it is | Required |
|---|---|---|
| `id` | a chart id | yes |
| `version` | a version range, e.g. `^1.2.0` | no |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.3

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

## `need`

Passes when: 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.

| Field | What it is | Required |
|---|---|---|
| `id` | the id of a need of the chart (`mind`, `channel`) | yes |
| `chart` | the chart that declares it, when the proof is not that chart's own | no |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.3

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

## `signin`

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

| Field | What it is | Required |
|---|---|---|
| `tool` | a sign-in tool: `claude`, `codex`, `gh` or `practice` (or `mind`: `claude` or `codex`) | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.2

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

## `model`

Passes when: OpenClaw's default model thinks with that mind.

| Field | What it is | Required |
|---|---|---|
| `mind` | `claude`, `codex` or `local` | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.2

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

## `bin`

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

| Field | What it is | Required |
|---|---|---|
| `name` | a program name, e.g. `codex` | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.3

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

## `permission`

Passes when: the OpenClaw app of this Mac has that permission.

| Field | What it is | Required |
|---|---|---|
| `name` | microphone, speech, accessibility, screen, notifications, camera or location | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.3

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

## `channel`

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

| Field | What it is | Required |
|---|---|---|
| `id` | a chat channel, e.g. `telegram` | yes |
| `state` | `configured` (default) or `paired` | no |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.3

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

## `account`

Passes when: the account is connected (with that scope).

| Field | What it is | Required |
|---|---|---|
| `service` | `google` | yes |
| `scope` | `gmail` or `calendar` | no |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.3

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

## `backup`

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

| Field | What it is | Required |
|---|---|---|
| `maxAgeHours` | the newest backup is younger than this | no |
| `restoreTested` | `true`: its restore test passed | no |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.3

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

## `part`

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

| Field | What it is | Required |
|---|---|---|
| `id` | a part of the Alta install: machine, mind, memory, agents, map or modules | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.3

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

## `task`

Passes when: that task is ticked in the owner's task file.

Generated by the game, not written in a pack.

| Field | What it is | Required |
|---|---|---|
| `id` | a task of the owner's task file | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.2

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

## `probe`

Passes when: that measure of the system is healthy.

Generated by the game, not written in a pack.

| Field | What it is | Required |
|---|---|---|
| `id` | a probe of the system | yes |

**Answered by** the player's server, by reading the machine · **Since** alta.game/0.2

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

## See also

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