Checks
A check is a small program that answers one question about the project: is this task done? Exit code 0 means yes.

Who writes it
The board writes the check when you add a task, and saves it with the project. The agent reads that saved check before it starts and works until it passes. You can open and read any check from its card.
When it runs
- When the card is created.
- When the agent finishes its work on the card and asks for a rerun.
- When you press Run check on the card.
The card shows when the check last ran, so a result from yesterday reads as yesterday's.
What a result proves
A check proves exactly what it tests and nothing more. A check that the page answers with status 200 proves the page is served, not that it looks right. When a task needs judgement, such as a design review, the card asks for evidence from a person, like screenshots, and records who gave it.
Kinds of check
| Kind | Passes when |
|---|---|
| Command | A program exits with 0, within its time limit. |
| Web address | A request returns the exact expected status. |
| File age | A file inside the project exists and is newer than a set age. |
| Manual | A person or agent reports a result with a written note. |
The exact syntax for writing checks by hand is in the check reference.
Safety
A check is code that runs on your machine with your permissions. Read checks before you trust a project from someone else, keep secrets out of them, and keep the board on localhost.