How This Was Built in About 36 Hours¶
This page describes how the FHIR pipeline demo was built in about 36 hours, including the problems that came up. All data is synthetic.
The goal¶
Andrew set the goal:
- Two ways to solve the same problem: an SSM-style lakehouse, and an evaluation of Oystehr's public FHIR API.
- A migration system, an executive summary tool, and an architecture write-up.
- Forge Studio, a site that explains the system.
- Everything as code, CI on self-hosted runners, and the full quality bar.
The team¶
Clahadore Jones (Claude) orchestrated. The work was split into numbered passes, each with a written task spec. Cedric Jones (Codex) implemented passes 9 to 17 overnight. The jobs ran in a queue so they would survive the night. Reviewers from other model families checked the work: Jenny Jones (Gemini), Gronktayvius Jones (Grok) as red team, and Susie Franny Jones (Meta Muse Spark).
How the work was organised¶
The build was run as a sequence of numbered passes. Each pass had a written task spec, so the implementer, the reviewers and the orchestrator all worked from the same description of what was required. Cedric implemented passes 9 to 17 overnight on a queue, which let the jobs continue without anyone watching. Every pass went through the review gate, where several model families reviewed the change independently. The red-team council reviewed the migration and the AI spike, and Pass 17 collected the fixes for everything it found.
The quality bar applied to every pass: NUnit-based tests, mutation testing with Stryker.NET and StrykerJS, static analysis, secret scanning, dependency audit, OWASP ZAP, and Playwright smoke tests against the live site. Infrastructure and schema were kept in code, using EF Core migrations, a .NET Aspire AppHost, and CDK Terrain in C# over Terraform.
Timeline¶
| Stage | What happened |
|---|---|
| Setup | Goal set. Work split into numbered passes with written specs. |
| Overnight build | Passes 9 to 17 were queued for Cedric. |
| Overnight failure | The first overnight chain silently died. It was caught and relaunched. |
| About 3 to 4 AM | Codex hit its weekly limit. The remaining work was rerouted to Susie (Muse) across three PCs. |
| Smoke run | A 264-test smoke run found 6 real bugs. All were fixed with regression tests. |
| Red-team gate | The council said STOP on the migration and on the AI spike. Pass 17 fixed every finding. Re-gates returned SHIP. |
| Model runs | MedGemma and gpt-oss runs were recorded on a local RTX 4090. |
| Live deploy | Problems found on the live site were fixed. A release was tagged. |
What went wrong¶
The overnight chain. The first overnight chain silently died. It was caught and relaunched.
The weekly limit. Codex hit its weekly limit at about 3 to 4 AM. The remaining work was rerouted to Susie (Muse) across three PCs.
The smoke run. A 264-test smoke run found 6 real bugs. Two examples: the OpenAPI endpoint served HTML, and evidence links pointed at a private repo. All were fixed with regression tests.
The red team said stop. The red-team council said STOP on the migration (3 High findings) and on the AI spike (1 Critical, 4 High). Pass 17 fixed every finding, with each fix starting from a test that fails first. The re-gates came back SHIP.
The model runs. The MedGemma and gpt-oss runs were recorded on a local RTX 4090. The fact checker accepted only 8 of 34 quote attempts per model. This is by design: the deterministic summary does the work.
The live deploy.
- Cloudflare 308-redirected the API reference to the home page. This was found by clicking the live site, not by tests.
- Deep links were ignored.
- A stale test clone reported false failures. A fresh clone proved them false.
Where it ended up¶
| Measure | Result |
|---|---|
| Tests on a fresh clone | 1,476 green; later 1,504 with spike mutation coverage |
| Live smoke | 278/278 tests and 1,238/1,238 checkpoints |
| Release | Tagged |
| Tracking | Jira epic plus a YouTrack mirror |
| Public material | A public board and hosted docs |
| Manual testing | An 86-case manual test sheet |
Lessons¶
- "Done" means a receipt.
- A fresh clone beats a stale one.
- Click the live site.
- Cross-family review catches what the author misses.
- Budgets run out, so plan the fallbacks.
Live links: Demo | Docs | Board | Forge Studio