Checks
A check is a command (your tests, the linter, a type check) or a Sisyphus suite that must pass before a thread counts as done. After each turn, Cohort runs the project’s checks in the thread’s worktree. If one fails, the agent gets its output to fix; if it still fails, the thread comes to you in Needs you.
Add a check
Section titled “Add a check”In Settings → Projects, pick the project, then under Checks:
- Add check: a Name (
tests), the command (cargo test,pnpm test) and, if you like, a timeout in seconds (default 600 s). - Add Sisyphus suite: a Name, the Suite to run and, when the repository has more than one
sisyphus.yaml, its Folder (relative to the thread’s folder, for examplee2e). Default timeout 1800 s, as a UI suite may wait for another run.
The × removes a check. Changes apply at once.
From the CLI (each option is repeatable, and together they replace the project’s checks):
cohort project edit my-app --check "tests=pnpm test" --check "types=pnpm typecheck"cohort project edit my-app --sis-check "ui=smoke@e2e"What happens after a turn
Section titled “What happens after a turn”When a turn ends, each check runs in the thread’s folder, with the thread’s environment: its login and the project’s environment and secrets. The transcript shows the result of each: Check “tests” passed, or Check “tests” failed with its output.
- All pass: the thread is done.
- One fails: its output is sent to the agent as a new turn, to fix. For a Sisyphus suite, the agent gets each failed test with its step, error and screenshot.
- Still failing after 3 rounds: the thread stops as failed, and Needs you shows a Checks failed card.
Checks also run when you merge a thread: a merge lands only when they pass, and a failure stops the merge with the check’s output.
Secret values are hidden from check output before it is recorded or sent to the agent.
Run checks by hand
Section titled “Run checks by hand”Open the thread’s Checks tab in the side panel (⇧⌘K) and click Run checks. Each check shows its last result. You can also type /checks in the composer, or run cohort thread checks <thread>.
A thread in a personal workspace has no project, so no checks.
Sisyphus suites
Section titled “Sisyphus suites”Sisyphus, Bussin Bytes’ UI tester, tests apps the way a person uses them. A Sisyphus check runs sis run for the suite, so sis must be installed. A run that needs the desktop (a UI suite) waits while another Sisyphus run is driving the mouse and keyboard; the transcript says so (“waits for the desktop”), and the thread keeps running.
Running a suite calls no model, so it spends nothing from your subscription. Only the agent’s fix turns do, as for any check.
When the project has a sisyphus.yaml or a Sisyphus check, the Checks section also has Give agents Sisyphus’s MCP server: see MCP servers.
