Skip to content

impl(pm-stack): E6 — tenant DB store adapter in id-store (#9083) #12801

Open

Description

@dezren39

Implementation slice E6 of #9083 (tenancy architecture, component E of epic #9078; with component D).

Design record: doc/2026-11-17T16-55-00Z_design_hosted-tenancy-architecture/2026-11-17T16-55-00Z_design_hosted-tenancy-architecture.md §11 item 6 (merged via PR #11325).

Work

Implement the tenant DB store adapter in id-store: the Turso/SQLite-over-HTTP backend behind store_traits, so hosted tenant nodes and native nodes share one storage interface.

Invariant

One storage interface for every peer kind (peer principle): hosted and native nodes differ only in backend, never in the interface or protocol.

Acceptance

  • Turso/SQLite-over-HTTP backend implements store_traits.
  • The same conformance tests pass against this backend and the native backend.
  • No hosted-only special-casing in callers.

Sequencing (design §11)

E1 and E6 are parallel. E3 needs E1 + E6.

Filed by Lane BZ (archer) 2026-11-22 as the §11 follow-up pass for #9083.

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codeepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions