Skip to content

feat(verify): verify a change or claim on the real app and give a verdict - #71

Merged
mastro993 merged 2 commits into
mainfrom
feat/verify-skill
Dec 3, 2026
Merged

mastro993 merged 2 commits into
mainfrom
feat/verify-skill

Conversation

@mastro993

@mastro993 mastro993 commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Why

Building, fixing, opening a PR and shipping all need to end with the same question answered: does the change actually work for the user? Until now no skill gave that answer. verification-skill sets an app up so an agent can drive it, but it never gives a verdict. implement runs the project's checks, but the agent that wrote the change is the one doing them. This PR adds verify. It checks a change or a claim on the real app and returns one of three verdicts: verified, not verified, or inconclusive. Every verdict comes with its evidence.

What

  • New skill skills/verify/ (SKILL.md, 62 lines, plus agents/openai.yaml). The agent can start it on its own, from requests like "verify this works", "prove the fix", "check the change on the real app", or from another flow handing over a change to check. Its steps:
    1. Frame: pin the change to its base and head commits, or quote the claim. Write "done" as things a user does and sees in the UI, CLI or API.
    2. Locate: find the project's verification skill the same way verification-skill does (.agents/skills/verify-*/). If one exists, pick the journeys in its feature map that the change touches, and write a new one in the same style for behavior the map doesn't cover yet. If none exists, use what the project offers (its CLI, an HTTP client, browser automation) inside a throwaway setup built for this run.
    3. Hand off: the author of a change doesn't give its verdict. If the agent wrote the change in this session, a fresh subagent does the check, given only commits, paths and the criteria. Without subagents, the agent checks itself and says the verdict isn't independent.
    4. Check: run the app at the head commit. The verification skill's Launch, Doctor, Drive and Cleanup sections do this when one exists. Unit tests, green CI, commit messages and bot approvals count as supporting evidence only.
    5. Script: save one script that reruns the whole check and fails on a wrong result.
    6. Suspect an easy pass: show each passing check could have failed.
    7. Verdict for each criterion, then for the whole change.
    8. Reply: lead with the verdict. When the project has no verification skill, offer to create one so the check becomes one step.
  • Throwaway setup rules: these match verification-skill. The app never touches production, real users' data, the live config or the user's own accounts. A criterion that can only be checked against one of those is inconclusive, and the reply names the sandbox it needs.
  • chef: one new routing line. A change a user touches gets verify before it is called done.
  • Registration: .claude-plugin/plugin.json and the README skills table.
  • Two eval cases, both built on the tally app fixture:
    • tally-export-branch: the repo has a verify-tally skill, and a branch whose export command silently drops entries that have no customer. Its unit test passes anyway.
    • tally-json-total-fix: no verification skill. The agent fixes a bug and then has to prove the fix.

The name: verify is the word users say, and the plan calls this flow "Verify with evidence". It doesn't collide with project verification skills: verification-skill looks for .agents/skills/verify-*/, and that pattern needs the hyphen, so plain verify never matches. A verify-<app> skill reads as the app-specific driver that verify uses.

Left alone on purpose:

  • implement step 3 stays as it is. It is the author's own check against the baseline. Making implement call verify would add a second fresh agent to every change, refactors included, and fstack only lets a skill name another skill when it's a clear win. The order of flows lives in chef.
  • verification-skill needs no change. Its anatomy (Launch, Doctor, Drive, Evidence, Cleanup, features/) is already what verify drives.

Merge danger

Reversible: yes. The PR only adds skill text and eval fixtures. Nothing is stored or migrated.

Blast radius: small. verify can start on its own, so requests to "verify" or "prove" a change will now load it. The only existing skill that changes is chef, by one line.

How to test

Automated: markdownlint-cli2 finds 0 issues. The skills-listed manifest check passes.

Evals: each case ran twice on this branch and twice on main (where the skill doesn't exist), with one blind grader per case. The runs used the skill under its first name, prove; the rename changed only the name and heading, not the description or steps.

Case Version Pass rate Mean blind rank Wall time Tokens
tally-export-branch branch 10/10 1.5 107 s 822k
tally-export-branch main 8/10 3.5 41 s 418k
tally-json-total-fix branch 12/12 1.5 273 s 3.23M
tally-json-total-fix main 4/12 3.5 215 s 2.16M
Overall branch 22/22 1.5 190 s 2.03M
Overall main 12/22 3.5 128 s 1.29M
  • Export branch: both versions found the dropped entries through verify-tally and said not verified. Only the branch runs saved a script to rerun the check, and showed the check could fail (against the base commit, or a self-test).
  • Fix and prove: on main the agent checked its own fix and gave no rerun script or offer. On the branch a fresh subagent ran bin/tally list --json at the fixed commit, saved a rerun script that passes on the fix and fails on the old code, and the reply offered to set up a verification skill.
  • Cost: tokens rose about 57% and wall time about 50%, mostly from the script, the check that a pass could have failed, and the extra checker agent. Token counts include cache reads and nested subagents.

@mastro993
mastro993 marked this pull request as ready for review December 3, 2026 09:56

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Approach: sound. A separate prove skill gives a verdict with evidence from an independent checker, and leaves implement and verification-skill untouched. That avoids a second fresh agent on every change.

Reviewed changes — the full single-commit diff: the new skill, its registration and routing, and both eval fixtures.

  • skills/prove/SKILL.md: eight steps, each with a "Done when". It reuses the verify-* skill's Launch, Doctor, Drive and Cleanup sections when one exists, and applies the same fake-world rules when none does. The verdict is aggregated as any not verified → not verified, else any inconclusive → inconclusive, else verified.
  • Registration: ./skills/prove in .claude-plugin/plugin.json, a row in the README skills table, and agents/openai.yaml. The version is untouched, as manifests.yml requires.
  • skills/chef/SKILL.md: one routing line sending user-facing changes to prove before they're called done.
  • tally-export-branch eval: the export query drops entries with no customer, the unit test only covers a formatting helper, and the live .env and database are checksum-guarded. A grader set covers the verdict, the verify-tally drive, untouched live data, the script, and leaving the change as is.
  • tally-json-total-fix eval: no verification skill, the agent fixes a float-cents regression, and a fresh checker must prove it. Graders cover the independent checker, the fake world, the rerun script, and the offer to create a verification skill.

Pullfrog  | View workflow run | Using claude-sonnet-5-5 | 𝕏

@mastro993 mastro993 changed the title feat(prove): verify a change or claim on the real app and give a verdict feat(verify): verify a change or claim on the real app and give a verdict Dec 3, 2026
@mastro993
mastro993 marked this pull request as draft December 3, 2026 09:59
@mastro993
mastro993 marked this pull request as ready for review December 3, 2026 10:07
@mastro993
mastro993 merged commit 379b69e into main Dec 3, 2026
6 checks passed
@mastro993
mastro993 deleted the feat/verify-skill branch December 3, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant