Regression tests for AI coding agents
Catch the edit that changes your coding agent.
Rerunner replays real tasks on main and on the pull request, compares the outcomes, and reports what regressed before it merges. Starts with Claude Code.
Runs as a check in your own CI. Nothing leaves your runners.
Context diff
CLAUDE.md+3 −9 linesdocs/testing.mdrenamed todocs/guides/testing.md.claude/skills/release/SKILL.mdadded
- Blocks merge.
CLAUDE.md:8imports@docs/testing.md, which no longer exists on this branch. - No hidden Unicode or likely secrets. Settings and
.mcp.jsonare valid.
Regression run · 6 runs per task, per side
| Task | main | PR | Verdict |
|---|---|---|---|
| account-export | 6/6 | 1/6 | REGRESSED |
| invoice-pdf | 6/6 | 6/6 | PASS |
| changelog-entry | 2/6 | 6/6 | IMPROVED |
| date-parsing | 4/6 | 2/6 | INCONCLUSIVE |
Merge blocked by the missing import. account-export regressed (p ≈ 0.008); that difference is reported for reviewers, not enforced.
One harmless-looking edit can change what the agent does.
And every test stays green, because no code changed.
The setup is the program
A coding agent follows its setup: CLAUDE.md or AGENTS.md, rules, skills, MCP tools, settings and the pinned model. Teams edit these every week.
Review reads, it doesn't run
Deleting a line or shortening a tool description looks like housekeeping. Reviewers approve what they read; nobody sees what the agent does next.
The cost arrives later
An agent that skips the auth service, a rule that silently stops loading, a bill that doubles. It surfaces weeks after anyone remembers the edit.
How it works
A check that runs where your code already gets tested.
-
A pull request touches the agent setup
Rerunner diffs what the agent loads on each side and runs deterministic checks: broken imports, hidden Unicode, pasted secrets, invalid settings, size limits.
-
Real tasks run on both sides
Same tasks, same pinned model, same starting files, on main and on the pull request. Agents aren't deterministic, so each task runs several times per side and is scored by a check you already trust, such as your tests.
-
Each task gets a verdict
PASS no difference, REGRESSED worse, IMPROVED better, or INCONCLUSIVE the counts can't tell yet. Only deterministic failures block the merge; statistical differences are reported with their counts.
Who it's for
Teams where coding agents already do real work across repositories, and someone owns the files those agents read.
Platform and DevEx
You maintain the shared rules, skills and MCP configuration every engineer's agent depends on. Know a change helps before it lands everywhere at once.
Security
Rules, hooks and MCP servers decide what an agent reads and runs. Catch the edit that skips a security step or hides an instruction from reviewers.
Tech leads
Approve a pull request that trims CLAUDE.md on what the agent did with it, not on how the diff reads.
AI enablement
See whether a new skill, tool or model helps on real tasks, and what it costs per successful task, before rolling it out.
Not a fit yet
- You mainly use an agent other than Claude Code; others are on the roadmap.
- You want a hosted service or a dashboard. Rerunner reports on the pull request, in your CI.
- You're evaluating a chatbot or an LLM app; general-purpose eval tools fit that better.
Why now
Agents do everyday work in most companies. The files that steer them are measured by almost nobody.
-
In Stack Overflow's April 2026 pulse survey, 59% of respondents use AI agents at work, up from 31% a year earlier.
Source: Stack Overflow blog, May 2026
-
91% of organisations have at least two AI coding tools in active use, and each reads the same setup files by its own rules.
Sources: GitLab 2026 AI Accountability Report, reported by IT Brief; Codex docs: AGENTS.md; Claude Code docs: memory
-
More instructions don't automatically help. A 2026 study found that instruction files for coding agents did not generally improve task success and raised cost by over 20% on average; the authors recommend validating any gains.
Built on Claude
Claude Code, Anthropic's coding agent, is the first agent Rerunner tests and the engine of every run. It reports which instruction files it loaded and why, and what each run cost, which is what makes a precise test possible. The problem isn't specific to one vendor; neither is Rerunner.
What it is, and isn't
What Rerunner is
- A regression test for changes to a coding agent's setup, run as a check in your own CI, for code on GitHub or GitLab.
- Vendor-neutral: Claude Code first, more agents on the roadmap.
What it isn't
- A coding agent, a hosted service, or a single score.
- A finished product with customers. We're pre-revenue; nothing here is a customer quote or a benchmark result.
Try it on one repository.
We're looking for a few design partners to run Rerunner on a real repository and tell us where it's wrong.