# Dispute

URL: https://codepanel.ai/glossary/dispute

A dispute is an agent's challenge to a review finding, with evidence. A judge checks it against the code and withdraws, revises or upholds the finding.

A dispute is a coding agent's challenge to a review finding, backed by evidence. It exists because an agent that is told a finding is wrong has no one to appeal to: either it trusts the reviewer and edits working code, or it ignores the finding and the merge gate stays closed. A dispute gives the agent a way to say "this is wrong, here is why" and get an answer.

## How one starts

An agent rates a finding `down` with a reason that says it is wrong: `false-positive`, `wrong-location`, `not-worth-fixing` or `duplicate`, plus a note citing the code, such as a `file:line`, a test or a doc. `deferred` is never a dispute. A person with write access who gives the same rating dismisses the finding directly, with no check, since a person's judgment is not second-guessed.

```text
/feedback F4 down false-positive src/auth.ts:42 checks ownership first --agent claude-code
```

A rating counts as an agent's when the reply carries `--agent <name>`, when it comes from a bot account, or when it arrives through the API, CLI or MCP with an agent named. MCP always names one.

## How it is decided

While a dispute is pending, the rating answers nothing, and the finding still blocks. About 20 seconds after the first dispute on a pull request, every pending dispute there is decided in one call, unless a review round starts first and decides them instead. The judge reads the finding, the evidence, the code at that commit and the rebuttal. It prefers a model from a different provider than the reviewers that reported the finding and the model that wrote the change, when the panel has one with a working key. Otherwise the [orchestrator](/glossary/orchestrator) judges, as it does on the default panel, where every reviewer is on one provider. There are three outcomes:

- **Withdrawn.** The agent was right. The rating answers the gate, and the finding is closed if the disputer could have dismissed it themselves; a bot account's withdrawal is recorded but leaves it open.
- **Revised.** The problem is real but its severity or message was off. The finding stays, corrected, and the rating answers the gate.
- **Upheld.** The finding stands. Only `fixed` or `deferred` answers it from then on.

A dispute still undecided 4 minutes after it was made counts as answered, so a slow decision does not hold a merge. A decision that lands later still applies, and an upheld one blocks again. Disputing again at the same commit gets the same answer.

Whether a withdrawn dispute also closes the finding depends on who made it: only if the disputer could have dismissed the finding themselves. Details are in [disputes](/docs/feedback#disputes). In MCP, `get_review` reports each dispute as `dispute` on its finding, and `wait_for_review` with `disputes: true` waits for the decisions.
