agentleFS
grovegrove/promise-to-proof/skills/productivity/prove/SKILL.md

prove

Skill4 starsChanged 59 days agoApache-2.0View on GitHub

Verify an implemented issue against its promises without changing the candidate, and report PROVEN or NOT PROVEN with concrete evidence.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 7 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before verification, read the acceptance contract protocol.

    line 13
  2. Very specific:

    Use a clean commit as the candidate when possible.

    line 41
  3. Distinctive:

    Do not edit product code, tests, CI configuration, or the acceptance contract.

    line 46
  4. Distinctive:

    Do not commit, push, publish, or declare a repair.

    line 47
  5. Distinctive:

    Prefer behavioral evidence through public interfaces and independent oracles.

    line 48
  6. Distinctive:

    Read the source, pending amendments, applicable parent constraints, and exact acceptance contract revision.

    line 64
  7. Very specific:

    If any identity cannot be established, return NOT PROVEN.

    line 97
  8. Very specific:

    If the candidate or contract drifts, or observations cannot be tied to them, return NOT PROVEN.

    line 98
  9. Very specific:

    Check realistic boundaries: empty/one/many, state transitions, retries, restart, authorization, concurrency, and the final workflow outcome.

    line 116
  10. Distinctive:

    Run the smallest high-signal checks that establish the requirements.

    line 122
  11. Very specific:

    Before a long suite, verify its setup in the exact disposable workspace that will run it: interpreter path and version, required imports, …

    line 130
  12. Very specific:

    After the report, end with Next steps: and a numbered list (1., 2., ...) of only the applicable actions, in order, so each can be …

    line 191
  13. Distinctive:

    If no PR exists, say no further action is required unless publication is wanted.

    line 201

“Common” is measured: kept by at least 6 in 10 of the 4 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/prove checks whether a ticket, specification, or agreed outcome is actually met. It verifies a fixed candidate and reports gaps; it does not repair the candidate. Use /repair-gaps for scoped repairs, then run /prove again. /implement-contract develops the candidate; /review-implementation separately examines contract fidelity, scope, and engineering quality. Neither replaces proof.

Before verification, read the acceptance contract protocol. It defines the spec envelope, identities, evidence, and verdicts.

Optional evidence-record v1 records may be cited by evidence ID and computed SHA-256 digest, and their deterministic Markdown rendering may be embedded in proof.md. Validate records against the exact proof context when available. Records are optional and a valid record never implies a verdict: requirement-level proven, not proven, and disproven judgments remain in proof.md, owned by /prove. Without host-issued command/test receipts, keep self-run command observations directly in proof.md.

Verdicts

  • PROVEN: every material requirement has credible evidence, no contract discrepancy remains, and the candidate stayed fixed during verification.
  • NOT PROVEN: any requirement lacks evidence, a counterexample remains, the contract is incomplete or ambiguous, required verification is unavailable, or candidate identity is uncertain.
  • A concrete violation is disproven; unavailable or inconclusive evidence is not proven, not disproven.

Rules

  • Reconcile the versioned acceptance contract with the source and authorized amendments. Report discrepancies without narrowing or rewriting the contract.
  • Judge requirement evidence independently of overall PR status, following the protocol's proof and merge readiness rules. Leave unrelated CI repair to /fix-pr without waiting for green checks or making it a prerequisite to proof.
  • Use a clean commit as the candidate when possible. A dirty or changing worktree is NOT PROVEN unless its exact snapshot can be established.
  • A proof run may not mutate product files, the candidate, or contract. If any such change occurs, return NOT PROVEN and discard observations from the changed state; the repair belongs to /repair-gaps and requires a fresh /prove.
  • Do not edit product code, tests, CI configuration, or the acceptance contract.
  • Do not commit, push, publish, or declare a repair.
  • Prefer behavioral evidence through public interfaces and independent oracles.
  • A test that only runs a path, uses a tautological assertion, or relies on a mock that cannot fail does not prove the promised result.
  • Reject stubbed or fixture-specific behavior, mock-only substitutes, and evidence that bypasses required production state. Distinguish a demonstrated violation from a weak check that leaves the outcome unknown.
  • Judge the complete promised capability. Do not penalize a small implementation for lacking unnecessary architecture. Report unrequested scope against the contract's exclusions or source reconciliation, not architectural taste.

Workflow

1. Establish the contract

Accept .p2p/work/<slug>/contract.md and discover its linked inputs, candidate.json, and reports in .p2p/work/<slug>/ using the protocol's durable handoff convention. Read the source, pending amendments, applicable parent constraints, and exact acceptance contract revision. Preserve all requirement IDs, boundaries, seams, oracles, open questions, and exclusions. Report omitted, conflicting, or ambiguous source promises instead of editing the contract. If no versioned contract can be established, report NOT PROVEN and hand off to /plan-acceptance; do not create or revise it during proof.

For a sliced child, retrieve the decomposition, contribution mapping, parent snapshot, and prerequisite outcomes. Follow the protocol's parent/child rules to reconcile the current parent and amendments. Judge the child's own contract with applicable inherited constraints; unrelated sibling functionality is not a child requirement. A material unresolved parent change is NOT PROVEN for the current agreement. Capture and recheck applicable parent identities with the child contract. For parent proof, evaluate all parent obligations and cross-slice interactions on one exact integrated candidate. Historical child proofs and closed issues are references, not an aggregated parent verdict. Recover the approved delivery plan and parent completion conditions under the protocol's Epic delivery plans rules. Include independently landed contributions and required final-destination integration in the exact parent candidate. A failing interaction leaves the parent unproven even when every child passed. All-independent delivery needs combined parent verification, not an empty PR. A destination-only change does not change product promises or establish proof of a different candidate.

2. Identify the candidate

Record the full commit SHA or exact snapshot, contract source and revision, captured contract identity, target or base when relevant, and verification environment. Follow the protocol's identity rules and confirm both identities before checks begin. Validate the work-item hash, binding parent/spec hashes, and comparison-base SHA against candidate.json. Compare product content outside .p2p/; local .p2p/ record updates retain the original candidate identity and stay out of Git history. If any identity cannot be established, return NOT PROVEN. If the candidate or contract drifts, or observations cannot be tied to them, return NOT PROVEN.

For an admitted delivery, bind proof to its validated comparison base and exact candidate. A later destination move alone does not change either identity. Proof does not establish that the candidate is compatible with newer destination commits.

3. Map and audit evidence

For every requirement, name the observation and the independent oracle that says whether it passes. Check existing tests, invariants, schemas, and commands at the agreed public seam. If a seam or oracle needs a consequential change, report the decision as a gap rather than silently replacing it. A passing suite or checked GitHub criterion does not cover a promise whose result is never asserted.

4. Hunt counterexamples

Check realistic boundaries: empty/one/many, state transitions, retries, restart, authorization, concurrency, and the final workflow outcome. When useful, run a controlled sensitivity check only in a disposable copy; discard it afterward.

5. Verify without mutation

Run the smallest high-signal checks that establish the requirements. Preserve durable evidence outside the candidate and tie each reference to its observation, assertion, command, and environment. The saved proof report may hold the evidence itself under the protocol's evidence rules. Check product content outside .p2p/, the candidate, and captured contract again afterward. Never fix a failure in this skill. Report the smallest complete repair needed and name the affected requirement IDs for /repair-gaps.

Before a long suite, verify its setup in the exact disposable workspace that will run it: interpreter path and version, required imports, working directory, clean .p2p/ state, and candidate identity. A check from the source checkout does not establish the nested runner's environment. Save this preflight with the command and environment. Run the full suite once on a clean copy of the final frozen candidate; use focused checks to guide repairs before that run. If setup invalidates an attempt, correct the setup and rerun once. Do not launch duplicate full-suite attempts in parallel or treat setup failures as candidate evidence.

6. Report

Save and reread .p2p/work/<slug>/proof.md and safe retained evidence in evidence/, preserving prior runs under the protocol's history rule. Saving generated records outside the product candidate is permitted. A read-only stage context returns exact text for the enclosing workflow to save and reread. Temporary files cannot be required to resume. For unsuitable evidence, retain a safe durable reference, checksum, description, and access limits; without a safe durable copy, report that evidence unavailable.

Return the intended outcome, contract reconciliation, candidate, environment, every requirement verdict, evidence observations, counterexamples, candidate stability, and unresolved gaps. A proof result must account for every requirement ID and must not hide an unmet promise.

Output

# <PROVEN | NOT PROVEN>: <source>

Requirements: <proven>/<total>
Counterexamples tested: <count>
Contract: <.p2p/work/<slug>/contract.md and exact revision>
Contract snapshot: <immutable reference or captured text and digest>
Parent context: <parent identity, snapshot, contribution mapping and prerequisites; omit if none>
Candidate: <commit or exact snapshot>
Candidate stability: <unchanged or NOT PROVEN>
Contract stability: <unchanged or NOT PROVEN>
Verification context: <environment>

## Outcome

<intended result and why it is or is not established>

## Requirement verdicts

| ID | Observation and oracle | Evidence reference | Verdict |
|---|---|---|---|
| R1 | <observed outcome and independent expected result> | <saved report section, artifact, or run; command and assertion> | proven |

## Unresolved gaps

- <requirement, counterexample, or limitation, or "None">

## Repairs needed

- <requirement ID and smallest complete repair, or "None">

Fresh `/prove` is required after any repair.
Refresh `/review-implementation` for the changed candidate as a separate phase.

After the report, end with Next steps: and a numbered list (1., 2., ...) of only the applicable actions, in order, so each can be referenced by number. For PROVEN, if review is missing give /review-implementation <saved candidate> against <comparison base>. When matching full review and proof exist, state that acceptance evidence is complete for this candidate. For an existing PR near merge, give /merge-readiness <PR URL>; review <saved review>; proof <saved proof>. For an existing PR not yet near merge, mention any known pending gates and give /merge-readiness <PR URL>; review <saved review>; proof <saved proof> for when the PR approaches a merge decision; do not assess PR gates in this proof. If no PR exists, say no further action is required unless publication is wanted; only then give this optional publication preview invocation with the saved references:

/publish-pr <candidate handoff>; review <saved review>; proof <saved proof>; target <branch>; draft only

For NOT PROVEN, give /repair-gaps <saved proof> for scoped repair or /plan-acceptance <source> for a missing or changed agreement. If candidate identity or evidence is uncertain, state the exact identity/evidence needed; when rerunning a check, include its recorded command and expected result.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.