# Gate level

URL: https://codepanel.ai/glossary/gate-level

The gate level is the repository setting that decides which review findings a pull request must answer before the merge gate passes it.

The gate level is a per-repository setting that decides how severe a [finding](/glossary/finding) must be before the [merge gate](/glossary/merge-gate) makes the pull request answer it. Findings below the level still appear in the review, but they never hold up a merge.

## The four levels

| Level | Findings that must be answered |
| --- | --- |
| `off` | None. CodePanel stops posting the `CodePanel` status |
| `critical` | Critical findings |
| `warning_high` | Critical findings, and every warning rated high confidence |
| `warning` | Critical findings, and every warning not rated low confidence |
| `all` | Every finding: critical, warning and suggestion, low-confidence warnings included |

A repository that never chose a level gets `warning`. At that level one softening applies: a warning the orchestrator rated low confidence stays in the review, with "low confidence" in its heading, but does not block. The agent is asked to verify it and rate it, not to fix it. At `all` it blocks again, and a critical blocks whatever its confidence.

## Choosing one

The default suits most repositories because it stops on likely problems and leaves optional improvements alone. `critical` fits a repository that wants the gate to catch only defects that should never merge, for example while a team is still learning how noisy its panel is. `all` makes agents answer every [nit](/glossary/nit), which costs rounds and mostly adds ratings. `warning_high` fits a repository whose author is an agent: on the repository CodePanel reviews most, high-confidence warnings held up far more often than the rest, and an agent's token may choose it. `off` leaves the review as advice with no check.

The level changes what blocks, not what is reported. It also sets what the review's verdict counts: with the gate `off`, the verdict is judged as at the default level, so criticals and warnings still read as blocked even though no status is posted. A finding at or above the level that is unanswered is a [blocking finding](/glossary/blocking-finding).

The level is set under **Settings → Review gate** on the repository, with `gate` in the API, with `update_repo_settings` in MCP, or with `codepanel repos set --gate` in the CLI. See [merge gate](/docs/merge-gate#gate-levels).
