4 / 6

Lesson · 12 min

Verify what came back

Diff, tests, and a human read of the risky parts.

An agent that 'says the tests passed' is not the same as tests passing on your machine. Run them. Then read the diff like a code review you cannot skip because the author is confident.

  1. 01git diff — look for extra files, deleted tests, snapshot churn, secret-shaped strings.
  2. 02Run the test and typecheck commands you trust, not a new one the agent invented.
  3. 03Read the error-handling and auth paths yourself. Agents are optimistic about failure.
  4. 04If you cannot explain a change, ask the agent to explain it, then decide if you believe it.