How do I verify AI-generated PRs against product requirements?
A pull request makes a claim: this change serves a ticket, and that ticket still serves your strategy. A good review answers three questions. Which ticket or project asked for this change? Does the code meet that ticket's requirements? Does the work still fit the strategy and goals above it?
Check the source, the evidence, and the freshness.
Start with where the work came from. The pull request should name the ticket or project it implements. From there, follow the line up to the goal and strategy it serves, and to the customers and problem it is for.
Next, turn each requirement into something you can check. Tests show the code behaves as asked. Static analysis can confirm an exact code contract, such as a function signature. Treat an AI judgment of what the work means as advice for a person to weigh.
- Source Name the ticket or project the change serves and the decisions above it. A title or issue number alone is not enough.
- Evidence Match each requirement to a test, a static check, or a reviewer's decision.
- Freshness Confirm that no decision above the work was dropped, replaced, or changed after the work began.
What Helen's Foundry adds.
Helen's Foundry keeps the line from your strategy down to each piece of work as linked records instead of a folder of documents. In the product, this line is called the context chain. Its GitHub check reads the pull request, the ticket or project it links to, and the decisions above them.
Helen's check fails on a pull request that links no ticket or project, unless the author gives a reason it needs none. She also reports any decision on that line that no one has signed off on as current. When two decisions on the line no longer agree, she raises a flag. Flags go to Reconcile, the place where a person decides what to do about a flag. The reviewer decides whether the change still serves what you decided.
When a pull request is ready.
A pull request is ready when the work it serves is still current, nothing above it disagrees, and every requirement has evidence. Passing tests cannot show all three.
See what Helen flags in your own plans.
Plans start at $20 a month.