Repository navigation
What changed
The authenticated email core loop is now proven end-to-end against the hosted
project, and the defects that blocked it are fixed.
- Onboarding gate fails closed.
lib/normalize.tsreturned the type
predicateisBoolean(x)instead of the value, so a stored
onboarding_complete: falsenormalized totrueand a fresh learner skipped
/onboarding. It now usesraw.x === true. Afalseprofile lands on the
wizard and only advances after the wizard writestrue. - Hosted
portal_typerestored.20261205_portal_type_reconcile.sqladds
the missing column touser_progress,quiz_sessionsandcached_roadmaps,
backfills from each profile's mode, and sets theNOT NULLdefault.
Additive, idempotent, transactional, applied to the linked project with
explicit consent. Governed reads return200instead of42703. - Progress sync hardened. Sync is gated on a resolved portal (deferred until
a learning mode exists) and quiz history retries without the
topics(title)embed, so a stalelegacy_topicsFK no longer drops history. - Native full-screen gradient restored via
cssInterop. - Icons refreshed for app and PWA.
Verification
- typecheck 0, lint 0 errors / 0 warnings
- 143 test files / 784 tests
- architecture boundaries 0 violations
- QA runner: all systems verified
- Expo web export
- public-env secret guard passed
Evidence: docs/evidence/2026-12-05-hosted-email-loop-and-schema-reconcile.md
Still open (documented, not claimed)
- Hosted canonical
subjects/topicsare empty whilelegacy_topicsholds 13
rows, so topic-id resolution and quiz writes stay blocked until reference
data is seeded (a product data decision). user_topic_progressis absent on hosted but unused by app code.- Android device offline: on-device blank-screen interop and Google OAuth
consent remain unverified.
Release proof
- Annotated tag
v1.19.1object179e0d1, peeled to5b161c8. - CI run 47521571851 green on
5b161c8: build (incl. entry budget), RLS matrix (251 assertions), real-stack e2e. v1.19.0remains untouched at88500c9->e074a8c.