Skip to content
ARFID apps

ARFID Health Companion, privacy notice

Version 2026-07-companion-v1

Not yet effective. This document is an unreviewed draft.

Unreviewed engineering draft

This document was written by the engineering team from the source code in this repository, to describe accurately what the software does. It has not been reviewed by a lawyer, it is not a published policy, and it is not legal advice. Nothing in it asserts compliance with any law, rule or guidance. Placeholders in brackets are deliberately unfilled.

This is not the current version

A newer version of this document has replaced it. This page stays published because somebody agreed to this version and has to be able to read it. Read the current version.

This document was written by the engineering team from the source code in this repository. It does not assert compliance with the FTC Health Breach Notification Rule, the GDPR, the CCPA/CPRA, HIPAA, or any other law or regulation, and it does not assert that any of them do or do not apply. Which of them apply is precisely what counsel has to determine. Placeholders in brackets are deliberately unfilled.

Operator
[COMPANY LEGAL NAME]
Registered address
[COMPANY REGISTERED ADDRESS]
Privacy contact
badcodesgg@gmail.com
Effective date
[EFFECTIVE DATE, NOT YET SET]
Policy version
2026-07-companion-v1

1. What this app is

ARFID Health Companion is a wellness companion for adults, built around the foods that already work for someone rather than around restriction. It records what you eat, when, and how you felt, and it offers gentle suggestions for widening that set when you choose to look at them.

It is not medical or psychological care. It does not diagnose anything, it does not prescribe anything, and it is not a substitute for a doctor, a therapist, or a registered dietitian.

2. The nature of this data

Most of what this app stores is information about your eating and your feelings about eating. That is personal, and in several places it is likely to count as health data or as a sensitive category under one or more privacy laws.

The rest of this notice is written on that basis: the data is handled as sensitive whether or not a particular law says it must be.

3. What the app collects

Taken from apps/api/src/db/companion-models.ts. This is the complete list.

3.1 Account

DataWhere it is stored
Email addressThe identity provider only, never in our own database
An opaque account id issued by the identity providerThe key for every row below
Which patterns you said fit you: sensory, fear, or low interestcompanion_db
When you finished setting upcompanion_db

3.2 Your foods

For each food you add: a name, whether it is active or archived, texture tags, flavour tags, a temperature, an optional brand, an optional preparation note, whether the brand matters to you, free-text notes, and when you added it. If you matched the food to an entry in the nutrition-data pool, the app also stores the matching identifier, a barcode if one was used, and a copy of that entry's nutrient figures alongside your food.

3.3 Your logs

WhatWhat is recorded
MealsWhen you ate, which of your foods, an optional portion band (small, usual, big), and optional context tags
Check-insWhen, optionally linked to a meal, a mood on a five-point scale, an anxiety rating from 0 to 10, a sensory-load rating, and an optional free-text note
MovementWhen, what the activity was, and optionally how your energy felt before and after
Expansion suggestionsWhich food it came from, what was suggested, which quality was varied, and whether you accepted, declined, deferred, or dismissed it
Expansion attemptsWhen, how far you got (looked at, bought, plated, smelled, tasted, ate), and optionally an anxiety rating before and after

The two free-text fields, food notes and check-in notes, are stored as you type them and appear in exports. They are never written to server logs: the logging configuration redacts note explicitly and request bodies are never logged at all (apps/api/src/lib/logger.ts, apps/api/src/middleware/request-logger.ts).

3.4 Ingredients you have chosen to avoid

If you use the shopping and product features, the app stores the list of ingredients you told it to watch for, so that it can flag a product that appears to contain one. The list is yours and is user-defined: nothing in the app has a preconceived idea of which ingredients anyone should avoid, and the list is not shown to anybody else. Some people's reasons for avoiding something are medical, so treat this as one of the more sensitive things stored here.

3.5 Your shopping list

Each entry holds a name, whether it is food, a household item or a personal-care item, an optional brand, an optional barcode, whether you have ticked it off, and when you added it. Food and household items deliberately mix here, and only here, because that is how a real shopping trip works. Nothing in the shopping list reaches the nutrition, chaining or expansion features.

3.6 Counts of how the app is used, only if you switch them on

Off unless you turn them on in settings, and structurally incapable of becoming a behavioural log even then. What is stored is a counter: one row per account, per event name, per day, holding a number. There is no timestamp, no payload and no free-text field for one to be added to, and nothing is sent back to the app, so this cannot be read from either. It answers whether a feature is used at all, not what anybody did (apps/api/src/db/companion-models.ts, apps/api/src/routes/companion.ts).

3.7 Reference data, which is not about you

Three collections in the same database hold no user data at all: the pool of nutrition figures, the barcode-to-product cache, and the recall notices. They are shared reference material, identical for everyone, and they are named here so that the list above can honestly be called complete rather than looking selective next to the database.

3.8 Kept only on the device

Low-stimulation mode, reduced-motion preference, whether you have acknowledged the wellness note, and a local counter used only to soften how often the app re-opens the nutrition view. These live in browser storage and are not synced (apps/companion/src/lib/config.ts).

3.9 What the app deliberately does not collect

  • No weight, height, body measurements, or body-composition figures.
  • No calorie targets, calorie budgets, energy deficits, or intake goals.
  • No scores, grades, or rankings of any kind.
  • No streaks, and no penalty for a gap in logging.
  • No location, no camera roll, no contacts, no microphone.
  • No advertising identifier, no advertising, and no analytics or tracking SDK.
  • No social features, no public profile, and no way for another user to see you.
  • No diagnosis, no diagnostic screening, and no clinical assessment.

Nutrition is presented as coverage, never as a target, a shortfall, or a warning. That is a product rule, not a presentation choice.

3.10 Limits the app puts on itself

Some product rules exist to protect the person using the app, and they are enforced by the server, not only by the screen. Check-ins are capped at four a day and spaced at least a couple of hours apart; a check-in beyond that is declined with a gentle message rather than stored. Expansion suggestions are not offered until a basic logging rhythm exists. Repeatedly re-opening the nutrition view produces gentle friction rather than new information. These rules live in packages/core/src/gates.ts and are re-applied in apps/api/src/routes/companion.ts.

4. Who else sees this data

Everybody, in one table. The rows come from the same list the server is checked against, so a new outbound connection either appears here or fails the build.

Third partyWhat it getsWhen
ClerkThe sign-in email address and sign-in activity. No child data, no health data, no note text.Only while somebody is signing in.
MongoDB AtlasEverything the app stores, at rest.Continuously, as the database.
[API HOSTING PROVIDER]Runs the server that every request passes through.Continuously.
Open Food FactsOne barcode, and our server's address. Not your address, your identity, or anything else you have stored.When you look up a food barcode we have not cached in the last thirty days.
Open Products FactsOne barcode, and our server's address, for a household item.When you look up a household barcode we have not cached in the last thirty days.
Open Beauty FactsOne barcode, and our server's address, for a personal-care item.When you look up a personal-care barcode we have not cached in the last thirty days.
USDA FoodData CentralNothing about anybody. The operator asks it for public nutrition reference data.Only when the operator runs the import script, never while the app is in use.
openFDANothing about anybody. The operator asks it for published food-recall notices.Only when the operator runs the recall sync script.
USDA FSISNothing about anybody. The operator asks it for published meat and poultry recall notices.Only when the operator runs the recall sync script.

The first three act for us. The rest are public data sources: three of them are asked for a product when you look up a barcode, which is described in 4.2 below, and the last three are only ever contacted by the operator, from a script, with nothing about anybody in the request.

Clerk is used only to identify you. No food data, no meal logs, no check-ins, and no note text are ever sent to Clerk.

Nothing is sold. Nothing is shared for advertising or for cross-context behavioural advertising. Nothing is shared with employers, insurers, or data brokers. There is no advertising, analytics, or attribution SDK in the app (apps/companion/package.json; the full measured list, dependency by dependency, is in docs/SDK-INVENTORY.md). Clerk's SDK collects usage telemetry by default, and it is switched off here in packages/ui/src/components/app-auth.tsx.

The Android build also turns off the platform's own backup (android:allowBackup="false", plus data-extraction rules that exclude every storage domain from cloud backup and from device-to-device transfer). Without that, the operating system would copy this app's local storage, which holds the queue of unsent entries and the cached copy of your logs, into your Google account. The reasoning is written out in the manifest itself. This is not yet true on iOS, where the app container is in an iCloud backup by default; that gap is recorded in the SDK inventory.

4.1 The nutrition-data pool

When you search for a food by name to attach nutrition figures to it, that search runs against a pool of nutrition data held in our own database (apps/api/src/routes/foods.ts). Your search does not leave our servers, and no third party learns what you searched for.

Looking up a barcode is different, and 4.2 describes it separately rather than letting it hide under the sentence above.

That pool is assembled by the operator ahead of time. It ships with bundled estimates, and the operator may optionally refresh it from the United States Department of Agriculture's FoodData Central service by running an import script (apps/api/scripts/import-fdc.ts). That import is an administrative task run against public reference data. It carries no user data, and it does not happen while you are using the app.

4.2 Barcode lookup, which does leave our servers

This is the one feature where something you entered is passed to somebody else, so it is worth being exact about what happens.

You type or paste a barcode. There is no camera involved anywhere: neither app contains a camera plugin, neither asks for camera permission, and no image is ever taken or sent. The digits go to our server, and our server asks Open Food Facts, Open Products Facts or Open Beauty Facts, depending on whether you said the item was food, a household item or a personal-care item, for that one product.

What the third party sees is the barcode, our server's address, and a fixed description of the software making the request (arfid-companion/1.0 (wellness app; product lookup)). It does not see your address, your account, your name, your food list, or anything else you have stored. The request goes out from our server rather than from your device, which is the part you could not otherwise infer.

The answer is stored so that the next person who looks up the same barcode does not cause a second request, and it is refreshed if it is more than thirty days old, because recipes change (apps/api/src/services/products.ts).

4.3 Product recalls

The app can show published recall notices that look related to foods you have saved. The notices are fetched in advance by the operator from the FDA and the USDA and stored in our own database, so searching them sends nothing anywhere: the matching happens on our server against your saved foods, and no third party learns what you have saved. Each notice carries a link to the agency's own page, and following that link opens it in your own browser, which is a visit you make to that agency, not one we make for you. The screen says plainly that we cannot tell whether your particular package is covered and that seeing nothing does not mean there is nothing.

4.4 Anonymous problem reports

If the app hits an unexpected error, it may send a report so the problem can be noticed and fixed. Nothing is stored in any database. The error message and the technical stack are never written to the logs, because they can carry food names or note text. Only a coarse error type and the page path are recorded, with any query string stripped, and no account id is attached (apps/api/src/routes/telemetry.ts).

5. Where the data lives, and how it is kept separate

Companion's data is stored in its own database, companion_db. The children's Explorer app's data is stored in a completely separate database, explorer_db (apps/api/src/db/connections.ts). The two never share a collection, and no code path reads across them. Nobody's adult health data is associated with a child's records by this software, and no screen in either app can show anything from the other.

One thing is shared, and overstating the separation would be the wrong way to describe it. Both apps sign people in through the same identity provider, so if you use both with the same email address you are one person to that provider, and the same opaque account id keys your rows in each of the two databases. That id is what would connect the two if anybody ever joined them by hand. Nothing in the software does, and no feature is built on it.

Within Companion, every stored row is keyed to your account id, and every query the server runs filters by it.

Data is held at [HOSTING REGIONS, TO BE CONFIRMED]. [INTERNATIONAL TRANSFER MECHANISM, IF ANY, TO BE DETERMINED WITH COUNSEL]

6. How long it is kept

Until you delete it. Nothing about you expires on a timer.

Nothing in the Companion database expires on a timer at all. The account-event deduplication record that does expire, after ninety days, lives in the children's database and holds an event id and an event type, never anything about you (apps/api/src/db/companion-models.ts records why there is deliberately no second copy of it here). The cached product answers described in 4.2 are refreshed rather than kept indefinitely, and they are reference data about products, not about you.

[WHETHER A MAXIMUM RETENTION PERIOD OR INACTIVITY SWEEP IS REQUIRED, TO BE DECIDED WITH COUNSEL]

7. What you can do

Both of these are already built and available from the settings screen.

Export everything. A PDF summary intended to be handed to a clinician, or a set of CSV files covering meals, check-ins, expansion practice, and your food list. You choose a range of days and which sections to include: safe food list, nutrition picture, meal rhythm, expansion practice, mood and check-ins, and profile. Exports are generated on our own server and downloaded, or handed to the device's own share sheet on a phone. They carry the line "Self-reported wellness data, not a clinical assessment."

Once you share an exported file with someone, it is outside the app and this notice no longer governs it.

Delete everything, in one action. The delete control removes every food, meal, check-in, movement log, expansion suggestion, expansion attempt, and the account record itself from our servers, and clears the local copy from the device at the same time, including anything waiting to be uploaded (apps/api/src/services/deletion.ts). The app asks twice and says plainly that there is no undo. If you instead delete your sign-in account, the same full erasure runs automatically.

Deletion covers the live database. It does not by itself reach routine encrypted backups, which age out on the storage provider's own schedule. [BACKUP RETENTION PERIOD, TO BE CONFIRMED WITH COUNSEL AND THE HOSTING PROVIDER]

Sign out on a shared device. Signing out clears the local cache and any queued uploads before it drops the session, so the next person to use the device cannot see or resend your data.

[OTHER DATA RIGHTS, ACCESS, CORRECTION, PORTABILITY, OBJECTION, AND THE PROCESS AND TIMELINES FOR EXERCISING THEM, TO BE DETERMINED WITH COUNSEL. EXPORT AND DELETE ARE ALREADY IMPLEMENTED AND SELF-SERVICE.]

8. Security

Requests are authenticated with a short-lived token and checked against the account they claim to belong to. Every read and write is scoped to your account id at the query level. Request bodies are never logged, and free-text note fields are redacted from the logging system by name. Request sizes are capped, requests are rate-limited per account and per address, and the browser origins allowed to reach the API are restricted to an explicit list. The server will not start with development-mode authentication enabled outside a development environment.

[BREACH NOTIFICATION COMMITMENTS AND TIMELINES, TO BE DETERMINED WITH COUNSEL]

9. Children

This app is for adults. [MINIMUM AGE, TO BE DECIDED WITH COUNSEL] It is not directed at children, and it does not knowingly collect data from them. The separate children's app, ARFID Explorer, has its own notice and its own database, and the two are never linked.

10. Changes to this notice

This notice carries a version string, 2026-07-companion-v1, and every version stays readable at its own address once it has been replaced. Unlike the children's app, Companion does not ask you to agree to a version and does not record which one you read, so the string here is documentation rather than a record of anything.

[WHETHER COMPANION MUST RECORD AGREEMENT TO A VERSION, AND HOW A MATERIAL CHANGE IS NOTIFIED, TO BE DECIDED WITH COUNSEL.]

11. Contact

  • badcodesgg@gmail.com
  • [POSTAL ADDRESS FOR PRIVACY REQUESTS]
  • [DATA PROTECTION OFFICER OR REPRESENTATIVE, IF ONE IS REQUIRED]
  • [SUPERVISORY AUTHORITY COMPLAINT ROUTE, IF APPLICABLE]

Appendix: where each statement came from

Every claim above, and the file it was read out of.
StatementSource
Every stored fieldapps/api/src/db/companion-models.ts
Routes, tenant scoping, row capsapps/api/src/routes/companion.ts
Nutrition search stays on our serversapps/api/src/routes/foods.ts
Barcode lookup: which host is asked, the user agent sent, the thirty-day refreshapps/api/src/services/products.ts
Who receives data, and the check that the server contacts nobody elsepackages/core/src/recipients.ts, apps/api/src/test/outbound-hosts.test.ts
Shopping list, avoidance list, usage countersapps/api/src/db/companion-models.ts, apps/api/src/routes/companion.ts
Recalls are fetched by the operator and matched on our serverapps/api/scripts/sync-recalls.ts, apps/api/src/routes/recalls.ts, packages/core/src/recalls.ts
USDA import is an operator scriptapps/api/scripts/import-fdc.ts
Separate databasesapps/api/src/db/connections.ts
Full deletion cascadeapps/api/src/services/deletion.ts
Deletion on account removalapps/api/src/routes/webhooks.ts
Local wipe on sign-out and deleteapps/companion/src/app/(main)/settings/page.tsx
Export sections, formats, disclaimerapps/companion/src/app/(main)/settings/page.tsx, packages/core/src/export.ts
Check-in caps and other self-limitspackages/core/src/gates.ts
Request bodies and notes never loggedapps/api/src/middleware/request-logger.ts, apps/api/src/lib/logger.ts
Crash reports store nothingapps/api/src/routes/telemetry.ts
Auth, origin allowlist, boot safetyapps/api/src/middleware/auth.ts, apps/api/src/app.ts, apps/api/src/env.ts
No analytics or advertising SDKapps/companion/package.json, measured per dependency in docs/SDK-INVENTORY.md
Identity-provider telemetry disabledpackages/ui/src/components/app-auth.tsx, asserted by scripts/sdk-lint.mjs
Android backup and device transfer both offapps/companion/android/app/src/main/AndroidManifest.xml, res/xml/data_extraction_rules.xml
No TTL index anywhere in companion_db, and whyapps/api/src/db/companion-models.ts