Code review and quality control for AI-written code
Agent diff review
Reviewing AI agent diffs and commits
- How to Review Code Written by an AI Agent
- A Diff Budget for Lockfiles and Manifests
- How to Audit an Agent Pull Request for Unrelated Changes
- How to Keep an Agent's Working Notes Out of the Commit
- Reviewing an Agent Diff at a Fixed Time Cost: A Triage Order
- Teaching an Agent to Predict Its Own Diff Size
- Teaching an Agent to Self-Review Its Diff Before Committing
- A Review Checklist for Agent-Generated Database Migrations
- All of Agent diff review
Test integrity
Ensuring test integrity in agent code
- A Golden File Test an Agent Cannot Regenerate: Signing
- Detecting an Agent That Weakens a Test to Make Its Diff Pass
- How to Review an Agent's Test Changes Before Merge
- Writing Test Suites an AI Agent Cannot Fake
- A Policy for Test Files: Read-Only Paths and Review
- A Skip Policy for Agent Tests: What xfail and skip Must Say
- A Tamper Detector That Fails Closed: Errors, Timeouts and Retries
- A Test File Manifest: Marking Files an Agent May Not Change
- All of Test integrity
LLM judges
Using LLM judges for code review
- A Second-Pass Agent Reviewer Before the Human Gate
- A Tie-Breaker Prompt That Requires Evidence: Fields and Examples
- From Verdicts to a Queue: A Schema for Judge Scores and Reasons
- Grading Agent Output That Has No Assert: Rubrics and Judges
- Pinning a Rubric to a Judge Call: Versioning and Rerun Protocol
- Retrieval for a Judge: Grounding Scores in Sources
- Setting a Minimum Agreement Rate Before an LLM Judge Gates
- When a Judge Cites a Passage That Does Not Back the Claim
- All of LLM judges
Merge gates
Gating and merging AI agent code
- A Pre-Merge Checklist for Agent-Generated Code
- A Two-Step Apply for Agent Writes: Dry Run, Then Commit
- Branch Protection Rules for Agent Commits: What to Require
- Branch Protection Rules That Assume the Author Is a Bot
- Irreversible Actions an Agent Must Never Take Without a Human
- Scoping the Gate to Changed Lines: Coverage and Mutation
- Approval Gates for Agent Commits: What a Human Must Sign Off On
- Binding a Required Check to a Commit Hash and a Signing Key
- All of Merge gates
Agent rollback