verifying
Skill0 starsChanged 7 months agoMITView on GitHub
Run the four verification probes (Exists, Substantive, Wired, Functional) per criterion. All four green per criterion or the criterion fails.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- kamenkurtev/ui-consistencytheir own version, first seen Oct 11, 2026
- genli-ai/market-research-skillstheir own version, first seen Jun 9, 2026
- renathoaz/arsyntheir own version, first seen Mar 24, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- genli-ai/market-research-skills★ 63same name
- renathoaz/arsyn★ 2same name
- kamenkurtev/ui-consistency★ 1same name
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.
In this repository7 other files it gives its agents.
- authoring-skillsSkill
- contractingSkill
- executingSkill
- judgingSkill
- planningSkill
- resettingSkill
- using-anvilSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read the contract via cli/lib/contract.js loadAndValidate to get each criterion and its four verification-level slots.
- Very specific: line 17
Read the captured <worktreePath>/anvil/diff.patch and <worktreePath>/anvil/tool-output.jsonl.
- Very specific: line 19
If Exists passes, run Substantive.
- Distinctive: line 20
If Substantive passes, run Wired.
- Distinctive: line 21
If Wired passes, run Functional.
- Very specific: line 22
After all criteria are evaluated, run evaluateInvariants against the contract's invariants section.
- Very specific: line 23
Write the structured result to <worktreePath>/anvil/verify/verify-result.json.
- Distinctive: line 35
If any of these conditions obtain, the verify is rejected:
- Distinctive: line 45
Every criterion has a result object with all four level fields present.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Overview
This skill runs the four-level verification probe per criterion. Exists checks the file or symbol is present. Substantive runs the target symbol against contract-provided inputs and checks for the named observable side effects plus the coverage floor. Wired walks the call graph from the contract's named entry point and confirms the symbol is reachable. Functional runs the declared test runner and checks exit code plus named passes. Three greens out of four is a fail. Invariants are evaluated on every verify pass.
When to Use
Invoked by the orchestrator after each executing dispatch returns. Reads only the captured diff and the captured tool output plus the worktree's source files. Does not read implementer narration.
Process
- Read the contract via
cli/lib/contract.js loadAndValidateto get each criterion and its four verification-level slots. - Read the captured
<worktreePath>/anvil/diff.patchand<worktreePath>/anvil/tool-output.jsonl. - For each criterion, run Exists first. If Exists fails, short-circuit and mark the criterion failed; do not invoke Substantive, Wired, or Functional for that criterion.
- If Exists passes, run Substantive. It invokes the target symbol and records coverage plus observable side effects. Pass requires every
must_implementeffect observed and everymust_noteffect absent. - If Substantive passes, run Wired. It walks the call graph from the contract's named entry point. Pass requires the required symbols to be called inside the declared line range.
- If Wired passes, run Functional. It runs the declared runner against the declared target and checks the exit code and named passes.
- After all criteria are evaluated, run
evaluateInvariantsagainst the contract's invariants section. Any unknown invariant key yields a warning-status result that blocksallGreen. - Write the structured result to
<worktreePath>/anvil/verify/verify-result.json. Return{ criteria, invariants, allGreen }.
Rationalizations
Reject the following shortcuts:
- "The test passed, so the criterion is verified." A green test is not a green criterion; four levels must pass together (failure-taxonomy row 8: Claim-without-evidence).
- "The target symbol exists, so Substantive is covered." Existence is a different probe; Substantive requires behavioural evidence (failure-taxonomy row 13: Semantic empty stub).
- "The import references the module, so it must be Wired." Import is not a call; Wired walks the call graph for reachable call expressions (failure-taxonomy row 12: Orphan implementation).
Red Flags
If any of these conditions obtain, the verify is rejected:
- The agent writes "the test passed" without recording what it actually covers; Substantive requires the probe to assert observable side effects, not the tautology that the mock returned the mock (failure-taxonomy row 13: Semantic empty stub).
- A criterion whose Exists probe fails still has Substantive, Wired, or Functional probes invoked; short-circuit is mandatory (failure-taxonomy row 8: Claim-without-evidence).
- The symbol is declared in a different file than the contract's
wired.entry_point; the implementation is orphaned (failure-taxonomy row 12: Orphan implementation).
Verification
Each verify pass checks:
- Every criterion has a result object with all four level fields present.
- For every criterion whose Exists is fail, the other three levels are null (short-circuit evidence).
<worktreePath>/anvil/verify/verify-result.jsonexists and is valid JSON withallGreenboolean.evaluateInvariantswas called and any unknown invariant key returnedstatus: 'unknown'with a warning.
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.

