RONANRX
RonanRx · System Map · from the 06-23 plan

How everything maps together

One patient thread, one longitudinal record. Every leg of the care loop writes to that record: that closed loop is the moat. Agents converse, capture, and draft; deterministic code and licensed humans decide anything clinical or financial.

The loop

The care loop around the record

Patient entry to follow-up, clockwise. The focal node is the price-shopper wedge; the red node is the fail-closed doctor-approval gate. Dashed spokes show every leg writing back to the single record.

One patient recordthe longitudinal moatPatient entryget started, chatAgentic intakeprice-shopperDoctor selectpatient picksDoctor approvalfail-closed gateE-prescribehand-key, BestRxCompound + ship503A + 3PLDeliveredconsult offerFollow-uprules enginesolid: care flow · dashed: every leg writes back to the one record
One patient record (system of record, the moat)The priority wedge / PHI platformHard gate: human or rules, never an LLMWrite-back to the record / feedback loopLive or planned node
Data feeds

What writes into the record

Patient-initiated feeds land on the one record inside the GCP BAA store. The iOS HealthKit snapshot and the Function Health / lab upload are the new legs; raw values never cross the boundary outward, only pointers do. Function Health is patient-mediated upload, never credential scraping.

NON-PHI EDGE, POINTER-NOT-PAYLOADPHI PLATFORM, GCP UNDER BAAAgentic intakeSMS + web, liveFH lab uploadpatient file, JuliOS HealthKitsnapshot, AugWhoop / Withingsself-export, P2FHIR / officialRight-of-Access, PostIngest + normalizeprovenance, de-dupe, Tier-2One patient recordthe moatpatient-initiated feeds; only pointers + signed-upload URLs cross the boundary, raw values land only inside the BAA store
Architecture

The stack it runs on

A non-PHI Cloudflare edge front door forwards into the PHI platform monorepo on Google Cloud (Cam is consolidating valinor-labs into it). Everything rests on the MSO compliance foundation.

SURFACESiOS app (Swift)SMS / iMessage chatWeb deep-linksDoctor onboardingEDGE: CLOUDFLARE PAGES (NON-PHI FRONT DOOR)Marketing siteIntake captureLinq SMSAnalyticsPLATFORM: RONANRX-PLATFORM MONOREPO ON GCP (PHI SYSTEM OF RECORD)Patient recordOrder routingAgent engineBillingFULFILLMENT + DATAPharmacy: Elite Care3PL shipDevices: HealthKit/WhoopAI researcherFOUNDATION: COMPLIANCE + MSO GUARDRAILSpatient picks pharmacypatient picks doctorflat fee, never %
Agentic loops

Where agents are allowed to act

The safety doctrine inherited from Plan B. The deeper a decision is into clinical or financial territory, the less an LLM gets the final say.

Tier 1 · agent drivesintake · price-shopper · doctor lookup · operator copilot · internal loopsTier 2 · agent proposes, human or rule disposesdose-from-photo · case summary · draft order · follow-up wordingTier 3 · never an LLM's final calldoctor approval · prescribing · money movement · triage escalation · pharmacy legality
Timeline

Build phases and deliverables

v1 goal: onboard real people within a week. The BAAs (OpenAI, GCP, SureScripts, Linq, PostHog) are all signed, so nothing is BAA-gated. Then the runway to the concierge demo (Aug 24) and the product freeze + fundraising pivot (Aug 28). Mint chips are v1 + the demo; checked chips are shipped or in place; the red-edged column is the freeze.

Nowv1: onboard in 1 weekv1: onboard people, 1 wk✓ BAAs signed✓ Cat-2 send guardHarden signupEngage counselJulybuild the wedgeAgent engine + edge flagMessage aggregationPrice-shopper captureMonorepo consolidateAugustto demo + freezeFly to GCP migrationDoctor SMS onboardingPharmacy + logisticsFH lab uploadConcierge demo, Aug 24After Aug 28freeze, raise, growData room + deckFundraise3,000 patients by Dec 31Researcher + iOS (P2)
Parallel tracks

What can run concurrently

Work organized by owner track, not by time: everything in a row can proceed in parallel right now. The BAAs in the top row are all signed, so nothing is BAA-gated; checked chips are already shipped. The main hard hand-off: the backend agent engine gates the edge agent flag.

BAAs signednothing BAA-gated✓ OpenAI✓ GCP✓ SureScripts✓ Linq / PostHogEdge / Linq✓ Cat-2 guardmsg aggregationdeep-link infraBackend / Camsignup hardeningmonorepoFly to GCPagent engineCompliancecounsel3 invariantsSMS waiverRx authorityMSO kitProduct / Designagentic scriptsdoctor-lookup UXprice-shopper UXweb surfacesML / DataLlamaParse corpusdoc understandingdevice evalGTM + Ops + Hubgrowth modelreferralsTotal Mensdoctor playbookplanning hub
Workstreams

The seven workstreams

Every node above belongs to one of these. Full detail in docs/plans/2026-06-23-mso-master-plan.md.

A
Product + Agentic UX
one agentic SMS-first onboarding; price-shopper wedge
B
Architecture + Backend
valinor to monorepo on GCP; signup; order routing
C
AI Researcher + Data
async insights; iOS app + HealthKit; Whoop/Withings; ETL
D
Compliance + MSO
the 3 invariants as code; counsel; SMS waiver
E
Revenue + Billing
flat doctor fee, never %; price-beat tool
F
GTM + Growth
referrals, Total Men's, Revive; to 3,000; raise
G
Ops + Hub + Loops
planning hub; agent-loop framework; monitoring