wrench / verification
AGENTS.md7 starsChanged 47 days agoMITView on GitHub
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 repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/AGENTS.mdAGENTS.md
- .agents/skills/percolate-kb/AGENTS.mdAGENTS.md
- .agents/skills/phase-final-reviewer/AGENTS.mdAGENTS.md
- .agents/skills/phase-implementer/AGENTS.mdAGENTS.md
- .agents/skills/phase-orchestrator/AGENTS.mdAGENTS.md
- .agents/skills/phase-reviewer/AGENTS.mdAGENTS.md
- .agents/skills/plan-kb/AGENTS.mdAGENTS.md
- .agents/skills/query-kb/AGENTS.mdAGENTS.md
- .agents/skills/refresh-kb/AGENTS.mdAGENTS.md
- .agents/skills/save-pdf-kb/AGENTS.mdAGENTS.md
- .agents/skills/save-url-kb/AGENTS.mdAGENTS.md
- .agents/skills/write-phase-plan/AGENTS.mdAGENTS.md
- edge/AGENTS.mdAGENTS.md
- kb/AGENTS.mdAGENTS.md
- website/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- percolate-kbSkill
- phase-final-reviewerSkill
- phase-implementerSkill
- phase-orchestratorSkill
- phase-reviewerSkill
- plan-kbSkill
- query-kbSkill
- refresh-kbSkill
- save-pdf-kbSkill
- save-url-kbSkill
- write-phase-planSkill
- ghostgetSkill
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 14
Keep this directory, the verification scripts, and the checker downloads out of the published package.
- Very specific: line 19
Keep the Lean project core-only.
- Distinctive: line 20
Keep generated traces, build output, and downloaded tools out of Git.
- Very specific: line 21
Run every fast-check property through assertProperty or assertAsyncProperty from src/test-support.ts.
≈ “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
Contents
claims.json– the claims register: one rule entry perAGENTS.mdguideline, with its digest and the claims that quote it; the digest and reason of each synced managed block; and one row per claim with its layer, status, quotes, evidence, named property tests, assumptions, and not-verified scope.bun run ./scripts/verification-claims.ts renderwritesdocs/assurance.mdfrom it.quint/– Quint models,models.jsonwith each model's invariants, seeds, bounds, mutants, and replay test, and the ITF trace replay pattern.mutants.json– named source mutants of the production reducers, each with the defect it introduces and the one test that must fail;bun run ./scripts/verification-mutants.tsruns them in the nightly workflow.lean/– the core-only Lake project, its pinnedlean-toolchain,proofs.jsonwith each required theorem's statement digest and each seeded defect, and the axiom audit.oracles/– the dev-only Rust oracle: an RFC 8785 canonicalizer and aurl-crate reading of the web gateway URL policy, pinned byrust-toolchain.tomlandCargo.lock.scripts/verification-oracles.test.tscompares it with the TypeScript.vectors/– golden vectors from the standard-library Python generatorgenerate.py.scripts/verification-vectors.test.tscompares the TypeScript with them.seeds/– the property seed corpus:corpus.jsonmaps each named property to its test file and its recorded fast-check seeds and shrink paths.tsconfig.json– type checking for../scripts/verification-*.ts.
Guidelines
- Keep this directory, the verification scripts, and the checker downloads out of the published package.
- Change a claim together with its evidence, and run
bun run verify. Keep a claimplannedwith its plan phase until its layer runs in CI. - Record every Quint model in
quint/models.jsonwith its invariants, seed, bounds, Apalache length, at least one mutant, and its replay test. Set the replay target toproductiononly when the replay test drives production code; areferencetarget is toolchain evidence only. - Give a Quint model
nightlybounds only when they deepen its CI bounds and none falls below them. Keep.github/workflows/verification-nightly.ymlread-only and outsideRequired, and triage its failures and review the register quarterly throughdocs/claims-review.md. - List every reducer source mutant in
mutants.jsonwith its defect and the full name of the one test that must fail. A mutant counts as killed only when that test passes on unmodified source and is the only test that fails on the mutant. - Keep the Lean project core-only. List every required theorem and allowed axiom in
lean/proofs.json; the audit rejectssorry,admit, native evaluation, unlisted axioms, and other trust escapes. - Keep generated traces, build output, and downloaded tools out of Git.
- Run every fast-check property through
assertPropertyorassertAsyncPropertyfromsrc/test-support.ts;src/test-harness-policy.test.tsrejects any other fast-check runner. Record a failing seed and shrink path inseeds/corpus.jsonunder the property's name, pass that name to the helper, and keep the named regression test the entry cites. - For a soak, set
GHOSTGET_PROPERTY_RUNSto an integer from 1 to 100. It multiplies every property's run count and interruption budget. Use 20 for the nightly soak. Give the soak command its own runner timeout on the command line, for exampleGHOSTGET_PROPERTY_RUNS=20 bun test --no-orphans --timeout 3600000 --max-concurrency 1 <files>, and report a failure with the seed and path fast-check prints.
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.

