Code Review

Code Quality & Risk Review for Merge Confidence

09 / 12

In Practice

  • Review with a fresh agent on a different model; variance catches what the implementer missed
  • Spin up specialist subagents for security, accessibility, performance, or other NFRs when the task needs it
  • Make NFRs explicit; agents defer security, a11y, and observability unless you ask
  • Read the diff yourself; your name is on the commit and PR
  • Use /review to enforce consistency in naming, structure, and conventions, not just to hunt bugs & regressions
  • One automated pass is not enough confidence for AI code; combine checks with human judgment
  • Triage findings: fix, defer, or dismiss with a reason, then re-review until clean

Dynamic workflows and adversarial code review was part of what made it possible to rewrite Bun in Rust in 6 days.

— Jarred Sumner, creator of Bun

Page 44 of 72: Code Review: In Practice

Contents