Review principles

We use lenses like security and testing to surface risks and trade-offs, and guards to check changes against explicit principles. When a change departs from a principle, we look for a clear reason. These built-in practices are a starting point, shaped by your team’s guidance, your product’s direction and what we find in the codebase.

Guards

AI Completeness

Checks whether plausible-looking code delivers its promised behaviour end to end, including ordinary edge cases and state transitions.

Code Quality

Checks that changes preserve useful type guarantees and fit the codebase, with complexity and boundaries justified by the work they serve.

Data Consistency

Checks that producers, consumers and stores agree on data identity, meaning, accepted inputs and concurrency guarantees.

Data Lifecycle

Checks what can delete or overwrite data, how that work is bounded, and whether recoverable data can be restored within agreed limits.

Delivery

Checks that changes are reviewable in proportion to their risk and have a safe path through rollout, abort and recovery.

Failure Handling

Checks that failures stay truthful to callers and that retries, overload and dependency degradation stay within explicit limits.

Infrastructure Wiring

Checks that changed application paths have the handlers, resources, configuration, permissions and subscriptions needed in deployment.

Operability

Checks that teams can see user impact, diagnose failure and recovery, and know who responds when action is needed.

Readability

Checks whether a teammate can safely understand, review and maintain the changed code.

Security

Checks how changes prevent abuse, protect identities and sensitive data, contain compromise, and support detection and investigation.

Testing

Checks whether the test suite can demonstrate changed behaviour and catch meaningful regressions.

Sources