Data inventory

What NuNode stores, and where it goes

The detailed list behind our privacy policy: every piece of data NuNode holds, where it is stored and every service it is sent to, written from the app’s own code. How long our service providers keep copies, and your rights, are in the policy.

Checked against the code on 2026-11-11.

The account

An account is an email address and a password, and nothing else is asked for. Both are held by Supabase Auth in its own schema, not in the application tables.

Email address and password
The only sign-up either app offers is email and password, through Supabase Auth. No social sign-in, no phone number, no name and no profile fields.
Password storage
No table in this schema has a password column — no migration mentions one. The password is sent to Supabase Auth to sign in and is held, hashed, in the `auth` schema Supabase owns; the application never stores it.
Sign-in session
A session token is kept on the device that signed in: browser cookies on the web, AsyncStorage on the phone, the app’s own local key-value storage (not the iOS Keychain).
Sign-in records held by Supabase Auth
Supabase Auth keeps a row per active session, with the IP address and browser that opened it, and a sign-in log whose rows carry an IP address column and name the account’s email. The application writes neither. Verified against the running database’s `auth` schema.
Row isolation
Application tables carrying learner data use owner-only row-level security. Private review replay receipts have no client table grants and are accessed through an authenticated owner-checking function. Neither app uses a service-role client. AI budget settings are readable by no account at all.

What is stored in the database

Fourteen tables, all in one Postgres database hosted by Supabase. Each is listed with what a learner actually puts in it, or what the app derives on their behalf; two hold no learner data (the starter topics and the AI budget).

Topics — `topics`
The title and the goal the learner typed for each subject they are learning, and, for a topic started from a starter, which starter it was copied from (one copy per account per starter).
Concepts — `nodes`
One row per concept: title, one-liner, order, and the AI-written lesson (summary, key points, why it matters, the recall and apply prompts, the grading criteria and the probe questions), plus the path, voice and sentence timings of its narration.
Concept links — `edges`
Which concept is a prerequisite of, or related to, which other concept.
Source material — `sources`
Material the learner attached to a topic: pasted text, or the readable text of a URL they gave, with its title and the URL. Up to 60,000 characters per source. Before a source is saved, its title and first 40,000 characters are sent to OpenAI’s moderation check (see What is sent to OpenAI), so this text reaches OpenAI when it is added, not only when a lesson is later written from it.
Written attempts — `attempts`
What the learner wrote from memory, the prompt they answered, the score, the AI’s written evaluation of it, and whether their notes were open.
Review schedule — `review_states`
When each concept is next due, which rung of the interval ladder it has reached, any snooze, and whether it has been retired from review because its sub-topic took over.
Review history — `reviews`
One append-only row per review taken: the outcome the learner chose, the ladder move it caused, which key points they marked as missed (by position, on “Need more practice” only), and whether it was an end-of-session second try. No text.
Learning days — `activity_events`
One append-only row when a concept is first met (heard or read) and one each time a topic overview is reviewed, with the time it reached the server. It feeds the year chart on Review and Home. No text; deleted with the concept, overview or account.
Review replay receipts — `review_requests`
A private request ID, normalized review choice and committed scheduling result prevent a retried answer from being counted twice. Receipts belong to the account and concept and are deleted when either is deleted. They contain no typed answers.
Generated artifacts — `node_materials`
One row per generated diagram or illustration: the artifact itself (a diagram’s steps, or an illustration’s Storage path, caption, alt text and size) and which model produced it.
Overviews — `overviews`
One row per topic or concept overview the learner asked for: the short script and what shows on screen with each line, the Storage path of its narration, the voice, and which model wrote it. Deleted with the topic or concept.
Share links — `overview_shares`
No row until the learner shares an overview; then one row holding 16 random bytes, the unguessable part of its public link `nunode.ai/o/{token}`, and a snapshot of what the link shows, made by the server when it was shared. Only the server writes it, after screening the snapshot with OpenAI’s moderation; if moderation is unavailable nothing is shared. Anyone with the link can read, through `shared_overview()`, exactly four things: the script and what shows with each line, the topic title, the concept titles the script puts on screen (the others are stored blank) and whether it is a topic or concept overview. The script is written from the learner’s goal and sources and may quote or paraphrase them, and a topic overview made from a goal may carry examples from the role and industry saved in their Settings, so that content is public with the link; the account, the email, the topic’s other fields and the audio path are never returned. Stop sharing deletes the row, and the link stops opening at once. “Explain more simply” replaces a topic overview’s script and narration, which deletes the row and its audio copy the same way, so the old link stops opening and the learner can share the new version.
Narration voice, starting level and AI-notice acknowledgement — `user_settings`
One row per learner, holding the chosen text-to-speech voice; only if the learner gives them, where they are starting (new, working knowledge, or expert in a neighbouring field) and one line of up to 200 characters about what they do today; and the time they first tapped Continue on the notice that names OpenAI, which is shown before mapping a topic sends anything; it is recorded once and never moved.
AI usage ledger — `ai_calls`
One row per AI call or fetched link: which account, which kind of call, which model (`url-fetch` for a link), the input and output token counts, and when. It is the counter behind the hourly and daily caps and holds no prompt, no response text and no URL. Rows outlive a deleted account with the account removed from them, so what was spent still counts toward the deployment’s daily budget; an anonymised row is visible to no account.
Starter topics — `catalog_topics`
One row per starter topic: its title, goal, concepts, lessons, narration paths and sentence timings, written and narrated by NuNode in advance. No learner data. Shared and read-only: every signed-in account can read it, no account can write it, and only NuNode’s publish script (run by the operator with the service-role key, never by either app) writes it. Starting a starter copies it into the learner’s own `topics`, `nodes` and `edges` rows as that learner, so the copy and its progress are owner-only like any other topic.
AI budget settings — `ai_budget`
One row and no personal data: how many AI calls one account may reserve in an hour, how much AI one account may use in a day, and the deployment’s daily AI budget across all accounts. No account can read or change it.

What is stored as files

Three Storage buckets, all private: nothing in any of them is publicly addressable. Clients are handed a URL signed for one hour at the moment they need it. One folder of shared starter narration is readable by every signed-in account. The third, `overview-shares`, holds only the narration of overviews a learner chose to share, and only the server reads or writes it.

Narration audio — `node-audio`
One mp3 per concept, at `{account id}/{concept id}.{voice}.mp3` (older lessons: `{concept id}.mp3`); a lesson re-narrated in another voice gets a new file, and the old one stays until the account is deleted. Private bucket, audio/mpeg only, 20 MB per object, readable only by the account whose id is the first path segment, and writable only at that name for a concept the account owns.
Starter narration — `node-audio/catalog/`
The narration of the starter topics, at `catalog/{publish id}/…mp3`. Shared and read-only: every signed-in account may read it, so a starter plays at once without a copy per learner; no account can write or delete there, because writes still require the account’s own id as the first folder. Only NuNode’s publish script writes or prunes it. It holds no learner data, and nothing is copied when a learner starts a starter.
Illustrations — `node-images`
One PNG per concept section, at `{account id}/{concept id}/{section}/{random}.png`. Private bucket, image/png only, 10 MB per object, same owner-only policy.
Shared overview narration — `overview-shares`
A copy of a shared overview’s narration at `{share token}.mp3`, made by the server when the learner shares it. Private: no account can list, read or write the bucket. The page `nunode.ai/o/{token}` plays it through a URL the server signs for 30 minutes on each visit, so anyone with the link can listen without an account while the share stands. The copy is deleted when the learner stops sharing, uses “Explain more simply”, deletes the topic or deletes the account.
How files reach a device
By a URL signed for one hour, issued per request (30 minutes for a shared overview’s page). There is no public URL for any bucket.

What is sent to OpenAI

OpenAI is the only AI provider, reached through the Vercel AI SDK. Every call is made by the server; no client ever holds the API key. Each call below lists exactly what travels with it.

Screening input before it is used (moderation)
Before anything is stored, graded or generated, the server sends the learner’s own text to OpenAI’s moderation endpoint (omni-moderation-latest, at the same `OPENAI_BASE_URL` as every other call): a topic’s goal, pasted material, the title and text of a source they paste or link (the first 40,000 characters, in 4,000-character pieces), Ask questions, written recall, explain and apply answers, and the focus text of a practice drill. Their saved one-line background goes in the same request whenever it would travel with a topic map or Go deeper request, and alone, in a request of its own, before it travels with a lesson or a topic overview (the verdict is reused for up to ten minutes, keyed by a hash of the text, never the text); if it is refused there, the lesson or overview is made without it. Only a short list of categories refuses input, with 422 `CONTENT_REFUSED` (or `BACKGROUND_REFUSED` when the saved background alone is the problem), before any usage allowance is spent. Best effort: a moderation outage, HTTP error, malformed reply, missing key or timeout (3 seconds, plus half a second per extra input, at most 8) lets the request through and logs `[moderation-off]` with a status and reason. Logs record the refused category names, a status and a reason, never the learner’s text. The call is not metered, so it leaves no usage record.
A hashed account identifier
Every text request (maps, lessons, grading, answers, diagrams) carries `safety_identifier`, and every image request carries the same value as `user`, so OpenAI can act on one account’s misuse instead of suspending the whole service. The value is the SHA-256 hash of the account’s id, in hex: not the raw id, not the email address, and not reversible to either. It is the same for every request from one account. Narration, transcript timing and moderation requests send no identifier; scripts and evals that run without an account send none either.
Mapping a topic
The goal the learner typed and, when they pasted material, up to 40,000 characters of it — sent to get a list of concepts back. Going deeper into a concept sends the parent topic’s title and goal (and the overall goal, when deeper than one level), the concept, its sibling concepts and up to 40,000 characters of the material attached to the topic and the topics above it.
Starting level and background
When the learner has set a starting level, it and their one-line background (if any) travel with a topic map made from a goal and with every Go deeper request, so the concepts are pitched to where they start. A map made from pasted material never sends them. The background, their role and industry, also travels on its own (no level needed) with every lesson and topic overview of a topic made from a goal, so analogies can come from their work; pasted-material and starter topics never send it.
Writing a lesson
The topic title and goal, the concept title and one-liner, the neighbouring concepts, and up to 40,000 characters of the sources attached to that topic (and, for a sub-topic, to the topics above it) — sent to get the written lesson back. For a topic the learner made from a goal (not pasted material, not a starter), their saved role and industry goes too, so an analogy or example can come from their work.
Grading an attempt
The concept’s summary and key points, the prompt, the grading criteria, and the learner’s own written answer — sent to get a score and written feedback back.
Answering a question
The concept title and one-liner, the learner’s question, the concept summary in knowledge mode, and up to 40,000 characters of their sources in evidence mode. Neither the question nor the answer is stored.
Narrating a lesson (text to speech)
The lesson text — why it matters, the summary, the key points, the recall prompt with its closing cue and, on some lessons, one or two warm-up questions — sent to get an mp3 back.
Timing the transcript (speech to text)
The mp3 that was just generated is sent back to get sentence timings for follow-along highlighting. No learner-recorded audio exists anywhere in the product.
Drawing a diagram
The concept’s title, one-liner, summary and key points — sent to get the diagram’s steps back.
Writing an overview
For a topic: its title, goal, concept titles and one-liners and their order. For a concept: the topic’s title and goal, the concept’s title, one-liner, summary and key points, and its neighbouring concepts. Either way, up to 40,000 characters of the material attached to the topic and the topics above it. For a topic overview of a topic the learner made from a goal (not pasted material, not a starter, not a concept overview), their saved role and industry goes too, so an analogy can come from their work. “Explain more simply” sends the same, plus the spoken lines and keyword of the current script. The script that comes back is then narrated like a lesson.
Drawing an illustration
The concept title, the first 700 characters of its summary and up to four key points of 140 characters each — sent to get a PNG back.
Which models
gpt-5-mini (topic maps, lessons, grading, answers, overviews), gpt-5-nano (diagrams), gpt-4o-mini-tts (narration), whisper-1 (transcript timings) and gpt-image-2.5-flare (illustrations). They are fixed in the code; changing one is a code change, not a deployment setting.
Where the calls are made from
Server-side only. The AI module is marked server-only and the API key is read by the provider on the server; it is never shipped to a browser or a phone.

URLs the server fetches

The server fetches a web page only when a learner adds that URL as source material. Nothing is crawled, discovered or prefetched.

Fetching on instruction
One fetch per URL the learner submits to "add source", and only then. The resulting text is stored as their source row.
What the fetch sends
A plain GET with the user agent `NuNode/0.1`. No cookies, no learner identifier and no referrer are attached, so the site being read is not told who asked.
What the fetch refuses
http and https only; every hostname and every redirect hop must resolve to a public address; text/html or text/plain only; 10 seconds, 2 MB and 3 redirects at most.

Analytics, tracking and crash reporting

There is none. This is the one line in the inventory worth stating as a negative result.

No analytics or tracking SDK
All four package manifests were searched for analytics, attribution, session-replay and crash-reporting SDKs — PostHog, Mixpanel, Amplitude, Segment, Google Analytics, Firebase, Sentry, Bugsnag, Datadog, LogRocket, FullStory, Hotjar, AppsFlyer, Adjust, Branch, Crashlytics, Vercel Analytics and others. None is present in any of them.
No advertising or attribution identifier
No advertising-identifier, attribution or install-referrer SDK appears in any manifest, and no code reads such an identifier. There is no tracking consent prompt because there is nothing to consent to.
Every outside party any code reaches
Supabase (database, authentication and file storage) and OpenAI (the AI calls listed above), plus NuNode’s own server, which runs on Vercel. The one other contact is the fetch of a web page a learner adds as a source, made only on their instruction and set out under URLs the server fetches.
Where the server runs
The web app and every `/api/*` route the phone calls are deployed to Vercel, so every request from either app passes through Vercel. The server’s own log lines carry an error’s name, message, code, status and stack trace, never the request body or the rows it touched.

What stays on the device

Listed for completeness, and none of it reaches a third party: it is the same data as above, cached on the device so a lesson plays without a network, plus the credential used to talk to Supabase.

The session, on both platforms
Browser cookies on the web; AsyncStorage on the phone, the app’s own local key-value storage (not the iOS Keychain).
Unsubmitted drafts in the browser
Topic goals, pasted text, and unfinished study answers are stored in localStorage under account-scoped keys. Reads reject entries older than seven days; housekeeping prunes expired and excess drafts. Successful submission and explicit discard remove the applicable draft; explicit sign-out and successful account deletion in this browser remove every draft of that account. Another tab open at the time keeps running and can write a draft again until it is reloaded or closed. NuNode does not encrypt browser drafts.
Unsubmitted study and topic drafts on the phone
AsyncStorage keeps account-scoped topic goals and pasted material, and concept- and attempt-kind-scoped answer drafts, for up to seven days. The topic and answer ledgers each retain at most thirty records. Writes coalesce pending edits. Successful submission or discard clears the applicable draft; explicit sign-out and account deletion clear every draft of that account. A session that ends on its own (expired or revoked) leaves them for the next sign-in. They are not encrypted by NuNode.
Unreported web learning encounters
Concept ids and timestamps are stored in account-scoped browser localStorage until delivery succeeds or the server reports that the concept is gone or unprepared. Pending entries expire after seven days and are capped at 500 per account. Retries check the active account, use its bearer token, and back off after transient failures. No lesson text or answers are stored in this queue. Explicit sign-out and account deletion clear it.
An unfinished daily review session
Web localStorage (sessionStorage in browsers without Web Locks) and phone AsyncStorage keep an account-scoped review journal for up to 24 hours. Web Locks prevent concurrent browser tabs owning the same journal; fallback recovery is confined to the current tab. It contains the frozen concept queue, including each concept’s title, summary and key points, the learner’s place, tapped missed-point indexes and outcomes, and at most one pending request id and body so an interrupted request can be retried without recording it twice. It never submits itself after restoration. Completion, explicit sign-out, or successful account deletion clears it; on the web that is localStorage and the current tab’s sessionStorage, and another open tab can write its copy again until it is reloaded or closed. Deletion also stops the account’s journal saving again in that tab or app run; on the phone only once the identity delete has succeeded, so a failed delete leaves recovery working. Malformed, oversized, expired, or wrong-account records are rejected.
Narration saved on the phone
Lesson audio is written under the app’s own documents directory, in a folder named after the account, so lessons play offline.
Lesson text kept on the phone
The last copy of a screen’s lesson content — the topic list, a topic’s concepts and links, a concept’s text and transcript — is written into the same per-account folder as the narration, so a lesson already opened still opens with no connection. Never attempts, answers or anything the learner wrote. Kept on sign-out, like the narration; removed by clearing lessons in Settings and by deleting the account.
Lessons finished but not yet reported
The ids of concepts whose lesson audio finished are queued in AsyncStorage under a key named after the account, until the server has been told (which enters them into review). Ids only, no content; each is removed once the server accepts it or answers that the concept is gone or not yet prepared, and a queue is only ever sent while its own account is signed in. Explicit sign-out and deleting the account clear the queue.
Review reminders on the phone
Five things, none of which leaves the phone. The opt-in, `nunode.reminder.<account id>` = `1` in AsyncStorage, set from the reminder offer or Settings and removed by turning reminders off. The reminder hour, `nunode.reminder.hour.<account id>` = the hour picked in Settings (`6`–`21`, 9 when unset), kept when reminders are turned off. The times booked, `nunode.reminder.booked.<account id>` = a list of times, so at most one reminder fires a day; rewritten on every booking and removed by turning reminders off. The once-only offers after the first quick check and the first finished lesson, `nunode.reminder-ask.after-check.<account id>` and `nunode.reminder-ask.after-first-lesson.<account id>` = `1`, so neither is asked twice. Up to three scheduled local notifications (fixed ids `nunode.review-reminder.0`–`.2`), booked by the operating system on this device rather than pushed from a server: the text is a fixed title and a count with minutes ("3 concepts ready · about 3 min"), never a concept name, and the payload carries `{ kind, userId }` so a tap opens the right account’s review. Sign-out cancels the pending notifications and dismisses delivered ones, and keeps the opt-in and the hour for the same learner’s return. Account deletion removes all of it: the notifications, the opt-in, the hour, the booked times and the once-offer keys.
Voice samples on the phone
The fixed voice-preview clip is cached in the app’s cache directory, which the OS may clear at will.

What removes data, and when

The two things the code can settle about how long anything lasts. How long a copy survives inside Supabase’s or OpenAI’s own systems afterwards is not one of them, and is not claimed here.

Nothing is removed on a timer
No migration schedules a job — there is no `pg_cron` schedule in any of them — and no table carries an expiry, archive or soft-delete column, so no row and no file is ever aged out. The repository’s build and database workflows run on pull requests and pushes to `main`; the one scheduled workflow is a read-only production health check every six hours, which removes nothing.
The removals a learner can perform
Four: deleting the account; deleting one topic, which cascades to its concepts and removes its files; removing (or redrawing) one illustration, which deletes that picture’s row and its file; and stopping sharing an overview, which deletes its share row and its narration copy, so its link stops opening. The only route handlers that export a DELETE are the topic and the share link, and neither app has a control that removes a single concept, attempt or source. The database would allow it — `authenticated` holds delete on every application table except the AI usage ledger and the AI budget settings — which makes that a thing not built rather than a thing forbidden.

What deleting an account removes — and what it does not

Both apps offer a Delete account action in Settings. This section says exactly how far it reaches, because a claim that it removes everything would be false.

The identity and every row that hangs off it
`delete_own_account()` takes no argument and deletes only the caller’s own `auth.users` row. Eighteen foreign keys point at that row. Seventeen cascade: nine application tables, and Supabase Auth’s own identities, sessions, MFA factors, one-time tokens, OAuth records and WebAuthn records. The eighteenth, the AI usage ledger, keeps its rows and clears the account from them (verified against the database, not assumed). It refuses unless the request carries a password sign-in from the last ten minutes, so a session token alone cannot delete an account.
Narration and illustrations
`storage.objects` has no foreign key into `auth.users`, so nothing there cascades. Both buckets are therefore swept by the app before the identity is deleted — while the learner still holds the credential that owns those objects — paging the listing so a large library is not half-missed.
Objects a failed sweep leaves behind
A Storage failure is logged and never allowed to stop the account being deleted, so an unreferenced audio or image object can survive its owner. No learner can reach it — the policy that granted access matched only the deleted account — and it is not reported as deleted either.
The authentication audit log is NOT removed
Supabase Auth writes `auth.audit_log_entries` for events such as sign-in and sign-out, and each row’s payload names the account’s email address. That table has no foreign key into `auth.users`, so deleting the account does not remove these rows. Verified by inspecting the running database: zero foreign keys on the table, and an actor name present in every row.
Back to the privacy policyBack to your topics