r/OpenaiCodex • u/mgkDante • 18h ago
Showcase / Highlight Pairing Codex with Claude Code and Antigravity across 1,580+ PRs to build a free, ~US$10/mo live transit map and reliability dashboard
I'm a SQL developer and data analyst by day, and over the past several months I built v2 of transit.yesid.dev: a free, bilingual (EN/FR), MIT-licensed live transit map and historical schedule reliability dashboard covering Montréal (STM), Ottawa (OC Transpo), and Gatineau (STO).
Getting it through 1,580+ PRs solo came down to pairing OpenAI Codex (Sol for bounded implementation and debugging, Astra for deeper review and coordination) with Claude Code and Antigravity (Gemini) inside isolated git worktrees. Sharing the architecture and the multi-agent workflow habits that actually held up in production.
What the app does
Every 20 to 30 seconds, background capture jobs poll public GTFS-Realtime feeds across all three cities, archive raw snapshots to Cloudflare R2, publish live vehicle and alert snapshots, and build daily clean Parquet tables. Riders and researchers can inspect live buses, 2D/3D street delay corridors, line and stop reliability across arbitrary date ranges, agency data health receipts, and downloadable daily Parquet files.
The monorepo has four apps and no PostgreSQL database:
apps/db(Python, DuckDB, uv): captures GTFS-RT feeds on an Oracle Cloud Always Free VM, publisheslive/v2snapshots, and builds daily validated Parquet editions (v12,corridors,search,stretchtiming) in Cloudflare R2.apps/engine(Python, DuckDB, Uvicorn): read-only DuckDB query engine over mirrored/R2 Parquet tables (VM primary plus Cloudflare Container fallback) answering arbitrary date-range Record queries on the fly.apps/data-proxy(Cloudflare Workers, R2, KV): serves/v2/*endpoints ondata.yesid.devwith edge caching, conditional requests, and range support.apps/web(Svelte 5, SvelteKit on Cloudflare Workers, MapLibre GL, self-hosted Protomaps PMTiles): bilingual frontend that only talks to the data proxy and never reads R2 directly.
Total running cost is roughly US$10/month (almost all Cloudflare R2 storage and write ops from refreshing live feeds every 20 to 30 seconds; the Oracle VM, Workers, and GitHub Actions sit on free tiers).
How Codex fit into the multi-agent workflow
I run Codex, Claude Code, and Antigravity side by side in T3 Code rather than forcing one provider to handle every role:
- Bounded slices in isolated worktrees. Codex Sol (at explicit high effort, Standard speed) shines when you hand it one concrete slice with clear seams, exact boundaries, and a real local acceptance command. Open-ended prompts like "clean up the map" led to speculative wrappers and extra cleanup; narrow slices with a clear stop condition merged cleanly on the first or second pass.
- Cross-provider independent reviews. Self-review misses blind spots regardless of the model. Pairing a Codex implementation pass with an independent read-only review from Claude Opus or Gemini Carbon (and vice versa, using Astra for consequential review on other lanes) caught real bugs before merge: cold-path layout failures warm tests missed, visual regressions that passed component prop tests, and subtle ranking edge cases.
- Verify recall on broad refactors and check rendered UI. For codebase-wide hunts or CSS/visual layout polish, I learned not to trust a single pass or DOM-only assertions. Checking actual rendered screenshots at desktop (1440px) and mobile (390px) viewports caught overlapping map controls, pinned hover card bugs, and height issues that unit tests reported green.
- Keep
AGENTS.mdshort and move living plans out of the repo. Stuffing specs and changelogs into repo markdown made every session slower and caused agents to revive retired v1 patterns. NowAGENTS.mdholds only local commands, hard boundaries (no Postgres,apps/webnever reads R2 directly, never patch shared design-system packages undernode_modules), and pointers to living plans/handoffs stored in Notion via MCP. - Proportionate tests and realistic data fixtures. The repo has 511 test files (3,700+ test definitions across Python and TypeScript, plus parameterized cases). Early on, strict test-first rules created brittle tests tied to internals. Moving to observable boundary tests plus realistic local DuckDB parity checks (for example, validating a ranking fix against a 23.4M-event local fixture under a 1 GiB memory budget) kept refactors fast while enforcing strict data-honesty invariants: missing agency readings stay "not measured" or "unknown" (never 0), DuckDB pools raw stop-event counts before dividing, and daily Parquet builds upload create-only with SHA-256 verification before
manifest.jsonflips live.
Links
- Live app: https://transit.yesid.dev/?ref=r_openaicodex
- Source code (MIT, runs locally with
bun run devagainst the publicdata.yesid.devAPI with no DB or keys): https://github.com/yesid-dev/transit
Happy to talk through the Codex + cross-provider review setup, AGENTS.md structure, or the DuckDB/R2 architecture if anyone is building something similar.






1
u/ChemicalExcellent463 17h ago
A narrow slice still needs a clear check for when it's done. Who writes that check before the agent starts?