Skip to content

[mobile] T054: Seam tests on real adapters: pull pipeline → SQLite rows → NoteContentStore round-trip; conformance suite (T023) green against the mobile adapters #1729

Description

@h4yfans

Memry Mobile — Vault Parity Mobile App · task T054 · Phase 3 of 14 · gate G2 · story US1

Task

T054 — Seam tests on real adapters: pull pipeline → SQLite rows → NoteContentStore round-trip; conformance suite (T023) green against the mobile adapters

Files: apps/mobile/src/sync/__tests__/pull-pipeline.test.ts

Recorded state / notes from tasks.md

code landed: on-device harness src/sync/__harness__/us1-seam-harness.ts runs the shared conformance suite against the REAL mobile adapters (injected describe/it/expect, fresh scratch vault per test) plus a live pull→SQLite→NoteContentStore round-trip; dev runner screen (dev)/seam-tests.tsx. OPEN: the on-device run itself — needs the reference device

Phase context — Phase 3: User Story 1 — Open Your Vault on Your Phone (P1) 🎯 MVP — Train Phase 2 (Gate G2)

Goal: Existing user signs in, unlocks with password or recovery phrase,
browses their real vault read-only; production-safety kit verified end-to-end.

Independent Test (spec US1): on a phone that has never seen a real
desktop-created vault, sign in, unlock via password and separately via recovery
phrase, browse recent content. Standalone value: read-only companion.

Checkpoint — G2: all four drills green. This is the MVP: a trustworthy read-only companion on the developer's own device.

Ordering & dependencies

  • Train gates are serial (Constitution): a phase does not start until the prior gate is green with evidence. Parallelism exists within a phase only.
  • US1 depends on Phases 1–2 only. Within this phase: adapter tasks T037, T038, T039, T042 run in parallel after T033; T034 and T035 run in parallel.
  • Feeds gate G2 — verification steps in quickstart.md §Phase 2 — G2.

Definition of done

  • Constitution definition of done: pnpm lint, pnpm typecheck, tests, pnpm check:architecture, pnpm check:contracts, plus docs where the change is user-visible.
  • No check-off without green evidence (Constitution III). Paste the evidence into this issue before closing.
  • Backward compatibility is mandatory — real users run this on real data. Schema/contract/format changes need a stated migration + compat plan.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    mobileMemry Mobile (iOS) — spec 001-mobile-appmobile:phase-3-us1-g2Mobile Phase 3 — US1 Open Your Vault on Your Phone, MVP read-only (gate G2)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions