> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nika.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Arm registry

> Declare project beats with explicit cadence, spend, missed-run, overlap and suspension policy.

> [!NOTE]
>
> **Live project control plane.** The released engine
> discovers `nika.yaml` from the working directory toward its
> ancestors. The file is optional when built-in defaults are enough. Its
> project-shape grammar is closed: `nika` ·
> `ceiling` · `arm` · `traces` ·
> `registry`. Direct runs and the cadence path
> (`nika arm` · `nika serve`) read the same file.

`arm:` is the team registry of workflows the project proposes to fire. The
file proposes. A machine edge disposes. Reading the file never schedules work.

## One beat, complete

```yaml theme={"system"}
nika: my-project

arm:
  - workflow: workflows/daily-brief.nika
    cadence: "TZ=Europe/Paris 30 7 * * 1-5"
    où: local
    plafond: 0.20
    manqué: rattraper-une-fois
    chevauchement: sauter
    après_saut: prochain-créneau
    par: operations
```

| Key | Requirement | Contract |
| - | - | - |
| `workflow` | Required | Repo-relative `*.nika` path; each workflow is armed once |
| `cadence` | Required | Its IANA zone first: five cron fields (`TZ=Europe/Paris 0 9 * * 1`), a French weekday and time (`TZ=Europe/Paris lundi 9h07`), an anchored interval (`TZ=Europe/Paris every 2 weeks from 2026-10-05 09:00`), or `on-webhook`, the one form with no zone. A scheduled cadence without a zone is refused |
| `plafond` | Required | Positive per-tick USD ceiling |
| `manqué` | Required | `rattraper-une-fois` · `sauter` fire today; `rattraper` and `{ rattraper: N }` are accepted grammar that `nika arm fire` refuses at every fire in 0.124.1 (`policy_unsupported`); the resident `nika serve` keeps them |
| `où` | Optional | `local` by default · `cloud` as the declared remote locus |
| `chevauchement` | Optional | `sauter` by default · `file` for serialized overlap |
| `après_saut` | Optional | What follows an overlap skip |
| `actif` · `raison` · `jusqu_au` | Together | Auditable suspension state |
| `tolérance` · `décalage` | Optional | Declared tolerance and deterministic jitter lanes |
| `par` | Optional | Declared human, not machine authorization |
| `inputs` | Optional | Per-beat values for the workflow's declared `inputs:`, one scalar per key, coerced by the declared type; an undeclared key refuses before the claim |

`plafond` and `manqué` have no default. Choosing them implicitly would choose
who pays or whether missed work is duplicated or lost.

## Read before firing

```sh theme={"system"}
nika arm
```

The report names each beat with its readiness, its next slots, and whether a
sidecar proves a previous fire. It ends by stating that nothing was scheduled.
Captured from `nika 0.123.0` with the beat above (the project path is
shortened):

```text theme={"system"}
1 beat in nika.yaml

  [READY] workflows/daily-brief.nika · TZ=Europe/Paris 30 7 * * 1-5
         · ready in the current configuration; OS activation not verified · authority not acquired
         · DÉCLARÉ — le registre le dit, la machine ne l'a jamais tiré
         par: operations — déclaré · non vérifié
         → 2026-10-26 07:30 CET
         → 2026-10-27 07:30 CET
         → 2026-10-28 07:30 CET

READY · UNREADY · DORMANT judge the current configuration only — never OS activation, acquired authority or the current window.
nothing was scheduled — `nika arm` READS the file. The machine that fires them is the arming edge.
```

`[UNREADY]` names what would refuse every fire (an unsupported miss policy,
for example), and `[DORMANT]` a suspended beat. `nika arm --json` emits the
same report for programs. Some lines are in French only in 0.124.1
([Known limits](https://docs.nika.sh/changelog/known-limits.md)).

DECLARATION IS NOT PROOF

<pre tabIndex="0">
  nika.yaml row ─────── DÉCLARÉ
  &#x20;        │
  &#x20;        ├── fire claim
  &#x20;        ├── workflow run
  &#x20;        └── receipt ────────── PROUVÉ

  &#x20;   project intent ≠ machine evidence
</pre>

## Every door ends at one firer

```text theme={"system"}
nika arm fire <label> ─────┐
launchd / systemd unit ────┼── due window · miss · overlap · ceiling · ledger
nika serve ────────────────┘
```

This convergence matters. Changing how the project wakes up does not change
the firing law.

## Suspend with a reason

```yaml theme={"system"}
nika: my-project

arm:
  - workflow: workflows/daily-brief.nika
    cadence: "TZ=Europe/Paris 30 7 * * 1-5"
    plafond: 0.20
    manqué: sauter
    actif: false
    raison: maintenance fournisseur
    jusqu_au: 2026-12-01
```

Deleting a row leaves no durable explanation. The suspension triple states
that the beat is inactive, why, and until when; `nika arm` reports it
`[DORMANT]` with its reason and date. Pick a real future date: a past
`jusqu_au` leaves the beat suspended with no explanation anyone believes.

## Continue

> [card] [Resident server](https://docs.nika.sh/sdk/operations/resident-server.md)
>
> Keep the project clock alive without turning it into an HTTP API.

> [card] [OS schedulers](https://docs.nika.sh/sdk/operations/os-schedulers.md)
>
> Emit launchd or systemd user units.

> [card] [Runtime state](https://docs.nika.sh/sdk/project/runtime-state.md)
>
> Read firing ledgers, watermarks and run traces.

> [card] [Full arm reference](https://docs.nika.sh/reference/arm.md)
>
> Every policy, command, exit and sidecar file.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.