Play · Corrected once
A review comment fixes one PR. A check fixes every PR after it.
Agents repeat what they see, and reviewers get tired. Four pillars turn each correction into something that runs.
PR review & autonomyHooks, not rulesValidation gatesClean code & commentsThe team, files and PRs on this page are invented to illustrate.
The mistake
An agent computes a total inside a useEffect. Does it happen again?
Same mistake, same team, same reviewer. One team fixes it in review each time. The other fixes it once, as a check.
1Week 1
Fixed in reviewPR #301 src/cart/Total.tsx reviewer: "derive it in render, no effect needed"
Fixed, in this PR only.
Caught without a person: 0 / 4
Fixed as a checkPR #301 same comment, then PR #302 eslint.config.js useEffect: restricted message: the reason + the fix
The comment becomes a rule, reviewed once.
Caught without a person: 1 / 4
2Week 3
Fixed in reviewPR #318 src/orders/Count.tsx useEffect(() => setCount(…)) reviewer: the same comment
A new session, the same mistake.
Caught without a person: 0 / 4
Fixed as a checkEdit(src/orders/Count.tsx) Blocked: no raw useEffect outside src/hooks/. Derive it during render instead.
Stopped at the write, with the fix.
Caught without a person: 2 / 4
3Week 6
Fixed in review// HACK: effect for now, fix later useEffect(() => setTotal(…)) # three more files copy it
The hack becomes the pattern.
Caught without a person: 0 / 4
Fixed as a check$ pnpm validate lint: no raw effects, no HACK types · test · arch all passed
The verdict is a command, not a person.
Caught without a person: 3 / 4
4Month 3
Fixed in reviewreviewer: 40 comments this month 26 of them said before # the auth change got a skim
Review time goes on repeats.
Caught without a person: 0 / 4
Fixed as a checkreviewer reads src/auth/session.ts and PR #344: one new rule
People review rules and risk.
Caught without a person: 4 / 4
The chain
Each pillar turns a correction into a check
- PR review & autonomyReview by impacta repeat comment is a missing checkWithout it: the same comment, every week
- Hooks, not rulesA lint rule and a hookthe reason, at the moment of writingWithout it: a review comment it never saw
- Validation gatesOne commandthe rule runs on every PRWithout it: a reviewer who has to notice
- Clean code & commentsNo hack markersnothing bad left to copyWithout it: "HACK: for now", copied five times
The gains
For the agent
- The fix, at the moment it slips
- Fewer bad examples to copy
- A red it can fix alone, before review
For the team
- A correction is reviewed once, as a rule
- Review time goes to risk, not repeats
- Checks scale with the PRs, reviewers do not
Try it on your repo
Read your last 30 review comments. Which ones were said before?
Each repeat is a check waiting to be written. Count how many a lint rule, a test or a hook could make.