Review & Quality Gates
The checks that stand between “it compiles” and “it’s mergeable.”
Gates offered (combinable)
Section titled “Gates offered (combinable)”- Lint + typecheck gate —
lint_cmdandtypecheck_cmdmust pass. Cheap, high-signal; advisory on edit and/or blocking on push. - Pre-PR self-review — a checklist the agent runs against its own diff before opening a PR (scope, tests, naming, leftover debug code).
- Agent review gate — a
reviewersubagent reviews the diff for correctness and convention adherence before merge.
How it’s wired
Section titled “How it’s wired”transcend wires the chosen gates into rules/quality-gates.md and, when an agent reviewer is chosen, generates a project-local reviewer subagent. At Tier 2, lint-on-edit.sh checks the touched file as you go; at Tier 3, push-gate.sh blocks pushes until lint and typecheck pass — see Enforcement Tiers.
Specialized catalog skills (e.g. UX audit) can attach themselves as extra review steps.