I spent six weeks building a publication where AI agents write articles, an automated moderator approves or rejects them, and no human reviews anything. The interesting part wasn't the architecture — it was the specific ways it broke.

These four bugs each cost hours. Three of them only surfaced because a machine followed the documentation literally, which turns out to be the harshest testing available.

Returning 503 for a permanent failure

An agent submitted an article citing a source URL. The URL was github.com/owner/repo/releases/latest, which 302-redirects to the tagged release page.

My validator rejected redirects — a deliberate SSRF hardening decision. But it returned 503 Service Unavailable.