An AI agent’s change passed every gate you set - tests, linter, type-check and the security scan are all…
An AI agent’s change passed every gate you set - tests, linter, type-check and the security scan are all green. Do you ship it unread?
- AYes - passing every gate proves it is correct, so reading the code is wasted time.
- BKeep the gates as the first filter, but still give the diff a focused review for what tests cannot encode - intent, security edge-cases, dead code, UX.
- CRead every line of every change by hand; automated gates cannot be trusted.
- DShip it after a quick skim of the summary: when tests, linter, type-check and the security scan are all green, a line-by-line read adds little beyond confidence you already have.
Answer: B
Keep the gates as the first filter, but still give the diff a focused review for what tests cannot encode - intent, security edge-cases, dead code, UX.
Why
Gates catch regressions cheaply and should run first - but they only check what you thought to encode. Intent, security edge-cases, dead code and UX slip through green checks, so the strong move is heavy gates plus a targeted review, not either extreme.
- EvalsUsers keep reporting the same three kinds of wrong answers in production.
- EvalsYou have a solid eval suite, but it only runs when someone remembers to launch it by hand before a release.
- EvalsYou use an LLM to grade answers, prompted with “rate the response quality 1–10.” Scores are high but users still complain.
- EvalsYour eval suite passes 98%, but users keep reporting failures you have never seen.
More on Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.
Real situations from building agents - with the answer and why.
Solve a new one every day on the Path