Identity, roles and organisations
activeOrganisation, practitioner, client, household and caregiver permissions.
Platform blueprint
Domain modules
Organisation, practitioner, client, household and caregiver permissions.
Templates, assignments, responses, consent, baseline and check-in forms.
Practitioner calendars, appointment types, availability and client-linked bookings.
Structured recipe records with traceable source assets, photos and videos.
Weekly plans, household assignment, portion scaling, pantry flags and shopping lists.
Person-specific logging with creator attribution for caregiver workflows.
Report uploads, source typing, attachments, doctor commentary and practitioner notes.
Reviewed extraction, status flags, provider extensibility and tolerance result mapping.
Session prep, report summary drafts, review states and source separation.
Phase-based protocols, fasting sessions, adherence and trend dashboards.
Reserved module boundary for memberships, invoices, digital products and licensing.
Supabase implementation
The initial migration in supabase/migrations defines stable top-level tables for identity, households, forms, calendar, recipes, meal planning, logs, reports, biomarkers, food reactivity, protocols, fasting, AI review and audit records. RLS policies can now be layered on top of those organisation-scoped relationships.
Active routes