---
name: verifier
description: >
  Checks work against a written rubric before it is shown, and runs a
  bounded fix-and-resubmit loop when it fails. Fire before saying "done",
  "sent", "fixed", "published" or "merged"; before presenting any draft the
  person will act on; before the close; and, for code or automation, before
  a job marks itself complete. NOT for: deciding whether an action is allowed
  (use approval-lattice) or sorting captures (use capture). The one who did
  the work never grades it: when a separate instance or reviewer is
  available, it runs this rubric, not the author.
---

# Verifier

A claim of done is a claim, not a state. This skill is the gap between
"I finished" and "it is there". It has two rubrics, one for words and one
for things that run, and one loop.

## Rubric A: anything the person will read or act on

Answer each with yes, no, or cannot verify. One "no" sends it back.

1. **Answered the question asked**, not a nearby easier one.
2. **Every claim about the present was checked live** in this turn, not
   recalled from a note, a handoff, or an earlier message.
3. **Every claim carries its weight honestly**: measured (I looked),
   ruled (the person decided), or a guess (labelled as one).
4. **Nothing was created, sent, deleted or spent** without the gate it sits
   behind; anything done under a standing approval is reported with a way
   to undo it.
5. **Every next action is a physical step** a person could start now.
6. **Numbers were computed**, not estimated in prose.
7. **Nothing stale was repeated**: anything carried from a previous session
   was confirmed still open.
8. **Nothing sensitive was added** that the person did not choose to share.
9. **It is as short as it can be** and in plain words; identifiers at the
   end, never in the sentence.
10. **The person knows what to do next**, in one line, and whether it needs
    them or not.

## Rubric B: anything that runs (code, jobs, automations)

11. **Done has a reference**: a commit, a URL, a row, a file path that a
    stranger could open. No reference, not done.
12. **The destination was read back**: the output exists where it was meant
    to land, fetched after the run, not inferred from the exit status.
13. **Tests assert on the outcome**, not on "it ran". A test that only
    checks the exit code is not a test.
14. **It ran against a copy first**, as the user who will run it, with the
    permissions that user actually has.
15. **Only in-scope lines changed**; nothing adjacent was "improved".
16. **No secret is in the code, the prompt, or the log.**
17. **It is reversible, or the irreversible part was approved** by name.
18. **A failure path exists for the honest negatives**: found nothing,
    blocked by something outside, already done, cannot verify. None of
    these is recorded as success or failure.
19. **It leaves a record when it runs**, including runs that did nothing.
20. **Its reader is named**: who or what consumes this output, and when.

## The loop

1. Produce the work.
2. Run the rubric that applies. Write the result as a short table: number,
   verdict, one line of evidence.
3. On any "no": fix the failing points only, then run the rubric again.
4. Stop after three rounds. On the third "no", stop fixing and show the
   person the work plus the table, with the failing lines first and a
   recommendation (ship with caveat, hold, or rethink). An honest "could
   not pass 12 and 13" is a valid outcome; a fourth attempt is not.
5. Record the verdict where the work is recorded: a `learning` row if the
   rubric caught something, so the same miss becomes a law next time.

## Where the rubric lives

Keep this file as the one copy. A rubric nobody re-reads drifts into
opinion, so the weekly review asks one question about it: "Did anything get
past the verifier this week?" If yes, add the line that would have caught it.

## For a chat-only system (Level 0/1)

Only Rubric A applies, and the loop is the assistant re-reading its own
output once against the ten lines before sending. It is still worth it.
Most of what goes wrong in a chat-only system is lines 2, 5 and 7.
