r/OpenaiCodex • • 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, publishes live/v2 snapshots, and builds daily validated Parquet editions (v12, corridors, search, stretch timing) 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 on data.yesid.dev with 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:

  1. 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.
  2. 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.
  3. 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.
  4. Keep AGENTS.md short 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. Now AGENTS.md holds only local commands, hard boundaries (no Postgres, apps/web never reads R2 directly, never patch shared design-system packages under node_modules), and pointers to living plans/handoffs stored in Notion via MCP.
  5. 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.json flips live.

Links

Happy to talk through the Codex + cross-provider review setup, AGENTS.md structure, or the DuckDB/R2 architecture if anyone is building something similar.

0 Upvotes

5 comments sorted by

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?

2

u/mgkDante 17h ago edited 17h ago

Nice question haha

Even small "roadmaps" (slice level 0) needs gating checks to avoid overengineering and extra "ceremony". When I plan "roadmaps" I usually use opus or fable (if complex) and lately neon. If the roadmap is too big then I slice it up into slices (slice level 1) and even if the slices are huge then I sub-slice (slice level 2) but before even a single line of code is typed the plan, reqs, and checks are already written by fable, opus or neon(been good these days and fast) for every slice. GPT models are only for implementing in my case and with tight leashes by the "orchestrator" (fable or opus or neon) for real or it will just go on forever.

With a nuance that slices can change as I develop so they are notions links in my agents.md so that way the link stays the same throughout dev but the content behind can change behind the same URL making work much more manageable in terms of planning, context, universal cross projrct truths.

So everything is a slice and every slice needs a plan. Slice plans live in a DB in notion with child-parent relationships between rows (roadmap -> slice -> subslice) and final slice classification can look like R1.2.3(roadmap1 slice 2 subslice 3) R1.2 and R1

2

u/ChemicalExcellent463 13h ago

What happens to a slice already being implemented when you edit its Notion page? The link in agents.md stays the same, but the plan the agent read has changed.

2

u/mgkDante 12h ago

Correct! In that case whenever any change happens to a plan already in progress inherently the model will be aware, either I make the change and know my workflow therefore I know to communicate the change back to the agent... when the LLM model is themselves the ones making then a skill that lives in my notion-mcp skill list triggers which is called "Write to Notion safely" which makes it make me accept or deny the change unless I specifically override that rule in a previous prompt

1

u/ChemicalExcellent463 5h ago

so when you edit the page yourself, the agent only finds out because you tell it. has a slice ever finished on the old plan before you remembered to pass the change along?