Mommy RefuelA little more room for you.
EN
FOUNDER NOTES

Safety before featureswhy we refuse to act medical

Founder notes · 5 min read

The riskiest thing I could do while building Mommy Refuel wasn't shipping too slowly — it was shipping a feature that sounds medical without being clinically reviewed. Here is how I built around that risk instead of hoping it wouldn't happen.

Parents sharing a kiss while carrying their children on a sunny path
A wellbeing app should support families without pretending to be medical care.

Key takeaways

  • Mommy Refuel is a wellbeing app, not a diagnostic or medical device, and it says so rather than implying otherwise.
  • Safety classification is deterministic — rule-based, not left to an AI model — because a model can be wrong in ways that are hard to predict and easy to miss.
  • Crisis and urgent situations are routed away from AI coaching entirely; the model is never consulted to decide whether something is an emergency.
  • The Refuel Score is a transparent, deterministic reflection of your own check-ins, not a clinical measurement, and AI can explain it but never computes or adjusts it.
  • Every feature carries an honest status — available, beta or planned — and anything touching medical thresholds or crisis wording is gated on clinical review before it ships.
01

The risk that worried me most

I'm Serhii Rohachov. I designed and built Mommy Refuel end to end, and across more than ten years of senior engineering work, the failure mode I've come to respect most isn't a crash or a slow query — it's a system that answers confidently when it shouldn't answer at all. In a wellbeing app for mothers, that failure mode has a name: pretending to be medical when it isn't, and getting it wrong for someone who is already vulnerable.

So the first architectural decision I made for the safety-sensitive parts of Mommy Refuel wasn't about the AI assistant. It was about what happens before AI is even allowed to speak.

02

Why safety classification is deterministic, not AI-driven

It would be technically easier to let a language model read a symptom or a message and decide how serious it is. I chose not to build it that way. Safety classification in Mommy Refuel runs through a rules engine — a pure, synchronous, unit-tested piece of code with no network access and no dependency on any AI model. It evaluates a fixed taxonomy — normal, concern, urgent, emergency, crisis — using a versioned, human-readable configuration of rules, not a black box.

That matters for a concrete reason: the same input always produces the same output. There's no randomness, no version of the model quietly changing its judgment between requests, and no way for a clever prompt or an unusual phrasing to talk the safety layer into downgrading something serious. If the configuration ever fails to load or returns something unexpected, the engine is built to fail toward the most cautious route, never toward "normal."

03

Crisis and urgent situations never reach the AI model

This is the part I'd want any mother using this app to understand clearly: if what you're describing looks like a crisis — thoughts of self-harm or harming someone else — or a red-flag symptom like heavy bleeding or a fever, the app does not hand that to an AI model to soften, summarize or respond to. The deterministic gate catches it first, and the AI call is simply never made. You're shown a distinct, unmissable safety screen with real actions — calling emergency services, contacting a trusted person, region-appropriate crisis resources — not a chat window.

The same gate runs twice: once on your device, and again on our backend, so a bug or a tampered client can't route sensitive text into the model by accident. Because the cost of missing a genuine crisis is so much higher than the cost of a false alarm, the pattern-matching behind this is deliberately tuned to catch more than it needs to, even if that occasionally means a benign phrase gets routed to a safety screen it didn't need. That trade-off is intentional.

04

What AI is — and isn't — allowed to do here

Once the safety gate clears something as normal or concern, Refuel AI can help: explaining why your score moved, suggesting what to focus on today, helping you draft a message asking for help, summarizing your week before a doctor's appointment. What it never does is diagnose you, claim you have a condition, decide whether a situation is an emergency, or compute your Refuel Score. The score arrives at the AI already calculated by a deterministic system; the model can only explain it in plain language, never generate or adjust the number itself.

Output is filtered before it reaches you, and it's labeled as AI-generated everywhere it appears. Anything AI drafts that becomes something you might send to another person — a help message, doctor questions, a summary — stays fully editable, because the point is to give you a starting point, not a final answer written on your behalf.

05

Guidance content is reviewed, not freely generated

For non-emergency symptoms, the app shows what you reported, what may help now, and what's worth monitoring, alongside a clearly separated medical-information card with real source attribution and an explicit "this is not a diagnosis" statement. That guidance comes from a reviewed content library keyed to the specific symptom, not from an AI model composing medical-sounding advice on the fly. AI is allowed to rephrase existing reviewed content if you ask it to explain something differently — it's never allowed to originate new medical guidance.

Any threshold or wording that touches a clinical judgment — what counts as a red flag, how a crisis screen is worded, which resources appear for a region — is explicitly marked in our configuration as requiring sign-off from a qualified clinician before it can ship to production. Engineering doesn't get to invent clinical thresholds because a placeholder value made the tests pass.

06

Honest statuses: available, beta, planned

The same instinct that keeps AI out of crisis decisions also shapes how I talk about what the app can do. A feature is either available, in beta, or planned — and it's labeled that way inside the app, not just in a roadmap document. I'd rather a mother see "planned" next to something we haven't built yet than have her assume a capability exists because it was implied by clever copy. That's a small discipline, but it's the same discipline as the safety layer: don't let confidence outrun what's actually been verified.

07

Why I consider this the real product

It would be faster to ship a single chat box and call it a wellbeing companion. I didn't build it that way, because the people using this app are often tired, worried, and making decisions about their own or their child's health in the middle of the night. A wellbeing app earns the right to be useful by being honest about its limits first — by routing the hard cases to real help instead of a confident-sounding paragraph. Everything else, including the AI, is built on top of that boundary, not around it. You can read the fuller technical picture in Trust & safety, and see the everyday side of it in the daily check-in.

Key takeaways from “Safety before features: why Mommy Refuel isn't a medical app” — summary card
The key points of this article on one card. Save it or share it.

Questions mothers ask

Is Mommy Refuel a medical app?

No. It's a wellbeing app. It does not diagnose conditions, and any content touching medical thresholds or crisis wording is marked as requiring clinical sign-off before it ships.

Does an AI model decide if I'm having a crisis?

No. Crisis and urgent detection is deterministic and rule-based, running on your device and again on the backend. The AI model is never consulted to make that call, and it's never called at all if the deterministic gate detects a crisis or urgent situation.

Can the AI assistant change or calculate my Refuel Score?

No. The score is computed by a deterministic system before AI ever sees it. AI can only explain the score in plain language; it cannot generate or adjust the number.

What happens if the app detects a red-flag symptom?

You're shown a dedicated escalation screen with real actions — calling a saved provider, finding a specialist, notifying a trusted person, region-specific urgent-care numbers — instead of AI coaching.

How do I know if a feature is fully built or still coming?

Every feature is labeled honestly as available, beta, or planned inside the app itself, not only in external marketing or a roadmap page.

This article is general information for wellbeing, not medical advice, diagnosis or treatment. If you are worried about your health or your baby’s, talk to your doctor, midwife or health visitor. In an emergency, or if you have thoughts of harming yourself, contact local emergency services now.

MORE FROM THE BLOGAll articles ↗︎
A mother holding her young child close at home

Privacy by design: what Mommy Refuel does with your data

I designed and built Mommy Refuel end to end, and the hardest constraint I set for myself wasn't a feature — it was what the app is not allowed to do with your data. Here is the honest version.

Serhii Rohachov
Onboarding screen asking “Where are you right now?” with options for pregnant, postpartum, planning, or supporting someone.

Why I'm launching this blog, from day one of Mommy Refuel

I'm starting a blog on mommyrefuel.com — real articles on motherhood and wellbeing, and this changelog written in my own name, in English and Ukrainian, alongside sharing Mommy Refuel more widely this week.

Serhii Rohachov
A smiling mother holding her newborn close to her cheek

Baby blues vs postpartum depression: how to tell

Tearful and overwhelmed after birth? Here is how baby blues and postpartum depression differ, what helps, and when it is time to talk to a professional.

Mommy Refuel
FOR THE PERSON INSIDE MOTHERHOOD

Make room
for you.

Get the free iPhone app