A keeper is a YAML file in .warpforge/keepers/. Warpforge ships eight built-ins (see Presets), but none of them runs until a file in the project names it. Add keeper in a task’s Keepers tab writes that file for you:
version: 1
preset: reviewThat is a complete keeper: the built-in Review with its prompt and defaults. Commit the file and everyone who checks out the repository gets it.
Where files live, and who wins
-
Keepers are read from
.warpforge/keepers/*.yaml(and.yml) in the project directory. -
The file stem is the id —
strict-review.yamlis the keeperstrict-review. When two files share a stem, the first one wins. -
A task’s switch for a keeper is stored with the task on your machine, not in the file. The file’s
defaultonly decides whether new tasks start with it on.
A file of your own
Start from a preset and change what you need. Any key you set overrides the preset’s value; the rest are inherited.
version: 1
name: API review
description: Breaking changes to the public HTTP API.
preset: review
model: opus
max_rounds: 2
min_severity: high
paths: ["src/api/**", "!**/*.test.ts"]
instructions: |
Treat any change to a response shape or status code as a finding unless
the commit message says it is intended.Keys
| Key | Type | Default | Meaning |
|---|---|---|---|
version |
number | 1 |
File format version. Only 1 is understood; anything else makes the file invalid. |
name |
string | the preset’s | Required without a preset. What the Keepers tab shows; one or two words. |
description |
string | the preset’s | One line under the name. |
preset |
string | — | One of the presets: inherit that built-in’s prompt and defaults. An unknown preset makes the file invalid. |
when |
string | commit |
When the keeper runs. commit checks each new commit on the task’s branch. ready checks the task’s latest commit only when you ask for a check before opening the pull request, never on its own. ci and comments are accepted but do not run yet. |
result |
string | findings |
How the reply is read — see Results. |
agent |
string | the task’s agent | The harness that checks, such as claude, codex or opencode. Without it, model and effort apply to the task’s agent. |
model |
string | the agent’s default | A model id from that harness’s model list, such as opencode-go/deepseek-v4.1-flash. |
effort |
string | the agent’s default | Reasoning effort, one of the harness’s effort values such as high. Ignored by a harness without an effort setting. |
time_limit |
duration | 15m |
How long one check may take, such as 10m or 90s. A check that runs out is inconclusive. Values above 60m are clamped with a warning. |
max_rounds |
number | 3 |
Fix rounds since the keeper’s last green before it stops and asks you. Must be ≥ 1; values above 5 are clamped with a warning. |
min_severity |
string | medium |
critical, high, medium or low. Findings below it are shown but never sent to the agent to fix, and do not turn the keeper red. |
default |
on / off |
on |
Whether a new task starts with this keeper on. Each task can switch it in the Keepers tab. |
paths |
list of globs | every path | Run only when the change touches a matching path. A leading ! excludes. |
instructions |
string | — | Added after the preset’s prompt — or, without a preset, the whole prompt. |
prompt |
string | the preset’s | Replaces the preset’s prompt. With instructions as well, the instructions follow it. |
An unknown key is a warning, not an error — the keeper still loads, and the Keepers tab lists the warning under the file’s name. An invalid file is listed there with its error and does not run.
A keeper needs something to say: a file with no preset, prompt or instructions is invalid.
Presets
| Preset | when |
result |
Checks |
|---|---|---|---|
review |
commit |
findings |
Bugs, regressions and unhandled edge cases in the change |
slop |
commit |
findings |
Code that reads as generated rather than written for its file; min_severity: low |
conventions |
commit |
findings |
The change against the project’s written rules |
security |
ready |
pass_fail |
Vulnerabilities with a plausible exploit path through the changed code |
thermonuclear |
ready |
findings |
Complexity the change could delete rather than move; at most five findings |
intent |
ready |
pass_fail |
What the task asked for and was not done, and what was done and not asked |
verify |
ready |
verdict |
The task’s claim turned into a check and run against the change |
pr-ready |
ready |
draft |
A pull request description written from the change |
Results
Every run ends green, with findings, inconclusive (a timeout, or a reply that could not be read), error (the check could not start), skipped (out of quota, paths did not match, or a newer commit replaced it) or, for a draft keeper, with its draft. Green is a green cell in the strip; findings a red cell with the count; the rest are grey.
Findings from a ready keeper go to the task’s agent to fix exactly as a commit keeper’s do.
result |
The keeper replies with | Green when |
|---|---|---|
findings |
a list of findings with severity and file:line |
no finding at or above min_severity |
pass_fail |
approve or request changes, with findings | it approves |
verdict |
pass, fail or blocked, with findings | pass; blocked is inconclusive |
draft |
text for you, kept with the run | never — a draft is neither green nor red, and is never sent to fix |
The reply format is added to the prompt for you; a custom prompt only says what to look for.
Placeholders
Every keeper’s prompt starts with a short built-in preamble: the keeper only reads, reports what it verified, and does not raise what you dismissed. A custom prompt or instructions may use the same placeholders. An unknown placeholder makes the file invalid rather than sending the agent a prompt with a hole in it.
| Placeholder | Becomes |
|---|---|
{{name}} |
The keeper’s name |
{{task_title}} |
The task’s title |
{{task_brief}} |
What the task was asked to do |
{{diff}} |
The change from the branch’s merge base to the commit being checked |
{{commits}} |
The commits since the keeper’s previous run |
{{dismissed}} |
Findings you dismissed on this task |
{{rules}} |
The project’s written rules: CLAUDE.md, AGENTS.md and the invariants in docs/adr/ |
See also
- Keepers — adding one, reading the strip, dismissing, and the stop choice
- Workflow files — the same idea for Factory pipelines