---
title: "Reproduce-Before-Report Verification Gate"
description: "Place an independent verifier between reviewer findings and the user so only candidates that can be reproduced against actual code behavior are reported."
term: "Reproduce-Before-Report Verification Gate"
tags:
  - code-review
  - testing-verification
  - tool-agnostic
aliases:
  - reproduce-before-report gate
  - verifier-gated code review
  - finding verification gate
last_reviewed: 2026-06-13
maturity: established
---

# Reproduce-Before-Report Verification Gate

> A reproduce-before-report verification gate drops any reviewer finding the verifier cannot reproduce against actual code behavior.

The reproduce-before-report gate is a structural step in a multi-agent code review pipeline. A reviewer raises a candidate finding. A fresh-context verifier then tries to build a concrete reproduction against the diff before the finding ships. Findings it cannot reproduce are dropped without a trace. The gate sits at the reporter boundary: the reviewer flags freely, and the verifier turns soft suspicion into hard evidence or discards it.

## What "reproduce" means at the gate

The verifier takes the diff plus the reviewer's claim ("function `X` will crash on empty input on line 42") and tries to build evidence: an input that triggers the failure, a code path that shows the contradiction, or a citation to the specific behavior in the source. Anthropic's managed Code Review can show part of this evidence: "when the review recorded its reasoning, a finding has a collapsed Why this was flagged section. Expand it to read why Claude flagged the issue and how it verified the problem" ([Code Review docs](https://code.claude.com/docs/en/code-review-pull-requests#severity-levels)). `REVIEW.md` makes the reproduction bar a per-repo dial; the docs' example is "behavior claims need a `file:line` citation in the source, not an inference from naming" ([customize docs](https://code.claude.com/docs/en/code-review-customize#choose-what-to-write-in-review-md)).

## Why the verifier must be independent

Independence is the property that does the work. A verifier that shares context with the reviewer inherits its reasoning errors and confirms its own false positives. Two dimensions matter:

- Context freshness: the verifier starts with the diff and the claim, not the reviewer's chain of thought.
- Model diversity: LLM judges show documented same-family bias, scoring outputs from related model families higher ([Zheng et al. 2023](https://arxiv.org/abs/2306.05685)). Same-family verifiers reproduce same-family confabulations.

The ultrareview docs name this where they compare `/code-review ultra` (alias `/ultrareview`) with a local `/code-review`: the depth of the cloud review is "multi-agent fleet with independent verification" ([ultrareview docs](https://code.claude.com/docs/en/ultrareview)).

## Why it works

A reproduction is harder to fake than a judgment. A reviewer can hallucinate a defect with no external grounding. A verifier that must produce a reproduction cannot: it either runs or it does not. Multi-agent verification with conditionally independent agents in [CodeX-Verify](https://arxiv.org/abs/2511.16708v3) improved accuracy from 32.8% to 72.4%, and measured reviewer-pair correlations of 0.05 to 0.25 confirm non-overlapping error populations. The pattern generalizes. Agent-as-a-Judge frames tool-augmented verification against real-world observations as the structural fix for LLM-as-a-Judge's "shallow single-pass reasoning, and the inability to verify assessments against real-world observations" ([Agent-as-a-Judge survey, arXiv:2601.05111](https://arxiv.org/abs/2601.05111v1)).

## Silent drop is the default

Non-reproducing findings are dropped, not appended with a low-confidence flag. The `/code-review ultra` docs state the purpose: "every reported finding is independently reproduced and verified, so the results focus on real bugs rather than style suggestions" ([ultrareview docs](https://code.claude.com/docs/en/ultrareview)). Surfacing unverified findings re-creates the noise problem the gate exists to solve.

## Implementing the gate

| Part | Job | Anthropic implementation |
|------|-----|--------------------------|
| Reviewer | High-recall candidate generation | Code Review: "several agents examine the diff and the surrounding code in parallel" ([Code Review docs](https://code.claude.com/docs/en/code-review#how-reviews-work)) |
| Verifier | Reproduction against actual code | Code Review "checks the candidate findings against the code and filters out false positives" ([Code Review docs](https://code.claude.com/docs/en/code-review#how-reviews-work)). For ultrareview, "every reported finding is independently reproduced and verified" ([ultrareview docs](https://code.claude.com/docs/en/ultrareview)) |
| Drop policy | Discard non-reproducing findings | Silent — not surfaced to user |
| Reasoning artifact | Expose verification evidence | Collapsed "Why this was flagged" section, when the review recorded its reasoning ([Code Review docs](https://code.claude.com/docs/en/code-review-pull-requests#severity-levels)) |

A pipeline that fans out reviewers but reports every candidate is fan-out: it amplifies false positives instead of filtering them.

## When this backfires

- Small or trivial diffs. After the free runs, a `/code-review ultra` run costs "typically \$5 to \$25 in usage credits depending on the size of the change" ([ultrareview docs](https://code.claude.com/docs/en/ultrareview)); managed Code Review has "no flat per-review price", and its cost rises with change size and the number of candidate issues to verify ([Code Review costs](https://code.claude.com/docs/en/code-review-costs)). On a typo fix, gate cost dominates false-positive cost, so use a single-pass [diff-based review](diff-based-review.md).
- Same-family verifier with no context reset. Without independence, the verifier reproduces reviewer confabulations, the same [overcorrection bias](../patterns/anti-patterns/llm-review-overcorrection.md) the gate exists to filter. Same model plus same session is a verification gate in name only.
- Reproduction-incapable defect classes. Race conditions, distributed-system failures, and intermittent flakes cannot be reproduced on demand against a static diff. Silent-drop then becomes silent-drop of the highest-stakes findings. Route those classes to a separate "suspected-but-not-reproduced" channel, or accept the recall loss.
- Air-gapped or ZDR environments. Ultrareview is "not available when using Claude Code with Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry, and it is not available to organizations that have enabled Zero Data Retention or have the HIPAA configuration applied" ([ultrareview docs](https://code.claude.com/docs/en/ultrareview)). Organizations that use customer-managed encryption keys cannot run it either.
- High-iteration PRs with push triggers. Review after every push multiplies cost by the number of pushes. Set the repository to once after PR creation or manual instead ([Code Review costs](https://code.claude.com/docs/en/code-review-costs#how-often-reviews-run)).

## Example

A `REVIEW.md` snippet that raises the verification bar on a backend repo:

```markdown
## Verification bar

Behavior claims need a file:line citation in the source code,
not an inference from naming. If a finding says "this function
will crash on null input," cite the line where the unchecked
dereference happens; if you cannot cite it, drop the finding.

For data-flow claims (taint, leakage, scope), cite both the
source line and the sink line. Findings that name the sink
but cannot trace the source are not reproductions — drop them.

For race-condition suspicions, cite the two interleavings.
If you cannot construct both, route the finding to the
"unverified-suspicion" channel in the summary, not as an
inline Important finding.
```

This configuration makes the verifier's reproduction artifact explicit per defect class: code-path bugs need source citations, taint bugs need source-plus-sink, races need an interleaving. Findings that fail their class-specific reproduction bar are dropped from the inline review rather than posted as low-confidence noise.

## Key Takeaways

- Keep reviewer and verifier as separate roles with separate goals: tune the reviewer for recall, the verifier for precision. Merging the two passes collapses the gate into plain fan-out
- Reset context and pick a different model family for the verifier. Reusing the reviewer's session or model lets it confirm the reviewer's own errors instead of catching them
- Route reproduction-incapable classes like races to a separate suspected-but-not-reproduced channel. The default silent drop otherwise discards exactly the highest-stakes findings it cannot reproduce
- Track the verifier's independence directly. CodeX-Verify's reviewer-pair correlation (0.05 to 0.25) is more diagnostic than the headline 32.8% to 72.4% accuracy jump alone
- Push count multiplies cost on iterative pipelines. Change the trigger setting rather than paying full gate cost on every push
- Confirm hosting and data-retention status before adopting the gate: ultrareview is unavailable on Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry, and to organizations with Zero Data Retention, the HIPAA configuration, or customer-managed encryption keys. Check once during setup rather than per review

## Related

- [Cloud Parallel Review Pattern](cloud-parallel-review-pattern.md) — the full fan-out + verify + aggregate architecture in which this gate is the verify step
- [LLM Code Review Overcorrection](../patterns/anti-patterns/llm-review-overcorrection.md) — the false-positive bias that motivates the gate
- [Signal Over Volume in AI Review](signal-over-volume-in-ai-review.md) — the precision principle the gate enforces at the reporter boundary
- [Adversarial Multi-Model Development Pipeline (VSDD)](../patterns/multi-agent/adversarial-multi-model-pipeline.md) — the broader fresh-context independent-adversary pattern this gate instantiates for code review
- [Evaluator-Optimizer Pattern](../patterns/agent-design/evaluator-optimizer.md) — the two-role generator/evaluator loop the gate inherits and constrains
- [Tiered Code Review](tiered-code-review.md) — risk-class routing that decides which depths apply the gate
- [Committee Review Pattern](committee-review-pattern.md) — a voting-style contrast that does not gate at the reporter boundary
- [Agentic Code Review Architecture](agentic-code-review-architecture.md) — the tool-calling reviewer shape the verifier composes with
- [Bounded Tool Surfaces for Code Review Agents](bounded-tool-surface-review-agents.md) — a delete-only filter that falsifies against the diff instead of reproducing the finding
