Agent PRs: Don't Review Alphabetically—Look at the Database First
Ross Cefalu and Dex Horthy from Factory discussed a concrete problem in an AI Engineer workshop: how to make PRs submitted by agents something people want to review. Their order is database first, API, UI, and they leave evidence of changes. The video also discusses Workstreams, semantic diff, and review bottlenecks.
A feature PR sorted alphabetically by filename means a reviewer may see the UI components first, then scroll to the API, and only see the migration last. Without the data model in place, the earlier diffs are hard to judge. In their AI Engineer workshop, Ross Cefalu and Dex Horthy gave a more straightforward order: database first, then API, then UI. Have the agent leave evidence of changes in the PR so reviewers can follow the dependency chain.
The original tweet is from AI.Engineer, and the attached image is a screenshot from the workshop. The video is 1 hour 1 minute long and is titled Stop Prompting, Start Delegating. The two Factory speakers discuss Workstreams: turning a single prompt into a delegable workflow, involving shared context, plans, cloud machines, automation, and human steering. In the timestamps, 18:14 covers PRs and recurring automations, 39:27 is PR walkthroughs, semantic diffs, and validation, and 42:00 covers how to turn review patterns into skills and lint rules. These points are closer to everyday pain than whether an agent can write code.
Why database first? Database migrations define the shape of the data, the API exposes read/write boundaries, and the UI only consumes them. If the order is reversed, reviewers have to jump back and forth across three layers of abstraction and end up looking at a list of files, having to piece together the functional relationships themselves. Alphabetical order is even worse: it sorts by filename, not by dependency. A feature gets split into a dozen diffs, and the reviewer has to assemble the puzzle. If the agent just drops in a line saying it has been implemented, the puzzle-assembly cost still falls on the human.
So an agent PR needs evidence: what changed, why it changed, which checks were run, and what was left untouched. The video description says PRs are easier to review when the agent leaves a clear trail of decisions and checks. That idea isn't new, but applying it to PR ordering is very concrete. Factory turning review patterns into skills and lint rules also shows one thing: review experience can become automated checks, provided someone first articulates the patterns clearly.
For general users, this can be reduced to one takeaway: the barrier to AI changing code is falling, but the barrier to reviewing code is not. For readers with a development background, the part worth watching is the PR walkthrough at 39:27, along with the discussion at 55:53 about review bottlenecks and measurement improvements. The video is below, and the image is kept too. Don't review features alphabetically; review by data flow.
The full workshop is on YouTube.
发布时间: 2026-12-05 14:29