Agent pipelines producing PRs nobody reads? Warp's software factory process is worth a closer look
In a Warp article, Ben Holmes breaks down a practical software factory: YAML blueprint, human gates for triage/spec, computer use self-testing, and merge risk assessment. The original includes screenshots and screen recordings; here we lay out the key steps and details clearly.
Many teams throw their issue backlog straight at agents and end up with a wall of PRs nobody wants to review. In a Warp article, Ben Holmes calls this a slop cannon. His definition of a software factory is: a cloud automation loop that orchestrates agents so software gets better over time. The real problem to solve is centralizing team knowledge and encoding it into executable, measurable, improvable steps. Original link: https://x.com/i/article/2125313266192887808
Step one: write the workflow as a blueprint. Ben first uses a markdown skill to list the steps: receive the request and attachments, modify the repo and run static checks, open a draft PR and reply with the link and summary. To make it more controllable, convert it to a YAML blueprint. The example has two workers, foreman and builder, each with its own independent context window; stages have named inputs and outputs; prompts live in separate markdown files; and the to field determines the next step. There are two benefits: each run returns a result with a fixed shape; and the process can be visualized and can generate debugging tools. The original includes a preview image of a more complex factory and a screenshot of the foreman/builder debugging panel.
Step two: hook it up to the backlog and do a trial run. Trigger it with the GitHub issue factory label, passing the issue into the factory as a request. The original ran one round with 10 issues, and screenshots show the results. For small, well-defined fixes, this process performs well. In one native desktop app example, using an open-weight model, the cost was under $1 per issue. But deeper feature requests expose a problem: if you only tell the agent to build, who makes the product decisions?
Step three: add triage and spec before implementation. triage is a router that sends requests down three paths: well-defined changes are implemented directly; features with open product decisions go into a collaborative spec; pure questions are answered directly without implementation. The example is adding expand/collapse all folders to the file sidebar. triage first asks: where should the entry point go; is the scope all folders or selected folders; and after collapsing, what happens to the branch containing the currently open file? That last question was an edge case Ben hadn't thought of first. The spec stage has the agent and developer lock down the choices, submit a spec PR, and implement only after approval. The original has a screenshot of the agent pushing back with questions, and a screenshot after implementing per the approved spec, with Expand All Folders and Collapse All Folders placed in macOS's View menu. Ben also mentions Matt Pocock's /grill-me skill and says this kind of moment of being interrogated by an agent is familiar.
Step four: give the agent a computer for verification. Relying only on a local checkout and PR description isn't enough. Ben's challenge is direct: would you be willing to pull down a PR whose author never tested it on their own machine? Then why accept agents doing that? The UI verification skill describes how to launch the Electron app, connect to DevTools, follow the path in the request, record video and screenshots, and add a Visual proof section to the PR. The original includes a screenshot of the PR's Visual proof and a screen recording; the recording automatically trims blank periods and highlights clicks. The skill also records two gotchas: screenshots are DPR 2, so multiply CSS pixels by 2; and right-click requires a real Input.dispatchMouseEvent, because synthesized contextmenu events won't open base-ui menus.
Step five: assess merge risk. Once PRs pile up, before looking at the diff you need to know which kinds of PRs are high risk. Warp's merge risk skill evaluates five dimensions: Alignment, whether the code matches the PR description and issue; Impact, the scope of impact, whether it touches auth, permissions, or database schema; Verification, whether it has been verified with computer use, end-to-end tests, or unit tests; Rollback cost, whether it's a two-way door that's easy to revert or put behind a feature flag, or a one-way door with destructive schema changes or persistent state corruption; Error detection, whether errors go into monitoring or logs, or are silently swallowed. The five conclusions combine into a low, medium, or high risk score, and list the gaps that increase risk. It can be output as GitHub labels, PR description items, or comments. Ben suggests having the implementer run this skill before opening the PR, add logging and collect verification evidence in advance, and then write the assessment into the handoff. The original has a formatted PR example.
What's valuable about this process is that it breaks the trust problem after agent-generated code into actionable steps. Structured workflows, human judgment, and verification—all three must be in place before you dare let the factory keep producing PRs. The Warp team is still trying more things: a code review benchmark before opening PRs, a research agent with an independent context window, and adding a macOS runner for native iOS apps. If you want to build it yourself, you can start with Warp Factories and their Learn course; the merge risk skill is at warp.dev/merge-risk. The images, screen recordings, and complete steps in the original are worth comparing against: https://x.com/i/article/2125313266192887808
发布时间: 2026-11-25 14:31