Merger
Merger evaluates open pull requests for merge readiness and clears stale queues autonomously where it's safe to.
Merger is an agent that evaluates open pull requests for merge readiness and returns a clear verdict: merge, reject, or escalate. It exists to clear stale PR queues without asking a human to re-check the same signals on every PR.
What Merger checks
Before returning a verdict, Merger gathers and weighs:
| Signal | Description |
|---|---|
| CI state | Whether required checks have passed, failed, or are still pending |
| Unresolved Baz findings | Open review comments that have not been addressed |
| PR metadata | Title, description, labels, and linked tickets |
| Diff context | The actual change, not just its metadata |
| Repo impact | How broad or risky the change is within the repository |
| Git history | Prior commits and related changes in the same area of the codebase |
| Auto-approve rules | Any auto-approve conditions already configured for the repository |
| Org guidelines | Team-specific review and merge conventions |
Verdicts
Merger returns one of three verdicts for each pull request it evaluates:
- Merge: all required signals are satisfied and the change is safe to move forward.
- Reject: the change has issues that should block it, such as failing CI or unresolved critical findings.
- Escalate: the change carries enough risk, ambiguity, or business impact that a human should decide. Merger escalates PRs with failed or pending CI, open critical issues, or changes it identifies as high impact, rather than guessing.
Escalation is the safety valve: Merger only merges on its own when it is confident the standard signals clear it, and defers to a human reviewer otherwise.
Merger Agent Stats
Merger Agent Stats is a dashboard for tracking Merger's track record over time, so trust in the agent is based on outcomes rather than a one-time impression.
| Metric | Description |
|---|---|
| Evaluated PRs | The number of pull requests Merger has assessed in the selected window |
| Ready-to-merge rate | The share of evaluated PRs Merger judged safe to merge |
| Merged without human input | The share of PRs Merger merged on its own, with no reviewer step |
| Merge outcome breakdown | How evaluated PRs split across merged, rejected, and escalated |
| PR throughput | PR volume moving through Merger over time |
Use Merger Agent Stats to see whether the agent's ready-to-merge calls hold up, how much manual merge work it is actually removing, and where escalations are concentrated.
