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
| Tier | Trigger | Model |
|---|---|---|
| T1 Routine PR | standard logic review | Claude Haiku 4.5 |
| T2 Security-adjacent | auth, payments, crypto in diff | Claude 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