Done
provedone done reads an intent's success criteria and the stamps on the current branch, prints the PR's Checked line, and fails with one stamp command per criterion that nothing has proved yet.
The gate asks whether a commit says how it was checked. provedone done <slug> asks a stronger question of a branch: has every success criterion of the intent it
implements been proved by a command that passed, here?
An intent with two criteria
An intent is a Markdown file at .sdlc/intents/<slug>/intent.md. done reads its
## Success criteria list, one criterion per - item, numbered from 1 in order.
# Intent — `--help` answers in under 100 ms
**Status:** approved · **Opened:** `2026-11-20` · **Owner:** `@me`
## What is wanted
`mycli --help` prints before a person notices a wait.
## Why now
A trace shows the help path loads every command module.
## Constraints
The help text does not change.
## Success criteria
- `--help` answers in under 100 ms.
- The help text is the same as before.Two scripts stand in for the commands that prove each one.
console.log('help: 41 ms');console.log('help text unchanged');Before anything is stamped
Checked: no criterion. Not checked: C1, C2.
C1 has no evidence. fix: provedone stamp --intent faster-help --criterion 1 --run "<the command that proves it>" --not-checked "<what you did not check>"
C2 has no evidence. fix: provedone stamp --intent faster-help --criterion 2 --run "<the command that proves it>" --not-checked "<what you did not check>"Each open criterion gets a fix: naming the stamp to run. When the intent has an evidence table
(see Intents), the fix names the command from its row
instead of a placeholder.
Stamp each criterion
--intent and --criterion tie a stamp to a criterion.
Verified-by: node help-time.mjs -> exit 0 (sha256:86e18a76a26b)
Not-checked: WindowsChecked: C1 by `node help-time.mjs`. Not checked: C2.
C2 has no evidence. fix: provedone stamp --intent faster-help --criterion 2 --run "<the command that proves it>" --not-checked "<what you did not check>"Verified-by: node help-text.mjs -> exit 0 (sha256:c162d52110d8)Checked: C1 by `node help-time.mjs`; C2 by `node help-text.mjs`. Not checked: nothing.The first line is the Checked: line for the PR body, generated from the stamps rather than typed.
What counts
A criterion is met by a stamp that:
- was taken on the branch checked out now,
- cites this intent and this criterion number, and
- exited 0.
A failing stamp does not count, and neither does a passing one from another branch. Stamps are kept
in stamps.jsonl in the store (where),
which is local to the clone: done answers for work done on this machine, not for a CI run
elsewhere.
Exit codes
| Exit | When |
|---|---|
0 | every criterion has a passing stamp on this branch |
1 | a criterion has none; or there is no such intent; or it lists no success criteria |
Modes and the escape
The gate's three modes, off, observe and enforce, how PROVEDONE_MODE picks one, the observe log that measures false blocks before enforce, and the escape that lets the third commit through after two blocks in one session.
Intents
provedone intent new writes an intent and its spec from your templates; intent check holds every intent to the rules, and with --evidence re-runs each shipped intent's evidence commands and fails when one no longer prints what it recorded.