cd /news/ai-agents/uncle-bob-my-current-strategy-is-to-… · home topics ai-agents article
[ARTICLE · art-71665] src=twitter.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Uncle Bob: My current strategy is to not read any of the code by my agents

Robert C. Martin (Uncle Bob), a programmer since the late 1960s, said his current strategy is to not read any code written by his AI agents, relying instead on extreme constraints like unit tests, gherkin tests, QA procedures, and mutation testing to ensure high confidence in the code. He shared this approach in response to a developer who started programming in 1983 and expressed discomfort with letting AI edit files.

read1 min views1 publishedJul 24, 2026
Uncle Bob: My current strategy is to not read any of the code by my agents
Image: source

I am trying to use Claude to help me write something, but I just don't feel comfortable letting it edit my files. Does anybody else feel the same? If I am responsible for code, I NEED to understand it, psychologically if for no other reason. Started programming in 1983. Old?

  • I’m significantly older than you. I started coding in the late 60s. My current strategy is to not read any of the code written by my agents. That’s the only way I can take advantage of their productivity. What I do instead is to surround the agents with extreme constraints. Unit tests, gherkin tests, QA procedures, quality metrics, mutation testing, test coverage, and a plethora of others. In the end, I have very high confidence in the code they produce because they’ve had to run the gauntlet of all of my constraints and tests.
  • Oh, okay. What did you build with this setup?
  • If we cannot trust the outcome of what AI makes and AI has proven over and over again that it will not listen to us at all times what gives us the confidence that it will stay within the guardrails of our constraints just because we asked it to? If AI simply makes the judgement
  • 🎯 we need to engineer the constraint’s.
── more in #ai-agents 4 stories · sorted by recency
── more on @robert c. martin 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/uncle-bob-my-current…] indexed:0 read:1min 2026-07-24 ·