Fix Review Checklist
Review every fix against the same invariant list, so reviewers validate the relevant claims instead of skimming fashionably
Use when: a fix has been generated locally and is about to be reviewed or approved by someone other than the author
Avoid when: a formal code review flow is not in place, and the author holds both sides of the review alone
Procedure
- Confirm the reviewer can see the defect reproduction and the failing test carried by the PR description.
- Verify the diff touches only the declared fix boundary, and every touched file has a reason recorded for being there.
- Check for the fix re-delegating trust: any new caller-supplied value included in a security decision is a warning sign.
- Confirm fixes to stateful surfaces account for stale data written before the fix lands, which often need backfill or a revocation.
- Confirm the fix's changed authority is validated against both the negative and the positive test states.
- Record the checklist decisions with as-built evidence tied to each: the diff is what's reviewed, the tests that run are what's proven.
Signals
- A reviewer approves on a diff with tests that only the author ran, leaving omniscience claims unchallenged.
- Fix branches differ widely in boundary discipline, so a checklist would have flagged the drift earlier.
- Stateful surfaces ship fixes that only affect newly written state, leaving historical records perpetually vulnerable.
- A proposed fix treats the symptom in surface logic when an upstream invariant already lacked validation, so the fix has a sibling.
Patterns
1. Check row
repro attached yes, failing test first commit yes, boundary matches diff yes
2. Warning row
fix adds client-controlled field to authz decision -> reject: server derives authority
3. Stale data
fix covers write path only; device records already written -> revoke + backfill needed
Pitfalls
- Reviewing style instead of authority, with style feedback dominating while the security claim goes unexamined.
- Accepting the author's explanation that the stateful legacy data is unimportant, which makes a fix that never closes the record.
- Skipping the checklist when the fix looks small, which is exactly the size whose security claim often goes unexamined.
Done when
- Review confirms the diff, boundary, and authority indicators against the checklist and each check is checked item by item.
- Any stateful exemptions found by the checklist are tracked as follow-ups, not merely noted in the PR discussion.