Templates with steps, checks and approvals
A template is a YAML file in your repo. Each step names the agent that runs it and when the step is done: the agent finishes, checks pass, a reviewer approves, or you approve. Tokama runs the checks itself, so a step passes on the real test result, not on what the agent reports.
- name: Build agent: builder done_when: checks pass checks: [pnpm test] if_failed: retry max_attempts: 3Tokama reads it as: Build · done when checks pass · if it fails, retry up to 3 times, then ask me.