Dev let Claude Code run autonomously on his 17-year-old SaaS: 1,531 PRs merged in a month
mhmazur · x · 2026-09-21
Indie developer Matt Mazur let Claude Code run autonomously for a month on Preceden, his 17-year-old Rails timeline-maker SaaS, and it merged 1,531 PRs: 437 support-article improvements, 392 test-coverage additions, 162 Ruby bug fixes, 144 dead-code removals/refactors, 113 JS fixes, 98 marketing/landing-page improvements, 66 UI/copy fixes, 45 SEO fixes, 30 accessibility fixes, 16 performance fixes, and more.
No fancy harness — everything runs in the Claude Code desktop app with macOS caffeinate keeping the Mac awake, via scheduled routines (each a fresh session with a written playbook):
- SEO agent (hourly): docs, structured data, sitemaps, max 2 changes per run
- Code agent (hourly, offset 30 min): bug fixes require a failing-then-passing test as proof
- Dependency agent (nightly): one gem/npm bump per night, security alerts first, only releases ≥14 days old
- Listings agent (daily): measures AI-generated timeline pages' search performance, mines 20 new topics
- Daily rank tracker + weekly retro agent auditing the others
- Guardrails: no billing/auth/email logic, no schema changes except indexes, size caps, a kill-switch file
- Every change is its own branch→PR→dev branch, never master; mandatory security review before each merge halts the system on findings
- Twice daily a deploy agent merges dev→master: full test suite, Claude security review, independent Codex second opinion, CI — then deploys via Hatchbox API and watches logs/Sentry for 30-45 min with whole-batch revert capability. 20 batched deploys so far (5-275 changes each), zero reverts
- All tracked in plain files: 1,000 ledger entries, an idea bank, read-back checks
More from coding & agent
- Rethinking classifiers: conversation+tool templates as special cases of inference-time specs — austinvhuang · 2026-09-21
- Analyst predicts Meta will pay Amazon for agent access, spawning a new agent business model — signulll · 2026-09-21
- Arena: coding-agent harnesses show up to 5x cost differences at similar success rates — thione · 2026-09-21
- Recap: Anthropic merged Claude chat and Cowork, redesigned Claude Code Projects — thione · 2026-09-21
- Recap repeat: Claude Code Projects parallel cloud sessions and Astra for Law — thione · 2026-09-21
- Recap: WorkOS explains agent auth with auth.md; Salesforce and Anthropic expand Claudeforce — thione · 2026-09-21