ARFID Explorer, privacy notice
Version 2026-10-explorer-v2
Not yet effective. This document is an unreviewed draft.
This document was written by the engineering team from the source code in this repository. It does not assert compliance with COPPA, the GDPR, the CCPA/CPRA, or any other law or regulation, and it does not claim that the consent mechanism described below is adequate. 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-10-explorer-v2
1. Who this notice is for
ARFID Explorer is used by a parent or caregiver together with a child, roughly between the ages of four and eight. The account belongs to the grown-up. A grown-up signs in, records consent, and sets up a profile before the child sees anything, and the child never has an account, a sign-in, or a way to reach the grown-up's settings without going through a parent gate.
This notice is written for that grown-up.
2. What the app collects
The design intent throughout is to store the smallest thing that makes the feature work. What follows is the complete list, taken from apps/api/src/db/explorer-models.ts.
2.1 About the grown-up
| Data | Where it comes from | Where it is stored |
|---|---|---|
| Email address | Typed at sign-in | The identity provider only, never in our own database |
| An opaque account id | Issued by the identity provider | Used as the key for every row below |
| Consent record: a policy version string and a timestamp | The consent checkbox | explorer_db, on the parent's user record |
| A list of chosen food ids (the roster) | Parent's food picks | explorer_db |
| A tablet credential: a device id, an optional label and platform name, a one-way hash of the token itself, and when it was last used | Created when a grown-up sets up a tablet for the child | explorer_db. It is what lets an assigned tablet work without a sign-in, and a grown-up can revoke it |
2.2 About the child
| Data | Example | Notes |
|---|---|---|
| A nickname | Bean | Chosen by the family. Nothing checks or requires that it be a real name. |
| An avatar id | A reference to one of the app's own drawings | Not a photograph, not an upload |
| A coarse age band | 4-5 or 6-8 | Two buckets. Not a birthday, not an age in years |
| A creation timestamp | ||
| Mealtime preferences | Tags such as which seat or which plate, and an optional note in your own words | How the meal is set up, not what is eaten. Recorded and exported, never interpreted and never scored |
2.3 Activity
| Data | Detail |
|---|---|
| Food visit sessions | Which food, start and end time, which steps of the ladder were engaged with, the highest step reached, an optional reaction the child picks from three faces, an optional free-text note the grown-up may type, a point total, and a visit number |
| Stamps and badges | A type, an optional food, a label, and the time earned |
The free-text note is the one field where a grown-up could type anything at all. It is stored as typed and is included in exports. It is never written to server logs: the logging configuration redacts parentNote explicitly (apps/api/src/lib/logger.ts) and request bodies are never logged at all (apps/api/src/middleware/request-logger.ts).
2.4 Kept only on the device, never sent anywhere
Some of the most sensitive things a parent tells the app never leave the phone or computer. These live in browser local storage and are not synced to any server (apps/explorer/src/lib/settings.ts):
- how many foods the parent says their child comfortably eats right now;
- whether the parent has noticed changes in their child's growth or energy;
- whether a new fear appeared after choking, gagging, or vomiting;
- visit-cadence preference, sound preference, and reduced-motion preference.
Of those, the two change-and-fear toggles, not the accepted-foods count, shape a gentle on-screen suggestion to talk to the child's own clinician (redFlags in packages/core/src/ladder.ts). It reflects what the grown-up typed back at them and computes nothing from the child's sessions. They are a prompt, not a record, and no server ever receives them. The accepted-foods count is shown back to the parent as a plain description on the progress screen; it does not feed the suggestion.
"Never leave the device" now includes the platform's own backup. The Android build sets android:allowBackup="false" and excludes every storage domain from both cloud backup and device-to-device transfer, so the operating system does not copy this app's storage into the parent's Google account. That storage also holds the tablet's device credential, which is a key, not a preference. This is not yet true on iOS, where the app container is included in an iCloud or local backup by default; that gap is recorded in the SDK inventory and is still open.
2.5 What the app deliberately does not collect
This list is as much a part of the design as the one above.
- No full name, for the child or the grown-up beyond the sign-in email.
- No date of birth. Only one of two age bands.
- No photographs, no camera access, no uploads of any kind.
- No location, no GPS, no IP-derived location, no address.
- No weight, no height, no growth measurements, no body measurements.
- No calorie, portion-size, or nutrition-intake figures for the child.
- No contacts, no microphone, no advertising identifier.
- No advertising, no analytics, no tracking, no cross-site or cross-app measurement, and no profiling.
- No public profile, no social features, no way for one family to see another.
- No child-typed free text. The child's inputs are taps on pictures.
2.6 A record of consent, deletion, tablet and export events
Separately from everything above, the server keeps an append-only record of a small set of events, in its own collection, explorer_db.auditLog (apps/api/src/db/explorer-models.ts). A row is written when consent is recorded; when a grown-up withdraws it with the "that was not me" link in a confirmation email; when each confirmation email has been sent, or has been given up on; when the deletion of an account or of a child profile is requested, and again when it has finished; when the grown-up's sign-in account at the identity provider has been deleted as well; when a tablet credential is set up or turned off; and when an export is generated. The account events are recorded whichever app the grown-up used, and an export made from the Companion app is recorded here too, for the reason given in section 4.
What a row holds: the type of event; when it happened; which app made the call (Explorer, Companion, the desktop portal where grown-ups manage the family, or the identity provider's account-deletion notice, and "manual" for a row an operator adds by hand); which kind of credential made the call (a signed-in grown-up, or the identity provider's notice); for an export, whether it was a PDF or a CSV; for a consent, the policy version that was agreed to, the method ("email plus") and the identifiers of its two confirmation emails; for a confirmation email, which of the two it was and the identifier Resend returned; and, for a tablet credential that was turned off, when that credential was created (the row for setting a tablet up does not carry that date). It also holds up to four keyed hashes: one of the grown-up's account id (every row), one of the tablet id (the tablet rows), one of the child's profile id (the two child-deletion rows), and one of the grown-up's email address (the consent row).
A keyed hash is a one-way scramble made with a secret key. It cannot be turned back into an account id, a tablet id, an email address or a child's profile id, and nobody who does not hold the key can link a row to anyone. This is not anonymisation. We hold the key. If we still have an account id, for example because the grown-up writes to us, we can work the hash out again and find every row that belongs to that account. That is how we look a family up in the record, including to add the row for a deletion we carried out by hand. A row never holds a name, a nickname, an email address, an avatar, an age band, a food, a visit, a note, a token, or any free text.
Why it is kept: as security and compliance evidence, so that we can show afterwards that a consent was recorded and that a deletion was carried out, and when. A record that was erased together with the account could show neither.
How long, and who sees it: 1,830 days from the date of the event (five years, with a margin so that leap years never shorten it), after which it is deleted automatically (see section 5). It is not used for anything else: not for advertising, analytics, profiling, or anything about a child. It is disclosed only where that is needed to show that these events happened (for example to the family, a regulator or a court) or where the law requires it. It sits in the same database as the rest of the data (section 4), so the storage provider holds it for us like everything else.
This is the only long-lived record that outlives deleting the account. Deleting everything (section 6) does not remove it, and we do not remove it sooner than the 1,830 days. An operator may add a row by hand to record a deletion we carried out ourselves; such a row says that it was added by hand. The thirty-day deletion marker in section 5 also outlasts a deletion, but only for thirty days.
3. Who else sees this data
4 companies, all acting for us, and nobody else. The count and the rows below come from the same list the server is checked against, so this notice cannot quietly fall behind what the software talks to.
| Third party | What it gets | When |
|---|---|---|
| Clerk | The sign-in email address and sign-in activity. No child data, no health data, no note text. | Whenever the app's grown-up sign-in is loaded. |
| MongoDB Atlas | Everything the app stores, at rest. | Continuously, as the database. |
[API HOSTING PROVIDER] | Runs the server that every request passes through. | Continuously. |
| Resend | The parent's email address and the text of the consent confirmation, never anything about a child. | When a grown-up records consent, and once more a day later. |
Resend sends the two consent confirmation emails (section 7) and sees the grown-up's email address and the text of those emails. Nothing about a child is ever sent to Resend.
Clerk is used only to identify the grown-up. No child data, no session data, and no note text is ever sent to Clerk. The child's nickname, avatar, age band, visits, and stamps live in our own database, keyed by an opaque account id.
There is no other outbound connection. The kid-facing part of the app contains no third-party SDK of any kind: no analytics, no advertising, no crash-reporting service, no A/B testing, no social login, no embedded video, and no chat. The display font is downloaded and packaged at build time, not fetched from a font service at runtime, so opening the app does not contact a third party. The only third-party service the app's code contacts from a family's device is Clerk, and only while the grown-up sign-in is loaded. When that is depends on the device:
- on a tablet nobody has set up yet, it loads when the app opens, because that is where a grown-up signs in;
- on a tablet that has been set up for a child, which runs on its own device credential instead of a sign-in session, the child's screens contain none of Clerk's code, and nothing is fetched from Clerk or sent to it, until a grown-up passes the grown-up check to open the grown-up area. After that, Clerk's code stays loaded for the rest of that session, including if the grown-up taps "Kid mode", until the app is next reloaded or closed.
Clerk's own SDK collects usage telemetry by default and posts it to its telemetry endpoint. It is switched off here: the provider is mounted with telemetry disabled in packages/ui/src/components/app-auth.tsx, and scripts/sdk-lint.mjs stops the build if that setting is ever dropped.
Nothing is sold. Nothing is shared for advertising, for cross-context behavioural advertising, or for anyone else's own purposes.
3.1 Anonymous problem reports
If the app hits an unexpected error, it may send a report so the problem can be noticed and fixed. That report is handled with the same restraint as everything else (apps/api/src/routes/telemetry.ts):
- 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;
- no account id, no device id, no child data is attached.
4. Where the data lives, and how it is kept separate
Explorer's data is stored in its own database, explorer_db. The adult Companion app's data is stored in a separate database, companion_db (apps/api/src/db/connections.ts). The two do not share a collection, with one exception, and nothing in a child's profile, visits or stamps is copied into Companion's collections, or the other way round.
The exception is the record of events in section 2.6. It is kept in explorer_db, and it holds events from both apps under the same keyed hash of the account id: every export made from Companion (a PDF or a CSV), and the deletion of an account, whichever app the grown-up used. It is there because deleting an account erases the data in both databases in one action, and the proof that this happened is kept in one place that the erasure does not touch. A Companion row holds the same few fields as any other row (section 2.6): no food, meal, check-in or note, and nothing copied out of companion_db.
One more thing is shared, and it is worth saying plainly rather than overstating the separation. Both apps sign people in through the same identity provider, so a grown-up who uses both with the same email address is one person to that provider, and is keyed by the same opaque account id in each of the two databases. That id is what connects them, and the software uses it in two ways beyond the record above, both for the signed-in grown-up only and never for a tablet. The account summary that either app can ask for reads both databases, to say which of the two apps the account has used and to list the children and the tablets set up for them, so the Companion app can recognise an account that already uses Explorer and show its tablets. And deleting an account erases both. No other feature joins the two.
Within Explorer, every stored row is keyed to one grown-up's account id, and every query the server runs filters by it. A family can only ever see their own data.
5. How long it is kept
A family's own profile, visits, stamps, mealtime preferences and tablet list are kept for as long as the account is in use, and are removed when a grown-up deletes the account or after 24 months of no use. Nothing is deleted on a rolling timer while the account is active: a child's visits from last year are still there next year.
The 24-month rule. If no signed-in grown-up has used either ARFID app on the account, and no tablet set up from it has been used, for 24 months in a row, we delete the whole account in full: the same erasure as the delete control in section 6, covering both ARFID Explorer and ARFID Companion and the sign-in account at the identity provider. To apply this rule we keep one more thing, the date (to the day, not the time) of the last time the account was used, in the Explorer database next to the rest of the account. It holds nothing else, it is deleted with the account, and it is included in the complete copy in section 6. We do not send a warning before this happens: the only email we send is the consent confirmation in section 7, and a warning before deletion is not built. If that changes, this notice will say so. The record of the deletion is kept in the same way as for any other deletion (below).
Consent records. The consent record and the record of each confirmation email (section 7) are kept for as long as the account exists and are deleted with it. They do not expire on their own.
Three internal records do expire on their own. The first two hold nothing about a child. The third, the record of events in section 2.6, holds only one-way keyed hashes, and one of them comes from a child's profile id.
- A deduplication record, used to stop the same account event being processed twice. It holds an event id and an event type, and it is deleted after ninety days.
- A deletion marker. When a grown-up deletes the account, a row holding only that account id and the time of deletion is kept, so that a device which was offline during the deletion, or a session that was still open, cannot silently re-create what was erased when it reconnects. It also records whether the erase finished and whether the sign-in account at the identity provider is confirmed deleted. It is deleted automatically thirty days after that confirmation, which is normally within moments of the deletion; if the identity provider cannot be reached we keep trying, and the row stays until it can be. It holds no name, no child data and no logs.
- The record of events in section 2.6: consent, deletion, tablet and export events, with keyed hashes and no names. It is deleted automatically 1,830 days (five years, with a margin for leap years) after each event. It is kept when an account is deleted, so that it can still show that the consent was recorded and the deletion was carried out. A deletion made by the 24-month rule is recorded the same way and is marked as having been made by that rule, so it is never mistaken for one the family asked for.
Backups. Deleting an account removes it from the live database straight away. Copies of it that already sit in routine encrypted backups stay there until each backup reaches the end of its own retention period and is deleted; we do not alter a backup after it is made. [BACKUP RETENTION PERIOD, TO BE CONFIRMED WITH COUNSEL AND THE HOSTING PROVIDER] If a backup is ever restored, we delete again every account that was deleted after the backup was taken, using the record of events in section 2.6 and the deletion marker, before the restored service is used by anyone. A restore therefore does not bring a deleted family back.
6. What a grown-up can do
All of these are already built and available from the parent settings screen.
Download a complete copy of everything we hold. This is a right you have, not only a convenience. The "Download all my data" button in the Account section of the parent settings screen (and the same button in ARFID Companion's settings, and on the Export page of the desktop parent portal) saves one file with every record we hold about the account, across both apps: the family's profile and consent history, every child's profile and mealtime preferences, every visit and stamp, the tablet list (a tablet's name and dates, never its secret), everything logged in ARFID Companion, the date of last use, and the rows of the record of events in section 2.6 that belong to the account. It is a plain, dated JSON file you can keep or pass on. It needs a connection and a signed-in grown-up, and it is a different thing from the summaries below, which are written to be handed to a clinician.
Export everything. A PDF summary intended to be handed to a pediatrician, dietitian, or feeding therapist, or a CSV of the underlying visit rows. The export is generated on our own server and downloaded, or handed to the device's own share sheet on a phone. It carries the line "Self-reported wellness data, not a clinical assessment."
Delete everything, in one action. The delete control removes the child profile, every visit, every stamp, and the account record from our servers, deletes the grown-up's sign-in account at the identity provider (which holds the email address), and clears the local copy from the device at the same time (apps/api/src/services/deletion.ts). One record is not removed: the record of events described in section 2.6, which is kept, in keyed-hash form with no names, for five years. There is no undo, and the app says so before it does it. If the grown-up instead deletes their sign-in account at the identity provider, the same full erasure runs automatically.
The data is erased first, and the sign-in account is deleted last. If the identity provider cannot be reached at that moment, the data is still erased and we retry the sign-in account's deletion until it is confirmed. A deleted account cannot be reopened: signing up again with the same email address creates a new, empty account. You can also delete the account without opening an app, from the public deletion page of the desktop parent portal.
Deletion covers the live database. It does not by itself reach routine encrypted backups, which age out on their own schedule (see section 5, Backups).
Withdraw consent. Deleting the data withdraws consent, because the server will not store any new child data without a consent record. So does the "that was not me" link in a confirmation email (section 7), without deleting anything. A grown-up who wants the account to exist without any child data can delete and simply not set up a profile again.
7. Consent
Before any child data can be stored, a grown-up signs in with their own email address, then ticks a box confirming they are the child's parent or guardian and consent to the described data use. The version of this notice they agreed to is recorded together with the date, and both are shown back to them on the settings screen.
Email confirmation. The sign-in is only counted if the identity provider reports the grown-up's email address as verified. Each consent is then written to its own append-only record, explorer_db.consentRecords, with the method ("email plus"), the version, the date, which app it came from, a keyed hash of the email address, and the identifiers of two confirmation emails. The address itself is not stored in that record or anywhere in our database, and it is not written to any log. The two emails are sent through Resend (section 3): one straight away and one a day later. They say that consent was recorded, when, and for which version of this notice; they carry a link reading "that was not me", how to delete the account, and our privacy contact, badcodesgg@gmail.com. They never mention a child and no child data is ever given to Resend. Resend receives the address and the text of the email, and nothing else. Each email is looked up again when it is sent: the address is read again from the identity provider, and if it no longer matches the one that gave consent the email is not sent. The record of each email (when it is due, whether it was sent, the identifier Resend returns, and a one-way hash of its "that was not me" token) is kept in explorer_db.consentMails, and both collections are deleted with the account and included in the complete copy of the data (section 6). If an email cannot be sent, the consent still stands and the grown-up area says so in plain words.
"That was not me." The link in each email opens a public page on the parent portal. Pressing its button withdraws the consent: from then on the server stores no new child data for that account until a grown-up records consent again, the emails not yet sent are cancelled, and the withdrawal is added to the record of events in section 2.6. Nothing is deleted by the link; deleting the account is a separate step that needs a fresh email code. The child's screens say nothing about any of this; only the grown-up area does.
The server treats that record as the authority, not the app on the device: any attempt to store child data without a consent record on file is turned away (apps/api/src/routes/explorer.ts).
Every consent is kept, not only the latest one. The record on file is the most recent agreement, and a history of up to twenty earlier ones is stored alongside it, so changing the version does not erase the evidence that a family agreed to the one before. Each consent is also written to the record of events in section 2.6, which is kept for five years even if the account is deleted. When the version changes, the grown-up area shows a prompt asking for a fresh look at the notice. It is a prompt and not a barrier: the child keeps playing, and anything logged while offline still uploads, because a grown-up not having read a document is not the child's problem.
Open for counsel. Whether this mechanism is sufficient, and what the notice must say about it, is question 1 in the drafts' own README. This section describes the mechanism; it does not claim the mechanism is adequate.
8. Changes to this notice
Each version of this notice carries a version string. The one you are reading is 2026-10-explorer-v2. Every earlier version stays available at its own address, so anyone who agreed to one can still read it. When something material changes about what is collected, who it is shared with, or how long it is kept, the version string changes.
What changed in this version. It replaces 2026-07-explorer-v1, which is available at /legal/privacy-explorer/2026-07-explorer-v1. It adds section 2.6, which describes the record of consent, deletion, tablet and export events. That record starts with this version: nothing that happened before it was recorded. It also corrects three statements in the earlier version that this record contradicted: section 4 said the two apps' databases never share a collection and that nothing connects the two apps, section 5 said only two internal records expire and that neither holds anything about a child, and section 6 said deletion removes the account record from our servers. It also states the retention schedule: how long each kind of record is kept, the deletion of an account after 24 months of no use, what happens to backups, and the right to a complete copy and where to get it. It also says that every deletion deletes the sign-in account at the identity provider too, and that a deleted account cannot be started again. It also describes the consent record and the two confirmation emails sent through Resend, with the "that was not me" link (section 7); this was added while the version was still unpublished, so the version string did not change.
[NOTIFICATION METHOD AND ADVANCE NOTICE PERIOD FOR MATERIAL CHANGES, TO BE DECIDED WITH COUNSEL]
9. 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
| Statement | Source |
|---|---|
| Fields stored about child, grown-up, visits, stamps | apps/api/src/db/explorer-models.ts |
| Consent flow and the wording on screen | apps/explorer/src/app/onboarding/page.tsx |
| Device-only settings, kept in browser storage | apps/explorer/src/lib/settings.ts |
Policy version. The app re-exports it, the server reports it from /v1/explorer/me, and the server is the authority | packages/core/src/legal.ts, EXPLORER_POLICY_VERSION |
| Consent record, and the history of every version ever agreed to | apps/api/src/db/explorer-models.ts, apps/api/src/routes/explorer.ts |
| Email-plus consent record, the two confirmation emails and the "that was not me" link | apps/api/src/services/consent-mail.ts, consent-mail-copy.ts, apps/api/src/routes/explorer.ts, consentRecords, consentMails |
| Tablet credentials, hashed at rest and revocable | apps/api/src/db/explorer-models.ts, deviceCredentials |
| Who receives data, and the check that the server contacts nobody else | packages/core/src/recipients.ts, apps/api/src/test/outbound-hosts.test.ts |
| Server will not accept child data without consent | apps/api/src/routes/explorer.ts, requireConsent |
| Separate databases | apps/api/src/db/connections.ts |
| The account summary and account deletion read and erase both databases for one signed-in grown-up | apps/api/src/routes/me.ts, apps/api/src/services/deletion.ts |
| Companion exports and account events are written to the same record | apps/api/src/routes/companion.ts, apps/api/src/services/deletion.ts |
| Full deletion cascade | apps/api/src/services/deletion.ts |
| Deletion on account removal | apps/api/src/routes/webhooks.ts |
| Every deletion also deletes the sign-in account at the identity provider, last, and retries until it is confirmed | apps/api/src/services/identity.ts, apps/api/src/services/deletion.ts, apps/api/src/test/deletion-identity.test.ts |
| Request bodies and notes never logged | apps/api/src/middleware/request-logger.ts, apps/api/src/lib/logger.ts |
| Crash reports store nothing | apps/api/src/routes/telemetry.ts |
| Export contents and disclaimer | apps/api/src/exports/explorer-pdf.tsx, packages/core/src/export.ts |
| Font packaged at build time | apps/explorer/src/app/layout.tsx |
| No third-party SDKs beyond the identity provider | apps/explorer/package.json, measured per dependency in docs/SDK-INVENTORY.md |
| Identity-provider telemetry disabled | packages/ui/src/components/app-auth.tsx, asserted by scripts/sdk-lint.mjs |
| Android backup and device transfer both off | apps/explorer/android/app/src/main/AndroidManifest.xml, res/xml/data_extraction_rules.xml |
| Only the configured API is contacted, from cold boot through onboarding | e2e/tests/explorer.spec.ts |
| The complete copy: what it carries and what it leaves out | apps/api/src/services/data-export.ts, apps/api/src/routes/me.ts, apps/api/src/test/data-export.test.ts |
| The 24-month rule and the date of last use | apps/api/src/services/inactivity-sweep.ts, apps/api/src/services/tenant-activity.ts, docs/RETENTION.md |
| A restore deletes again the accounts deleted since the backup | apps/api/src/services/restore-replay.ts, docs/RUNBOOK.md |
| Ninety-day expiry on dedup rows, thirty-day expiry on the deletion marker | apps/api/src/db/explorer-models.ts, both TTL indexes |
| Record of consent, deletion, tablet and export events: what a row holds, keyed hashes only | apps/api/src/services/audit.ts, apps/api/src/db/explorer-models.ts, auditLog, docs/COPPA-DATA-INVENTORY.md |
| Expiry of that record after 1,830 days, and that account deletion does not remove it | apps/api/src/db/explorer-models.ts, AUDIT_RETENTION_SECONDS; apps/api/src/test/me.test.ts |