/done-is-a-claim:whose-redfrom done-is-a-claim
Determines if a failing test run is caused by a change, pre-existing on main, or inconclusive by comparing matched branch and clean-main runs.
Ships in done-is-a-claim. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A red says the suite failed, not who failed it. The branch's log alone may not separate "the change is wrong" from "main was already broken". Use a matched control where possible, investigate differences, and report uncertainty before you retry, revert or block on the red.
Read the error text first. These errors can point to setup or command problems, but can also result from the change:
command not found, exit 127, a missing interpreter or tool;file or directory not found for the test path itself (exit 4 in pytest);no tests ran / nothing collected (exit 5 in pytest);Prepare a clean control. A scratch worktree detached at an explicit main commit, never your working checkout:
git fetch origin
git worktree add --detach ../control origin/main
cd ../control && git rev-parse HEAD && git status --porcelain
Quote the printed commit. git status --porcelain must print nothing.
Match the experiment on both trees. Use the same command, paths, flags and environment. If narrowing a full-suite failure to files or tests, rerun that narrowed command on the branch before comparing it with main. If the failure depends on order or shared state, compare the full suite, including its order or seed. Record any unavoidable differences; they limit the verdict.
Compare failure signatures and all failures in the matched scope. Test names alone do not identify a cause. Compare error text, failing assertion and relevant stack or context; check for additional branch failures.
| Control on main | Verdict | Do |
|---|---|---|
| Same failure signature on both | Evidence that this failure existed on the tested main commit | Report the shared failure; assess extra failures or changed behavior separately; this does not exonerate the whole change |
| Extra branch failures or a different signature | Possible additional regression | Investigate each difference against the diff and matched runs |
| Main green, branch red | Evidence implicating the change in this scope | Investigate the cause; repeat matched runs if nondeterminism is plausible |
| Outcomes or counts vary between runs | Nondeterministic or otherwise inconclusive | Record repeated matched outcomes and investigate variability; do not infer load sensitivity from a count alone |
| Files exist only on the branch, or setup prevents comparison | No direct matched control yet | Investigate the new test or setup; report the comparison as inconclusive rather than assigning cause by construction |
Check the base before retrying. Record the branch's base and the main commit tested. If a newer main could matter, test integration in a separate scratch worktree. Do not automatically rebase or modify the owner's branch.
Record both runs. A verdict with one number in it is a guess:
command/scope: <matched command, environment, order or seed if relevant>
red: <test id> — <failure signature>; extra branch failures: <ids or none>
branch <commit>: FAIL control main <commit>: PASS|FAIL
verdict: evidence of pre-existing failure | additional regression | environment | inconclusive
limits: <unmatched conditions, repetitions, or untested scope>
Keep a short list of failures observed on main, including their signatures, commands and commits. Use it as a lead, not a standing exemption for other branches. Re-check it on the relevant main commit before using it to explain a new red, and retire entries once matched runs show them resolved.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub okgrit/done-is-a-claim --plugin done-is-a-claim15 skills in this plugin
/acceptance-designDefine executable acceptance for a bounded task before work or dispatch. Use when writing a worker brief, selecting success checks, or repairing an acceptance contract that cannot test the intended outcome./checking-deliveryVerify an artifact at its actual delivery destination and distinguish send attempts, acknowledgements, publication and consumer checks. Use when reporting a file, message, export or deployment as delivered; creating a local draft alone does not imply delivery./collecting-worker-resultsInspect a stopped worker's returned work and evidence before accepting it, retrying it or handing it to an integration owner. Use when a worker finishes, records disagree, or a green result has no visible change. Collection does not authorize merging./debugging-with-evidenceDiagnose unexpected behavior with a reproduction, competing explanations and experiments that separate them before fixing. Use for bugs, failed checks or repeated unsuccessful fixes; attribute branch failures only with suitable comparison evidence./evidence-freshnessBind a check or action to the input snapshot it actually used. Use before relying on cached verification, consuming a reviewed batch, acting while inputs may change, or retrying an operation with an ambiguous result./executing-plansCarry an actionable change plan through implementation, checks, review and an evidence-backed report. Use when executing several planned steps or integrating bounded worker returns, within existing authorization.Other plugins' skills for the same job