feat: expand review categories to staff engineer level - #4
Conversation
There was a problem hiding this comment.
Preflight Review
This PR significantly expands the bug detection taxonomy used by the Preflight automated code reviewer in both the agent-mode shell script and the direct API Node.js script. The original prompt gave Claude a short, loosely categorized list of bug types, and this replaces it with a structured, comprehensive checklist organized into five named categories: Correctness, Error Handling, Concurrency, Resource Management, Security, and API & Contracts. The intent is to make the reviewer more thorough and systematic by giving the model explicit, granular signal about what to look for rather than relying on it to infer subtypes from vague category names. The PR also upgrades the persona from "senior engineer" to "staff engineer" in the direct API path, likely to nudge the model toward higher-signal, more authoritative findings.
No bugs found in the reviewed files.
No description provided.