An AI edit is a diff: lines added (+) and lines removed (-). Most people read the green and skim the red. The red is where things go missing: a validation check, a guard against charging nothing, an error message someone depended on.
Read the change against what you asked for. Anything outside the ask needs a reason. A deleted check that "was in the way" is a decision the model made for you.
Three things to hunt for in every diff: leftover debug output (a log line that prints a whole request body prints the password in it), stubs that pretend to work (a function that always returns true, a TODO where the real check should be), and changed behaviour in code you did not mention.
Git can make you look at every piece. git add -p walks through the change hunk by hunk and asks, for each one, whether to stage it. Nothing gets in without being seen.