mti_beta — PowerSync Test
Phase 0 Foundation Check
JWT / PowerSync debug (iPhone)
Run probes in order after login. PowerSync needs a well-formed JWT (3 dot-separated segments), not the opaque sign-in session token. Compare connector vs network paths.
Start with 0. Auth HTTP. If opaqueSessionStored: false, sign out and sign in again. Cross-origin token-endpoint-401 is expected on iPhone — JWT should come via the dev proxy after re-login. Use Send report to PC terminal when stuck.
Live sync + local DB
Connection state, typed streams, avatar/attachment samples, and app logs require a session. JWT diagnostics above stay available without signing in.
Sign in to load PowerSync panelsThis confirms offline-first sync is working (leads + actions ready for T.O.M.A. tracking). The user_avatars section verifies the avatar pool table is present in the local schema when signed in.