Skip to content

impl(pm-stack): PM tenant store — schema + migrations (component A slice 1, from #9079) #12825

Open

Description

@dezren39

Design: doc/2026-11-23T03-22-03Z_design_pm-service-workers-edition/2026-11-23T03-22-03Z_design_pm-service-workers-edition.md (PR #12823, merged) — component A of epic #9078, under #9079.

Slice 1 — PM tenant store: schema + migrations

Per design §3: one schema in the tenant's Turso DB (component E tenant plane) holding the PM store — board registry rows (#9060 BoardDef shape, stored as data), the merged item pool, hierarchy/link records (#9060 §11 shape: relation, status, provenance), Metadata copies (#9060 §12), roadmap rows, release-milestone snapshots (#9060 §4), reconcile findings, and the writer-of-record lease row (§5 of the design).

Acceptance

  • Migrations create the full PM store schema in a tenant Turso DB; schema version recorded.
  • Registry/pool/link-record shapes match pm stack: multi-board hierarchy + full task genealogy #9060 exactly (conformance-checked against laptop collector output shapes).
  • No PM content in the central tenancy DB; no tokens/keys in any table (E §2.3).

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/pm-stackpm-stack (Pad/Grist) in developing-today/code

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions