B2C go-live map
What stands between the current web app and a public consumer launch — code blockers, legal gaps, and owner-only tasks, each with status and source. Voice and Knotencheck are out of scope.
Status date: 2026-11-19. Built from a read of the code at main (0978fdb), the docs site, and the GitHub tracker. Voice and the breast self-exam (Knotencheck) are excluded.
How to read this: "Verified" means read in the repository. The live Supabase database, Vercel environment, and Stripe account were not inspected; anything depending on them is marked unverified live.
Context: no commit landed on main between 2026-05-30 and this page; no open issue was updated after 2026-04-25. Older status notes in launch audit and plan predate that gap.
Launch switch
| Item | State | Source |
|---|---|---|
Homepage is behind a client-side password screen. The word is a constant in the JS bundle, so it hides the page but protects nothing. Only / is gated; all other routes are reachable. | Open — removing it is the launch | apps/web/components/login-gate.tsx:9, apps/web/app/page.tsx:20 |
A. Code
Fixed on 2026-11-19
See changelog.
| # | Was | Now |
|---|---|---|
| A2 | Any signed-in user could set their own is_admin, subscription_tier, feature_flags (apps/web/scripts/001_create_profiles.sql:19-20) | Migration supabase/migrations/20261119_profiles_rls_hardening.sql pins those columns for API roles. Applied live 2026-11-21, verified as a signed-in non-admin user (see changelog). |
| A3 | Account deletion removed only the profiles row; login, Stripe subscription and files stayed | DELETE /api/account cancels the subscription, deletes S3 / Storage files, deletes the auth user |
| A4 | Export read a chats table that no DDL creates; covered profile only | GET /api/account/export covers profile, subscription, chat, timeline, document metadata, community, inbox, Breastfriend; unreadable tables are listed under incomplete |
| A5 | Klinik-Finder, Studien, Zeitstrahl were gated in the UI only | Routes call checkFeatureAccess / requireFeature (apps/web/lib/subscription/server.ts). Timeline DELETE stays open so data can always be removed. |
| A6 | Forum insert policies allowed writing under another author_id | Same migration as A2 (applied live 2026-11-21, verified) |
| A7a | Billing portal existed but was never linked; signed-in Free users could not upgrade from /preise | /profil opens the portal for paying users; /preise starts checkout (Free) or the portal (paying) |
| A8 | Vercel Cron sends GET; /api/chat/cleanup exported only POST and used the cookie client, which RLS would have left empty-handed | Route answers GET and POST, uses the service-role client |
| A9 | /api/emails/send let anyone send a "registration" mail with a caller-chosen link to any address | Link is fixed, names are sanitised, signed-in non-admins can only mail themselves. Sending the fixed welcome mail to an arbitrary address is still possible (rate-limited per IP) because signup has no session yet. |
| A10 | Stripe redirect URLs could fall back to the Origin header | getSiteUrl() in apps/web/lib/stripe.ts — configuration only |
| A6b | Free-tier post limit (2/week) checked in the browser only; counter incremented by a separate client call | Migration 20261119_post_limit_webhook_events.sql: forum insert policy calls can_community_post(), an AFTER INSERT trigger counts. Client increment removed. Applied live 2026-11-21. Client writes to the counter and cross-user increment_post_count() calls closed by 20261121_post_count_client_lockdown.sql. |
| A7b | Webhook applied redelivered events twice, ignored invoice.payment_failed; trial users counted as Free | stripe_webhook_events table for idempotency (same migration), invoice.payment_failed marks the row past_due; get_user_tier(), getUserTier and can-post count trialing. Tests in app/api/stripe/webhook/route.test.ts. |
| A12a | /wbc placeholder and login-only routes in the sitemap; prototypes indexable; /og-home.png referenced but missing | Sitemap lists public, finished pages only; noindex layouts on /wbc, /chat_nacht, /profil_nacht; og-home.png rendered (1200×630) from public/og-all-variants.html "Homepage" variant |
| A13a | .env.example missing ~11 variables the code reads, listing an unused one; no start-up check | .env.example completed; instrumentation.ts logs each missing variable at server start. It no longer refuses to start: the fatal variant took production down on 2026-11-21 (see changelog). |
| A14 | CI ran nothing (pnpm --filter apps/web matched no package; every run printed "No projects matched the filters" and passed green); no lint step | Filter fixed to fragjulia-web; lint step added after the 17 pre-existing no-explicit-any errors and one react-hooks/refs error were fixed. Job is red on A15 only. |
| A6c | increment_document_llm_call(p_user_id, p_day) could be called by anyone, signed in or not, for any user id, raising that user's daily document counter to the limit | Migration 20261121_document_llm_counter_lockdown.sql: API callers can only count for themselves. Applied live 2026-11-21, verified as a signed-in non-admin user and as anon (changelog). |
| A17 | A returning signed-in user's page never finished loading the session: the auth handler awaited a database query from inside the auth callback, which blocks the Supabase client while it restores a stored session. Header showed "Anmelden", no client query ran. Reproduced in a production build with a stubbed backend; not observed on the live site (no test login). | apps/web/lib/auth-context.tsx: the callback no longer awaits client calls; regression test lib/auth-context.test.tsx (changelog). |
| B-Impressum (partial) | "§ 5 TMG"; link to the EU ODR platform (shut down 20 July 2025); privacy link to a redirected in-app route | "§ 5 DDG"; ODR paragraph replaced by the § 36 VSBG statement; link points at the docs-site policy. Operator name and legal form untouched. |
Open
| # | Item | Source |
|---|---|---|
| A2b | profiles_select_public_pseudonym is using (true): every profile column of every user is readable with the public key. Narrowing it needs the profiles (pseudonym, …) embeds in community and inbox code moved to a pseudonym-only view. | apps/web/scripts/001_create_profiles.sql:26-27 |
| A11 | Tables used in code with no DDL in the repo: cms_pages, cms_sections, cms_faq_items, cms_articles, cms_article_sections, cms_glossary_cards, newsletter_subscribers, documents; profile columns share_code, sharing_enabled, share_password_hash, chat_history_enabled, analytics_enabled. Schema is split between supabase/migrations/ and unordered scripts in apps/web/scripts/. Unverified live. | repo-wide search |
| A12b | Rezepte: 27 editorial recipes (was 7 mock entries), safety notes aligned with the Rezepte-Sicherheit page; review by a nutrition professional recommended before launch. Yoga Meets: mock data and fake submit replaced by yoga_meets tables + API (/api/yoga/*); call links are only readable by host and joined participants; joins are capacity-checked in the database. Migration applied live 2026-11-21; no moderation UI for yoga_meet_reports yet. | apps/web/lib/recipes/data.ts, supabase/migrations/20261119_yoga_meets.sql |
| A13b | No error monitoring (Sentry or equivalent). Rate limiting fails closed: without KV_*, chat returns 429 (apps/web/lib/rate-limit.ts:88-95) — now a start-up warning, still no fallback. | as cited |
| A14b | CI still runs no next build; no tests for auth. | .github/workflows/web-tests.yml |
| A15 | studies.test.ts is red: curated study data was last verified 2026-04-03, limit is 90 days. The test is correct; the data needs medical re-verification, not a date bump. Data, date and thresholds now live in one place, apps/web/lib/studies/data.ts (STUDIES_LAST_VERIFIED); the route, the health endpoint and the test import it. Clinic data (20260402_monetization_schema.sql:275) is equally unverified. | apps/web/lib/studies/data.ts, apps/web/app/api/studies/studies.test.ts |
| A16 | Open PR #712: study matcher ranked a neoadjuvant early-stage trial first for a stage IV profile. Never built or tested by its author. | GitHub |
B. Legal and compliance
| Item | Source |
|---|---|
| Privacy policy lists Supabase, Vercel, Upstash. The code also sends data to OpenAI, Stripe, Resend and AWS. It states EU-only storage while chat text goes to OpenAI in the US. | help/datenschutz.mdx:74, dev/architecture.mdx:170, apps/web/app/api/chat/route.ts:75; #358 (1 of 10 done) |
| Signup asks for three explicit confirmations (terms+privacy, Art. 9 health data, age ≥ 16). Reworked 2026-11-21 after the review in #715: the database validates the full set against registered versions, sets the time itself, rejects invalid signups, and locks accounts without valid consents (no new or changed content; read, export and deletion stay). A gate in the app collects missing consents and re-consent after a version change. The mobile app asks the same three questions (not run on a device). Applied live 2026-11-21; the four existing accounts are locked until their owners confirm. Wording not legally reviewed; no DPIA. See consent records. | apps/web/lib/consent.ts, supabase/migrations/20261121_user_consents.sql; #390, #409, #442, #715 |
| Terms of use (as of January 2026) contain no withdrawal notice and no subscription or payment terms. | apps/web/app/nutzungsbedingungen |
| Impressum: legal references corrected 2026-11-19 (section A). Legal form undecided; the stated operator still differs from the privacy policy. | apps/web/app/impressum, design/trust.mdx:6-16; #393 |
| Operator is named differently in the Impressum draft and in the privacy policy. | design/trust.mdx:10, help/datenschutz.mdx:18 |
| Footer link "Datenschutz" opens the privacy settings page, not the policy. | apps/web/app/datenschutz/page.tsx |
| Cookie banner stores a choice that nothing reads. | apps/web/components/cookie-banner.tsx; #88 |
| One-click unsubscribe is broken. | #556 |
C. Owner-only
These need accounts or decisions outside the repository.
| Item | Tracker |
|---|---|
Apply, in this order: 20261119_post_limit_webhook_events.sql, 20261119_profiles_rls_hardening.sql, 20261119_yoga_meets.sql — done 2026-11-21 (changelog). 20261121_user_consents.sql applied 2026-11-21 after the code was deployed (changelog). Not applied: 20260404_seed_content.sql, 20260405_voice_feedback_bucket.sql. Still open: compare live RLS and schema with the repo (A11) | — |
| Stripe: live products, env vars, webhook in Vercel Production. Marked release blocker. | #385 |
AWS S3 / IAM / Textract and document cutover. Until DOCUMENT_PIPELINE_V2_ROLLOUT_PCT is set, /dokumente shows maintenance mode (apps/web/lib/feature-flags/document-pipeline.ts:6-15). | #328, #574 |
NEXT_PUBLIC_SITE_URL is not set in Vercel Production (runtime log, 2026-11-21); the code falls back to https://fragjulia.de (apps/web/lib/stripe.ts:41), which Vercel redirects to the primary domain www.fragjulia.de. Set it for Production and Preview. Also unset in Production per the same log: CRON_SECRET, KV_REST_API_URL, KV_REST_API_TOKEN, STRIPE_*, RESEND_API_KEY, HMAC_SECRET, AWS_ACCESS_KEY_ID, S3_DOCUMENTS_BUCKET, DOCUMENT_PIPELINE_V2_ROLLOUT_PCT. The Vercel connector used by agent sessions cannot read or write Production variables (403). The project's variable list (owner's export of the Vercel page, 2026-11-22) holds only LIVEKIT_*, KNOTENCHECK_TEST_SECRET, NEXT_PUBLIC_KNOTENCHECK_TEST_SECRET, SUPABASE_*, NEXT_PUBLIC_SUPABASE_* and POSTGRES_*, which matches the log. | — |
| Company formation, operator identity, legal texts (section B) | #393, #390 |
| DPIA, DPO and CEO sign-off, launch date | #409, #443 |
| Medical re-verification of study and clinic data | A15 |
| Email programme (Brevo): sending-domain DNS, warm-up, 22-mail test plan | #401 (0 of 5) |
Undecided
The docs tie audit logging, a fail-closed guardrail and BSI TR-03161 to the DiGA filing (architecture, audit-system). No document says whether a direct-to-consumer launch may precede them. #391 (BfArM consultation) is open.
Decision processes
How to triage sources, bounce conflicts, cite infra IDs inline, and verify handoffs against the intended artifact. Companion to ssot-discipline.
Voice stack architecture — single-L4 GPU layout
Three-service arrangement on one NVIDIA L4 (24 GiB), VRAM accounting under vLLM and vLLM-Omni, the runtime-download lifecycle gap for agent-side HF models, and the open architectural questions that seeded RT-1 and RT-2.