AI Help
How do I verify that an AI-generated PR description matches the actual diff?
Compare every material PR claim with the final diff and the recorded validation for its head commit.
Steps to follow
- Read the PR's base and head revisions and inspect all changed filenames, including generated files.
- Map the described behavior to the actual code and verify tests, commands and results claimed in the description.
- Rewrite stale claims after scope changes and clearly identify unverified behavior. Check the description again after the last commit.
Example in practice
Illustrative example. A description saying no schema change must be corrected if the final patch includes a migration.
Related AI help
- What should I put in a repository guide so an AI agent runs the right build commands?
- Why does an AI coding agent find a dependency locally but miss it in a cloud environment?