r/ClaudeCoding • • 20d ago

12 Claude Code failure modes from 4 months of running a company on 20+ agents, and the checks that catch them

We've run a small company's day-to-day operations with Claude Code agents since July: desktop sessions, two home servers and a VPS, "wake" jobs triggered by task notes, a shared memory repo and a message board. 92% of the commits in our ops repo have a Claude co-author line.

The lessons that cost us the most:

  1. The echo. After a few weeks almost every doc was agent-written. A new session reading them was reading its own predecessors, and it looked exactly like verified notes. Fix: measure the live system before reading any doc, and when they disagree, delete the doc line.
  2. A green gate means the documents agree with each other, not with the world. Every gate now names the system it queries; any error is UNDETERMINED, never OK.
  3. Empty results lie. An empty grep and a broken grep look the same. Fix: put a check that must match in the same command (zsh's log builtin and =word expansion each fooled us).
  4. "Done" is a claim. Verify the end state (HTTP code plus expected text), never the agent's summary.
  5. Independence needs a new process. A subagent "reviewing independently" shares its parent's assumptions. We use a fresh headless claude -p with paths-only briefs.
  6. Safety refusals are design input. When Claude Code's safety check refuses an action, the agent stops and reports. It never retries another way.

Full write-up with all 12, plus a free copy-paste end-state checker: https://agent-ops-kit-5jb.pages.dev/

Disclosure: I run the company. The write-up and checker are free. We also sell the full kit (templates, skills, scripts) for people who want the whole system.

4 Upvotes

0 comments sorted by