Spawn three parallel sub-agents via the Task tool. Kick them off
in ONE message (single assistant turn with three Task tool calls)
so they run concurrently, not serially.
Agent A — Correctness (Coder):
Prompt: "Review the diff main..HEAD strictly for correctness: bugs,
logic errors, null-handling, race conditions, off-by-ones, error paths
that swallow exceptions, edge cases not covered. Cite file:line.
Ignore style, naming, and architecture — those are other agents'
jobs. Return: ranked findings CRIT/HIGH/MED/LOW, under 400 words."
Agent B — Architecture & Consistency (Researcher):
Prompt: "Review the diff main..HEAD for architectural fit: does
this match existing patterns in the codebase? Are there duplicate
implementations when a helper already exists? Does it break a
layering invariant? Are new abstractions justified by >= 3 call
sites? Return: ranked findings with existing-alternatives cited by
file:line, under 400 words."
Agent C — UX / A11y / Copy (Writer):
Prompt: "Review the diff main..HEAD for user-facing quality: any
UI text changes that read awkwardly, any a11y regressions (missing
aria labels, focus ring loss, touch targets <44px), any breaking
visual changes without theme/token usage, any docs/error messages
that don't match existing voice. Return: ranked findings, under 400
words. If no UI changes in diff, say so in one line."