done-is-a-claim
AGENTS.md33 starsChanged 34 days agoApache-2.0View on GitHub
Rules for coding agents. Each one exists because breaking it cost us a real failure; the story behind each is in INCIDENTS.md.
- Deletes or force-pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- okgrit/done-is-a-claimword for word, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- okgrit/done-is-a-claim★ 33100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,700 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- acceptance-designSkill
- checking-deliverySkill
- collecting-worker-resultsSkill
- debugging-with-evidenceSkill
- evidence-freshnessSkill
- executing-plansSkill
- implementing-with-testsSkill
- planning-changesSkill
- public-claimsSkill
- reading-measurementsSkill
- responding-to-reviewSkill
- resuming-workSkill
- reviewing-changesSkill
- using-done-is-a-claimSkill
- whose-redSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Unknown is not pass: If a check could not run, report it as not run, with the reason.
- Distinctive: line 17
Green means every required check: Read every required CI job on the revision, not the one you picked.
- Very specific: line 24
Verify every citation: Check repository citations with git cat-file -e <sha> and git cat-file -e <ref>:<path>.
- Very specific: line 29
A test that repeats a constant proves nothing: If the code says MIN = 3.51 and the test checks 3.51, ask where 3.51 came from.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Done is a claim
Rules for coding agents. Each one exists because breaking it cost us a real failure; the story behind each is in INCIDENTS.md.
Before you start
- Write the acceptance command before the work. Name the observable outcome it checks. Never weaken it to make it pass; if the command is wrong, explain and record a correction that preserves the intended outcome before relying on it.
- Check that every path you were given exists. Resolve missing inputs before relying on them. An explicitly requested new file is different: verify its intended parent and scope.
Before you say "done"
- Re-run the acceptance yourself, on the current work, and quote its output. Name the revision and any uncommitted inputs. A check that changes those inputs does not certify the resulting tree.
- Run the whole relevant suite, not only your test. Your test passing says nothing about the tests next to it. If a required check cannot run, name the gap instead of claiming full verification.
- Record the command's own exit code. In
cmd | tail; echo $?the$?belongs totail. Capture the producer's status before reading its saved output, or use the shell's per-command pipeline statuses.pipefaildetects a failing pipeline but is not necessarily the producer's own code. - "No tests ran" is a failure. An exit code of 4 or 5 from pytest, an empty collection or a skipped suite is not a pass.
- Unknown is not pass. If a check could not run, report it as not run, with the reason.
- Green means every required check. Read every required CI job on the revision, not the one you picked; report skipped or unavailable checks explicitly.
When you report
- Read the artefact, not the summary. A
status: okfile, a log that says "Saved" or a falling counter describes something narrower than your claim. Open the diff, the file, the frame. - A file that exists is not a file that works. Decode the image, load the page, run the binary.
- Look at it yourself. A 200 response is not a working page; open it and look.
- Verify every citation. Check repository citations with
git cat-file -e <sha>andgit cat-file -e <ref>:<path>; open external sources and verify that they support the claim. Identify private or historical sources and their access limits. - State the base, and re-check it before you publish. "Tested on abc123" stays true; "abc123 is current main" expires.
When you write tests and fixes
- A test that repeats a constant proves nothing. If the code says
MIN = 3.51and the test checks 3.51, ask where 3.51 came from. - Fix the class, not the instance. Find every call site of the defect before you call it fixed, and test more than the one you changed.
- Run a detector on a known-good case first. A check that flags 100% of its inputs is measuring itself.
- Register cleanup before the work it cleans up. Cleanup placed after the work never runs on the path that fails.
Never
- Never run a destructive command to answer a question.
git statusandgit diffanswer "does this match main";git reset --harddestroys the answer.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

