Skip to content

v1.19.1 — Hosted email loop patch

Latest

Choose a tag to compare

@dmuhoro dmuhoro released this 05 Dec 13:10
· 2 commits to main since this release
5b161c8

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.ts returned the type
    predicate
    isBoolean(x) instead of the value, so a stored
    onboarding_complete: false normalized to true and a fresh learner skipped
    /onboarding. It now uses raw.x === true. A false profile lands on the
    wizard and only advances after the wizard writes true.
  • Hosted portal_type restored. 20261205_portal_type_reconcile.sql adds
    the missing column to user_progress, quiz_sessions and cached_roadmaps,
    backfills from each profile's mode, and sets the NOT NULL default.
    Additive, idempotent, transactional, applied to the linked project with
    explicit consent. Governed reads return 200 instead of 42703.
  • 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 stale legacy_topics FK 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/topics are empty while legacy_topics holds 13
    rows, so topic-id resolution and quiz writes stay blocked until reference
    data is seeded (a product data decision).
  • user_topic_progress is 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.1 object 179e0d1, peeled to 5b161c8.
  • CI run 47521571851 green on 5b161c8: build (incl. entry budget), RLS matrix (251 assertions), real-stack e2e.
  • v1.19.0 remains untouched at 88500c9 -> e074a8c.