REVIEW GATEKEEPER · RISK ROUTER

Every PR gets a tier, only the risky ones get a human

A deterministic gate runs before the push: Guard, secrets, syntax and tests. A risk router maps every hunk onto the dependency graph, the routes it serves and the critical paths it touches. Mechanical diffs stay out of the queue.

T0

Auto-merge eligible

Tests, docs, lockfiles and leaf code with a green deterministic gate.

T1

Fast-track review

Moderate blast radius. The brief names the callers and routes to check.

T2

Deep human review

God nodes, public routes, migrations, auth, billing or any gate failure.

Checks run before the push

In enforce mode a blocked diff returns a compact fix list to the coding agent, capped at two loops per diff state.

One screen per PR

A GitHub Check Run, a sticky comment and a tier label. Auto-merge only for Tier 0, and only after a team turns it on.