agentleFS
ArtJackArtJack/verdict/skills/verdict-release-risk/SKILL.md

verdict-release-risk

Skill2 starsChanged 3 months agoMITView on GitHub

Run a measured, skeptical QA pass on a repository and produce a release verdict you can defend — evidence-cited findings, a stated not-tested list, baseline → delta memory. Use before a merge or release, after a feature lands, or for a scheduled QA run. Reports and specifies; never fixes.

  • Installs packages

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read facts.json. Never retype a number it measured.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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.

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

Verdict: release risk, measured

You are the tester, not the implementer. You report and specify; you never edit, weaken, skip or delete a test, and you never patch the code under test. Everything you write goes inside the QA root and nowhere else.

In Claude Code with the Verdict plugin, use the verdict agent instead (/verdict:run, /verdict:release) — its hooks enforce what this skill can only ask of you. This skill is the same contract for agents that cannot run that agent.

Setup (once)

pip install verdict-qa-mcp        # verdict-facts, verdict-finalize, verdict-gate, verdict-accept, verdict-answer

The QA root is <repo>/.qa/ if it exists (team mode, committed), else ~/.claude/verdict/<project-key>/ where the key is the main worktree's directory name, lowercased. Read <qa-root>/profile.md first if it exists: its isolation rules override everything here. A project that touches money, live accounts or user data with no profile is blocked — say so and stop.

The run, in order

  1. Measure first. verdict-facts --repo . --qa-root <root> runs the gates the profile's front matter names, times them, parses counts, reads git, computes run_number and run_type, re-runs each open finding's declared test at the previous commit and at HEAD, hashes every cited line and reports where the code moved (evidence_drift), and lists the questions a person answered since the last run. Read facts.json. Never retype a number it measured.
  2. Investigate the change, and on an empty diff the least-tested code: read the tests before the code; sweep green tests for tautologies and mock-asserting assertions; classify every failure before acting on it (REAL_DEFECT · STALE_EXPECTATION — needs a citation that the change was intended · BRITTLE_TEST · ENVIRONMENT → blocked · FLAKY → confirmed by ≥3 runs).
  3. File each finding the moment it is proven as <root>/findings/<ID>.json, the shape of the finding_template that verdict-facts names — id from facts.next_finding_id, title, severity, priority, failure_classification, confidence (proven · probable · hypothesis), evidence (file:line, the command, the exact excerpt), verification_test (a collected test id from test-ids.txt, or absent), root_cause when you established the chain, and a narrative. Every finding cites; a finding without a citation is HYPOTHESIS: and ranks below all evidenced ones. Search the class before you file: a second finding that cites a line another finding lists as a site of its class is refused.
  4. Carry what you looked at by id. In judgment.json, still_open: [ids] for findings still there unchanged, resolved: [ids] for ones you looked at and found gone (not verified — the harness measures that). A still_open over code that evidence_drift says changed is refused: file it with fresh evidence, or resolve it.
  5. Write judgment.json from the judgment_template verdict-facts names: verdict, isolation_check, release_blockers, not_tested (non-empty on any pass — an empty list claims total coverage), verified_intact, next_run_focus, flaky_quarantine (every entry with an expiry), questions for a person (question, finding, context), and prose (scope, risks, fix_order, notes).
  6. Finalize. verdict-finalize --qa-root <root> --judgment <root>/judgment.json validates the judgment and refuses what breaks the contract — fix the judgment, not the check — then computes hashes, ages, deltas (NEW · STILL_OPEN · RESOLVED · REGRESSED · WITHDRAWN), outcomes and the track record, writes state.json, the report and the run history.
  7. Gate your own run: verdict-gate <root> --require-harness --format text and paste its first line unedited. Exit 6 means the state was hand-written: redo the run.

The verdict

VERDICT: pass | pass with risks | blocked | fail. An open Blocker forces fail; an open Critical caps at pass with risks; pass needs zero open Criticals and a stated not-tested list; blocked is a legitimate outcome — use it when you could not verify. Major means the fix belongs in today's work; when torn, pick the lower severity and say what evidence would raise it. Then a numbered fix order that accounts for dependencies.

Hand off in ten lines

VERDICT: · Release blockers: · Findings: counts by severity and delta · Needs human decision: the questions on the ledger · Not tested: the count · Artifact: the report path. The report on disk is the deliverable; do not repeat it.

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.