io.github.CloudCorpRecords/reprocheck

Official registry Other

Red-first repro verifier: a fix counts only when the repro fails on the base and passes on the fix.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @reneturcios/reprocheck
Claude Code
claude mcp add reprocheck -- npx -y @reneturcios/reprocheck@0.2.0 mcp
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "reprocheck": {
            "command": "npx",
            "args": [
                "-y",
                "@reneturcios/reprocheck@0.2.0",
                "mcp"
            ]
        }
    }
}
OCI package ghcr.io/cloudcorprecords/reprocheck:0.2.0
Claude Code
claude mcp add reprocheck -- docker run -i --rm ghcr.io/cloudcorprecords/reprocheck:0.2.0 mcp
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "reprocheck": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/cloudcorprecords/reprocheck:0.2.0",
                "mcp"
            ]
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. reprocheck
  2. The feature that makes it practical: --test-file
  3. Usage
  4. Where reprocheck fits
  5. Development
  6. License

reprocheck

"Fixed" is a claim. reprocheck makes you prove it, red first.

Every bug fix makes the same claim: this change fixes that bug. The honest proof has a specific shape, and it is the shape good reviewers ask for: a repro that fails on the code before the fix and passes on the code after it. A test that passes on both proves nothing. A fix whose repro still fails fixes nothing. And a change that turns a passing repro red broke something.

reprocheck runs that proof for you. Give it a repo, a base ref, a head ref, and a command. It creates clean detached worktrees of both refs, runs the command in each, and classifies the pair of exit codes:

verdictbaseheadwhat it means
VERIFIEDfailspassesThe change fixes what the repro demonstrates, and the repro demonstrably covers the bug
NOT-REPRODUCEDpassespassesThe repro does not demonstrate a bug on the base (already fixed there, or it misses the bug), so the head pass proves nothing
STILL-FAILINGfailsfailsThe change does not fix what the repro demonstrates
BROKEN-BY-HEADpassesfailsThe change introduced this failure
ERRORn/an/aSetup, git, or the run itself failed or timed out; the report names the stage

Exit codes are CI-friendly: 0 for VERIFIED, 1 for the other completed verdicts, 2 for ERROR.

The feature that makes it practical: --test-file

The standard red-first setup has an awkward step: the regression test is new, so it does not exist on the base. Copying it into a base checkout by hand is exactly the kind of manual step people skip. reprocheck does it for you: pass --test-file <path> and the file, read from your working tree (committed or not), is copied into both worktrees at the same relative path before the command runs.

Your working tree is never modified. Both runs happen in temporary worktrees under the OS temp dir, and they are removed on every exit path.

Usage

CLI
# Verify a fix on the current branch against main, using the new regression test
npx @reneturcios/reprocheck run \
  --repo . --base main --head HEAD \
  --test-file test/radar.test.ts \
  --setup "npm install" \
  --cmd "npx tsx --test test/radar.test.ts"

# Simpler: a committed repro script, no setup
npx @reneturcios/reprocheck run --repo . --base HEAD~1 --head HEAD --cmd "node repro.mjs"

# Machine readable output
npx @reneturcios/reprocheck run --repo . --base main --head HEAD --cmd "npm test" --json

Example output (real dogfood, verifying Greenlight v0.15.1's radar precision fix, where the regression tests in test/radar.test.ts were written against the fixed behavior):

reprocheck: VERIFIED
  command: npx tsx --test test/radar.test.ts
  test file copied into both worktrees: test/radar.test.ts
  setup: npm install --no-audit --no-fund
  base (a33c55e3 @ a33c55e39010): exit 1 in 18512ms
  head (9492844b @ 9492844bf6b6): exit 0 in 12015ms
The repro fails on the base and passes on the head. The change fixes what the repro demonstrates, and the repro demonstrably covers the bug
MCP server

Add to your MCP client config:

{
  "mcpServers": {
    "reprocheck": {
      "command": "npx",
      "args": ["-y", "@reneturcios/reprocheck", "mcp"]
    }
  }
}

Tool: run_repro_check: repoPath, baseRef, headRef, command, and optional testFile, setupCommand, and timeoutSeconds. Returns the full report as JSON, including per-phase exit codes, durations, and output tails.

Docker

The CLI works on local git repositories, so mount the repo you want to check:

docker run -i ghcr.io/cloudcorprecords/reprocheck mcp
docker run --rm -v "$PWD:/repo" ghcr.io/cloudcorprecords/reprocheck \
  run --repo /repo --base main --head HEAD --cmd "npm test"

Where reprocheck fits

reprocheck is the verification third of a small triad from the same author:

  • cidiff tells you which failing checks on a PR are actually the PR's fault.
  • reprocheck proves a specific fix fixes a specific bug, red first.
  • shipcheck verifies the finished release actually shipped on every surface.

All three come from the same discipline that runs Greenlight: evidence first, honest verdicts, no invented answers. A verdict reprocheck cannot support, it does not print.

Development

npm install
npm run build
npm test   # 12 tests: verdict classification plus full runs against a real temp git repo

License

MIT

Frequently asked questions

What is io.github.CloudCorpRecords/reprocheck?

Red-first repro verifier: a fix counts only when the repro fails on the base and passes on the fix.

How do I install io.github.CloudCorpRecords/reprocheck?

It runs on your machine. In Claude Code: claude mcp add reprocheck -- npx -y @reneturcios/reprocheck@0.2.0 mcp. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.CloudCorpRecords/reprocheck need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.CloudCorpRecords/reprocheck open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.CloudCorpRecords/reprocheck?

It is published by CloudCorpRecords. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.