← All posts

HHS Got More Than 250 Hospitals to Pledge They'll Review Food Against a Patient's Health Status 'Where Clinically Appropriate.' Mr Bite Built the Same Kind of Gate for Pregnancy and Medical Conditions, and the Only Screen That Ever Asks the Question Is Dead Code.

HHS announced on October 26th that more than 250 hospitals have signed its pledge to review food service against the Dietary Guidelines where clinically appropriate. Mr Bite built a real safety gate for pregnancy, medical conditions, and eating-disorder history, but the only screen that ever asks a user about any of it is never mounted in the app.

A hospital meal tray with a small badge-shaped seal hovering above it, beside a greyed-out phone chat bubble holding a single unlit toggle switch, representing a safety question that is never asked, warm cream background with coral and soft teal accents

On October 26th, HHS announced that more than 250 hospitals have signed its “Make Hospital Food Healthier Pledge,” a voluntary program Secretary Kennedy and CMS Administrator Mehmet Oz launched in July and that the American Hospital Association endorsed a month later. Kennedy made the announcement at Corewell Health in Grand Rapids, Michigan. The signers, about 4% of the roughly 6,100 hospitals in the country, commit to reviewing their food service against the 2025-2030 Dietary Guidelines “where clinically appropriate and feasible,” cutting ultra-processed foods and sugary drinks, favoring whole grains, cooking by baking, roasting, or grilling instead of deep frying, and teaching patients about nutrition before they go home.

That one phrase, where clinically appropriate, is the whole point. The food a hospital hands a healthy 40-year-old and the food it hands a pregnant patient or someone managing a new diagnosis are not supposed to be the same food reviewed the same way. Appropriateness depends on who the person actually is before the tray shows up.

So I went looking for the equivalent check in Mr Bite, because we hand out a number every bit as consequential as a hospital tray: a calorie and macro target. What I found is a genuinely careful piece of engineering, and a genuine gap in exactly the place the hospital pledge is about.

The careful part lives in mrBiteHealthSafety.ts. It defines four real-world reasons a person’s weight-change coaching should change: eating_disorder_or_unsafe_tracking, pregnant_or_postpartum, medical_condition_or_medication, and under_18. modeForHealthSafetyReasons maps those to one of three coaching modes, standard, gentle_only, or clinician_required, and widenHealthSafetyProfile is a union-only merge, so a reason declared once can never quietly disappear from a later update. healthSafetyBlocksWeightTargets is checked at four separate points in mrBiteServerTools.ts, plus in coachView.ts and twice in partner-coach/index.ts, every place the coach could calculate or save a weight-change target. It’s well tested, in mrBiteHealthSafety.test.ts and mrBiteFullCoachSafety.test.ts. And dailyTargetCitations.ts carries a disclaimer naming exactly this population: “Ask a qualified clinician before using calorie or macro targets for medical conditions, pregnancy, eating disorder history, or under-18 users.”

Here’s the gap. The only place in the entire codebase that ever asks a user whether any of those four things is true is a single-select question in onboardingChatQuestions.ts, consumed by one screen, MrBiteOnboardingScreen.tsx. I checked every import of that file. The only other reference to it anywhere in the app is a one-line comment, in onboardingAnalytics.ts, noting that the question exists “in a separate conversational screen.” No navigator points to that screen. Nothing renders it. It is dead code.

The quiz every new user actually takes, NewOnboardingFlow.tsx, computes targets through computeTargetsFromAnswers, which reads sex, age, height, weight, activity, goal, and pace. I grepped it, and automaticTargetCalculator.ts, for any mention of health safety: nothing. That computed number gets written straight into the profile as manualCalories, manualProtein, and so on the moment onboarding completes, before a single meal is logged, and it’s what shows up on the Today targets card.

The team already half-knows this. Right where the live profile gets built, preAuthOnboardingStorage.ts carries its own comment: “The dedicated health-safety question only exists in the chat onboarding flow, so the quiz path derives what it can: minors get the gentler Mr Bite coaching gates automatically from their entered age.” That’s real: isMinor is derived from the age the live quiz does ask, and under_18 gets patched in. But nothing derives pregnant_or_postpartum, medical_condition_or_medication, or eating_disorder_or_unsafe_tracking, because nothing in the live quiz asks about any of them, and the one screen that did has no door into it.

So a pregnant user, or someone with a medical condition that affects diet, who downloads Mr Bite today gets the exact same automatic weight-change target as anyone else. The clinician_required gate downstream never fires for her, not because her case was reviewed and cleared, but because weightCoachingMode defaults to standard when the reasons array is empty, and that array can only stop being empty on a screen nobody can open. HHS is asking hospitals to prove a tray got reviewed against the person eating it. We wrote the code to do that and then shipped an onboarding flow that never calls it.

BITE of the Week

A phone screen showing a small food item card with a glowing plus icon beside it for one-tap logging, next to a simple camera icon above a funnel diagram narrowing into a single path, warm cream background with coral and soft teal accents

Michael shipped two real changes to main on October 28th. The bigger one: 71% of search and manual logs repeat a food the person already logged, so every row in Search’s “Recents” list now gets a one-tap ”+” that logs that exact entry again, with Undo, without leaving the search screen; a row tap still opens the full editor for anyone who wants to adjust it. Alongside it, photo scans now fire two new analytics events, photo_scan_outcome and photo_estimate_discarded, so the drop between opening the camera and actually logging something can finally be measured instead of guessed at. Both changes are JS-only, in SearchFoodScreen.tsx, TodayScreen.tsx, and the analytics utilities, so they’re OTA-eligible the moment they ship; the build in app stores is still the October 13th 1.17.0 release. A smaller fix in the same window moved the coach’s proactive check-in rules into a shared proactiveBackoff.ts so chat and the scheduled proactive function read the same logic, and changed a scenario pushed to silent so it lapses back to a lighter check-in after 14 quiet days instead of staying muted forever, which had already silenced coach_review for 14 real users. That one is a Supabase edge function and is already live.

Three Quick Bites

Three vignettes in a row: a small carton of broccoli sprouts beside a glowing bacterium icon, a plain food container with a question mark hovering over it representing an unidentified contamination source, and a tray of fettuccine pasta beside a small warning triangle icon, warm cream background with coral and soft teal accents

  1. A Salmonella outbreak tied to broccoli sprouts from Evergreen Fresh Sprouts, LLC has grown to 32 people infected across six states, up from 22 people in four states reported earlier in September. The Moyie Springs, Idaho grower’s sprouts were recalled starting September 4th after a Montana state sample tested positive; affected packages carry expiration dates of 9/7, 9/9, 9/11, 9/14, or 9/16. The CDC and FDA say to throw out or return any recalled broccoli sprouts still in your home. CDC

  2. A Listeria monocytogenes outbreak with no identified food source yet has grown to at least 11 confirmed patients, up from 10 a week earlier, since it was first reported around September 23rd. The FDA has started traceback work but has not said which product it’s chasing, and hasn’t released the patients’ ages or states. It’s a reminder that “under investigation” can mean genuinely unresolved, not just unannounced. Food Safety News

  3. Gias Foods expanded its recall of bettergoods Authentic Italian Lemon Alfredo Fettuccine, sold nationwide at Walmart, from two lot numbers to every lot of the product after Listeria monocytogenes turned up in routine state testing. The 22 oz packages, UPC 194346442706, were first pulled in mid-September over two specific lots; the company widened the recall to all lots on October 1st. No illnesses have been reported, and the company has paused distribution while it and the FDA investigate the source. FDA

Tool of the Week: Knip

A simple branching diagram of small file icons connected by thin lines, with one isolated file icon faded to near transparency and a small magnifying glass hovering over it, warm cream background with coral and soft teal accents

Since this issue is about a whole screen with zero importers anywhere in the app, the pick this week is the free, open-source tool built to catch exactly that: Knip, a static analyzer for JavaScript and TypeScript projects that walks the real module graph from your actual entry points and reports files, exports, and dependencies nothing ever reaches. npx knip runs a full scan; --files narrows it to unreachable files like the one this issue is about. It wouldn’t have told us the health-safety question was the wrong one to leave stranded, that takes reading the product, but it would have flagged that MrBiteOnboardingScreen.tsx has no caller in the entire codebase, which is exactly the kind of boring, mechanical fact worth having a tool say out loud instead of a human finding it by grepping around a different story entirely. Knip

Thanks for reading. If you want a coach whose safety checks actually run before it hands you a number, Mr BITE is free on iOS and Android.

Collins, building Mr BITE

← Back to all posts