/regression-hunt:reproduce-regression <campaign dir> <attempt> <handle file> <candidate>from regression-hunt
Builds copies of the pinned S0 and S1 exports inside its own attempt directory, deploys both locally, and runs one portable PoC with identical input against each through a real interface, keeping setup, PoC, workload, separate logs and the observed behaviour (correct, failure, unknown) in a sealed reproduce.json. Use as the reproduce stage of regression-hunt:regression-hunt, or when handed a campaign, attempt, candidate and handle file. Not for re-running someone else's PoC independently — use regression-hunt:replay-regression.
Ships in regression-hunt. 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.
Assignment: $ARGUMENTS
Scripts: ${CLAUDE_SKILL_DIR}/../regression-hunt/scripts/ (<scripts>). Record fields:
${CLAUDE_SKILL_DIR}/../regression-hunt/references/records.md.
The answer comes from running both builds, not from reading code. Record what happened, not what
you expected. Write only inside <C>/attempts/<aNNN>/. Without a campaign, attempt, candidate and
handle file, stop and point to regression-hunt:regression-hunt.
Write every script call with the literal absolute path (<scripts> expanded) and literal absolute
campaign paths; never put the scripts, the campaign or the attempt in shell variables. The
transcript is part of the evidence. Directories are created by the Write tool, or by a plain
mkdir that prompts.
You will run the project's build and code. The brief must quote the user's approval and that
approval must explicitly allow running the project's commands. Show your plan first in your
output: the build command, the PoC, the input, the two deployments and the directories. If the
approval is missing or does not cover running code, stop after the plan and return blocked
("needs approval to run project commands"). Builds, copies and PoC runs are not pre-allowed;
they prompt.
The Approval: line holds the user's words only; never widen or paraphrase it. A denial from
the harness, a permission prompt or a safety classifier is a blocker: return blocked with it
and never route around it.
python3 <scripts>/runtime.py wait <C>/runtime/<aNNN>-handle → your handle (exit 1 → blocked).python3 <scripts>/evidence.py verify <C> <rel> for the prepare, hunt and candidate records.source.json, the boundary notes, security docs and guidance.cp -R <C>/<prepare dir>/snapshot/S0 <C>/attempts/<aNNN>/build/S0, same for
S1. Never build in the snapshot, the target checkout or another attempt's directory.GOCACHE=<C>/attempts/<aNNN>/gocache GOFLAGS=-buildvcs=false GOTOOLCHAIN=local). Keep build
output in logs/build-S0.log and logs/build-S1.log. A missing toolchain is blocked: never
install anything.blocked with the gap.attempts/<aNNN>/poc/: the PoC (one script taking the deployment as its argument),
workload (input and sanitised config, no revision-specific addresses), setup.md (steps to
repeat the deployment). Everything it needs lives there; nothing is fetched at run time.logs/S0.log and logs/S1.log.correct (the promised behaviour, a refusal included), failure
(the defect), unknown. Only claim what ran.attempts/<aNNN>/reproduce.json: common fields, candidate, source (the prepare stage's
source.json), setup, poc, workload, runs (S0 then S1: state, revision = source s0/s1,
deployment, command, log, behavior), build_dirs (["attempts/<aNNN>/build"]),
artifacts (poc, logs, build). Write the versions of the tools used and where temporary
resources went (stopped, removed, left) into logs/environment.txt; release resources but never
delete evidence. Blocked: keep runs empty and say exactly what is missing.
python3 <scripts>/evidence.py seal <C> attempts/<aNNN>/reproduce.json
python3 <scripts>/registry.py check <C> <aNNN> attempts/<aNNN>/reproduce.json
Return the four lines from the brief.
kubectl/helm/terraform apply/ansible-playbook.git worktree. Never write runtime/, scope.json,
registry.json or campaign.json. No secrets in logs or configs.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub flyoverhead/devops-plugins --plugin regression-hunt7 skills in this plugin
/adjudicate-regressionDecides one candidate from sealed evidence — source, setup, PoC, raw S0/S1 logs and the project's security promises — as REPRODUCED_REGRESSION, INCOMPLETE_FIX, LATENT_BUG, PREEXISTING_BUG, REJECTED or UNRESOLVED, with category, severity, likelihood and nine cited checks for a confirmation, in a sealed decision.json. Use as the adjudication stage of regression-hunt:regression-hunt, or when handed a campaign, attempt, candidate and handle file. Not for producing missing evidence — use regression-hunt:reproduce-regression./hunt-regressionsReads the whole frozen diff of one change, traces every changed behaviour through its callers to a real interface, and writes one sealed candidate file per plausible regression lead with a stable hypothesis key reserved through registry.py, plus hunt.json with coverage and limits — no PoCs, no builds. Use as the hunt stage of regression-hunt:regression-hunt, or when handed a campaign, hunt attempt, prefix and handle file. Not for proving a candidate — use regression-hunt:reproduce-regression./prepare-regressionPins the before (S0) and after (S1) commits of one change for a regression campaign — single commit, explicit range, open PR, merge, squash or rebased landing — freezes the PR text, comments or commit messages with collection time, exports both trees with snapshot.py, looks for security docs on both sides and seals prepare.json in its attempt directory. Use as the prepare stage of regression-hunt:regression-hunt, or when handed a campaign, attempt and handle file for it. Not for starting a campaign from a PR or commit — use regression-hunt:regression-hunt./regression-huntRuns a regression campaign on a GitHub PR, a commit or a commit range — pins before (S0) and after (S1), hunts candidates in the diff, and has three separate fresh agents reproduce, replay and adjudicate each one on live S0 and S1 builds, with sealed evidence and a report outside the repo. Use when asked whether a PR or the last commit broke something that used to work, to prove a regression on before and after builds, to resume a campaign, or as the regression step of patching-bugs:patching-bugs. Not for a read-only review of a diff — use differential-review:differential-review./replay-regressionReplays a sealed reproduction independently — verifies the package, rebuilds S0 and S1 from the pinned exports in its own attempt directory, runs the byte-identical PoC and workload with only the attacker or user access the candidate claims, and records any divergence in a sealed replay.json. Use as the replay stage of regression-hunt:regression-hunt, or when handed a campaign, attempt, candidate, reproduction record and handle file. Not for first reproduction of a candidate — use regression-hunt:reproduce-regression./report-regressionsReconciles a regression campaign's index with its frozen scope, assigned changes and accepted candidates, renders index.html, report.md and report.json with report.py into its own attempt directory, checks the counts and links, and seals report-stage.json — blocked on any integrity failure, never repairing decisions or hashes. Use as the report stage of regression-hunt:regression-hunt, or when handed a campaign, report attempt and handle file. Not for deciding a candidate — use regression-hunt:adjudicate-regression.