Lens, the review agent

Lens reviews every code diff through a seven-persona pipeline: logic, style, performance, security, types, docs, and tests. It spots subtle bugs before they ship and escalates to Sonnet when authentication, payments, or cryptography appears in the change.

Model tiers

TierTriggerModel
T1 Routine PRstandard logic reviewClaude Haiku 4.5
T2 Security-adjacentauth, payments, crypto in diffClaude Sonnet 4.6

Escalation

Auto-escalates to Sonnet when auth, payments, or crypto code appears in the diff.

Sample

Review comments

auth.ts:42, JWT verification skips audience check, block
auth.ts:58, password compare uses ===, recommend timing-safe equals

See also

  • Hawk
  • Chuck
  • Security review feature