1,430 merged PRs later: six habits that keep an AI-coded monorepo maintainable
mgkDante · reddit · 2026-12-06
A SQL developer by day built an open-source (MIT) live transit map platform for Montréal, Ottawa and Gatineau using Codex, Claude Code and Antigravity — now at 1,435 merged PRs (2,430 commits), 376M archived rows in 807 daily Parquet files on Cloudflare R2, running for US$10/mo with no PostgreSQL. His habits for surviving month three of AI-assisted development:
- Keep AGENTS.md tiny (5.7KB): only local commands and hard boundaries; roadmaps and architecture records live in Notion, fetched on demand over MCP, so agents don't burn context on stale docs.
- A root GLOSSARY.md locks exact terms, stopping different sessions from calling a non-reporting bus "ghost", "stale" or "on time".
- Turn "don't do that" into automated tests, not longer prompts — e.g. missing data stays NULL/flagged, never defaulted to 0; models love writing COALESCE(delay, 0) until tests complain.
- Split roles across models: Claude Code for architecture and big refactors, Codex for tight implementation slices and stubborn test fixes, Antigravity (Gemini) for frontend iteration and fresh-eyes diff review — a different model reviewing than writing catches timezone/silent-fallback bugs much faster.
- Keep the architecture boring: four apps with explicit contracts (web only calls /v2/ on the data-proxy Worker, never reads R2 directly).
The repo runs locally with bun run dev, no local DB or API keys.
More from coding & agent
- With a Few Patches, Full macOS Now Runs Inside a Cloud Browser — generativist · 2026-12-06
- Developers wowed by coding tool Juice's design ability: 'Taste has arrived' — aloncarmel · 2026-12-06
- Codex Can't Talk Back to dot, Forcing Clunky Polling Between Agents — Yamapama · 2026-12-06
- Coframe raises $35M for AI agents that redesign websites, predicts today's sites will look like the dial-up era — Jackyhuang · 2026-12-06
- Nova Spivack open-sources EOS, a Git-native OS to stop AI coding agents from clobbering each other — Scobleizer · 2026-12-06
- Free open-source AI engineering course: 542 lessons, 20 phases, installable as a coding-agent tutor — ghumare64 · 2026-12-06