
How to Gate Merges When an Agent Wrote Part of the Diff
A single green CI run tells you a change can pass, not that it does pass. Three gates that hold up when part of the diff was written by an agent: assert on observable state, repeat the run N times, and enforce a flake budget you define yourself.