Robert C. Martin says he trusts coding agents only after tests and strict constraints

bennash · x · 2026-07-24

Robert C. Martin says he no longer reads code written by his agents. Instead, he surrounds them with hard constraints: unit tests, Gherkin tests, QA procedures, quality metrics, mutation testing, and coverage checks.

His argument is that AI coding productivity comes from verification, not blind trust. The post frames this as the new way to work with agents: curate and test aggressively, then rely on the process rather than manually reviewing every line.

Related event: Uncle Bob's Philosophy: Constraining AI Coding Agents with Tests(4 posts)→

Original post →

More from coding & agent

coding & agent channel →