Learn — Six-pass review method and finding severity
Completion requirements
View
Core time: about 5 minutes.
Six passes, in order
- Intent and scope: What change is promised? Are unrelated changes mixed in? Which assumptions are unstated?
- Correctness and contracts: Does each branch produce the required behavior, including boundary values and response semantics?
- Security and data boundaries: Who may act? Where does untrusted input enter? Are confidential values minimized?
- Failure and concurrency: What happens with missing data, duplicate requests, simultaneous requests, unavailable dependencies, or partial writes?
- Tests and observable evidence: Do tests trace to material requirements, exercise rejection paths, and fail when the behavior is wrong?
- Maintainability and operations: Is the code understandable, consistent, observable without leaking secrets, and appropriately scoped?
Risk-first rule: Correctness, security, data integrity, and missing evidence come before naming, formatting, or personal preference.
Classify what you find
| Classification | Decision test | Example |
|---|---|---|
| Blocking | Could this violate a requirement, invariant, security boundary, or necessary evidence threshold? | Concurrent requests can exceed capacity. |
| Question | Does the excerpt lack context needed to decide? | “Is authorization applied by a route group? Please link the guard and test.” |
| Suggestion | Would this improve the change without being required for safe, correct behavior? | Extract a repeated message after the required fix. |
| Nit | Is this a minor consistency issue with negligible risk? | Spacing already handled by the formatter. |
Quick check
A missing duplicate constraint is blocking when uniqueness is an explicit requirement. A preferred variable name is normally a suggestion or nit. If you cannot see whether a standard guard exists, ask a question and request evidence rather than declaring the whole application unauthorized.
Page summary
The six passes make review coverage explicit; classification tells the author what affects merge. Next, learn the few technical concepts that drive the NeighborLink case.