Apetown
Checks

Checks

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

A card window: the failing check, its output, the command and Run check

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

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

KindPasses when
CommandA program exits with 0, within its time limit.
Web addressA request returns the exact expected status.
File ageA file inside the project exists and is newer than a set age.
ManualA 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.