Agent PR risk reports: can they get you to stop clicking files changed?
Ben Holmes' team offers two skills, show-me and merge-risk, so the agent can draw the changes and spell out merge risk. But the replies pull the question back to security, rollback, and self-assessment loops. As one commenter put it, five risk factors enter the picture, and my hand is still clicking files changed.
Ben Holmes posted a goal on X: stop clicking GitHub's files changed and just trust an agent's PR. His article offers two levers, show-me and merge-risk. The replies did not simply applaud; the questions quickly turned to security, rollback, and 'grading your own homework.'
First, some background. Most developers still have trust issues with agents: they read diffs line by line, and once PRs pile up they can't review them all; or they start trusting the verification process but won't let go of the merge button. Ben Holmes' team hasn't fully let go either—every agent PR still gets a final human merge. They want to shorten the distance from line-by-line review to trust.
Step one: make the PR description worth reading. Just listing which files changed and which checks ran isn't enough. The reader still has to assemble the architecture diagram in their head. Dex Horthy's show-me skill has the agent explain changes with compact visuals: ASCII diagrams, call trees, pseudocode, Mermaid diagrams—anything works. UI changes draw component boundaries and state flow; backend changes draw the path from request to side effect; refactors draw a file tree. The article uses a PR that added diagram support to the Hubble notes app as an example; it opens with the user-visible behavior and the component tree, explaining how diagrams load, save, and connect to the editor.
Step two: have the agent write a merge risk report. Ben Holmes cites Matt Pocock's PR skill in the community and Addy Osmani's article about code review on the Claude team, and boils it down to five factors:
- Alignment: Does the code match the PR description and issue? Are there unrelated fixes smuggled in? Assumptions need to be stated clearly.
- Impact: How big is the blast radius, and does it touch sensitive paths? Standalone views are easier to reason about than shared component libraries; in areas like auth, permissions, and database schema, even a tiny diff needs scrutiny.
- Verification: Have unit tests, end-to-end tests, and computer use verified it? User-facing changes need before/after screenshots or recordings; if performance is affected, include measurements.
- Rollback cost: Is this a reversible two-way door, or a one-way door like a destructive schema change? How exactly would the team recover if something goes wrong?
- Error detection: Will problems be caught by monitoring and logs, or will errors be silently swallowed until users report them?
This assessment rates risk as low, medium, or high, with impact and verification weighted most heavily. The implementing agent can run it itself, or hand it to a code review subagent in a fresh context. The report can be written as a PR comment or as fields in the PR description. In the description, especially include verification, impact, and rollback: prove the change works end to end, state the blast radius, and give the actions to take if something goes wrong.
More practical is running merge-risk before opening the PR. Use a skill like /create-pr to run it once first and mitigate what can be mitigated: remove drive-by fixes, fill in missing verification, add monitoring to paths that could fail silently, and split large changes into several stacked PRs. Longer term, you can use GitHub labels to mark overall risk and see how risk flows through the system.
The replies put the pressure points of this approach bluntly. Someone asked how security is handled: the second version of their own agent project had 16 security fixes, such as changing a guest token from 10 minutes to 6 hours—the kind of diff that looks most boring. Paul Gross said skipping PRs requires more than high-level descriptions and LLM risk judgments, and that it completely underestimates harness engineering. Gjin put it more briefly: the same agent scores its own blast radius. aditya said that in migration scenarios the agent's rollback cost is a guess, because it can't see production table sizes. Hoang Nguyen said the report is written by the same agent that made the change, which is a bit circular, and still wants an external mechanism to decide which PRs need reading.
There were also concrete additions. Ábel Énekes argued that screenshots and recordings of user-facing flows should exist by default, and humans should only look at the parts that need judgment: whether it looks and works right. mahmoud halat said they'd done 20,000-line PRs with Claude, nobody would read files changed, and rollback and blast radius are what they'd look at before clicking merge. Ashot said the diff was never the problem—alphabetical file ordering was. Go in an order that explains the change, and he'd be willing to read every line. Ayush Kansal uses Matt Pocock's /pr skill and added a Pre/Post merge checklist covering E2E verification, infra, database migrations, and cross-repo PRs.
So risk reports have value, and so do show-me diagrams. The goal is to shift review from hunting for code defects to judging evidence and consequences. But 'don't read the diff' isn't something you achieve just by installing two skills. Verification evidence, external judgment, and executable rollback—if any one is missing, the reviewer gets pushed back to files changed. 'Five risk factors enter the picture, and my hand is still clicking that tab' is the most piercing line in the replies.
Original: Ben Holmes' tweet, article.
发布时间: 2026-11-30 13:40