Repository navigation
Open
0 / 80 of 8 issues completedOpen
0 / 80 of 8 issues completed
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codepm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)Ordinary priority (the default)status/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)status:in-review
Description
Component A of epic #9078 (hosted editions program). Design first (design mill, under #9078); implementation issues are spawned by the design.
What
A workable equivalent of the PM service that runs on Cloudflare Workers: the aggregator, dashboard, and project-reconcile capabilities re-implemented in TypeScript as ONE hosted service, using Durable Objects where stateful coordination (single-writer reconcile, live board state) needs them. It consumes the SAME data model as the laptop stack — the board registry, hierarchy edges, primary-parent rule, and Metadata model from #9060's merged design (doc/2026-11-12T22-50-00Z_design_pm-board-hierarchy-genealogy) — so the hosted and laptop editions read the same world.
Builds on / relations
- pm stack: multi-board hierarchy + full task genealogy #9060 (multi-board hierarchy + genealogy design), pm-stack collector: multi-project pool (forks + lab boards) and App-bucket identity #9062 (collector board registry + multi-board pool), impl(pm-stack): genealogy read model — ancestors, spawned-by, sentence renderer, API #9070 (genealogy read model + sentence renderer), impl(pm-stack): dashboard surfaces — genealogy header, per-project roadmap, overall priorities, releases #9071 (dashboard surfaces), impl(fleet): metadata database + fleet Metadata query surface #9074 (metadata DB).
- Data unification background: Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142 (PM stack into a central DB), pm stack: centralize all service data as shared tables in one database schema #1744 (one schema for PM service data). Turso + Cloudflare epic: epic: Turso + Cloudflare integration — databases, edge, gateway, and DNS #8987.
- Tenancy + content plane it will sit on: components E and F under epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078. Identity: component H / SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077.
Open design questions (the design must answer or batch to Drew)
- Service shape: one Worker with route modules vs several Workers behind one hostname — and which parts are Durable Objects (reconcile writer, presence/live state) vs stateless request handlers?
- Where does board data live for the hosted edition — the tenancy/public Turso DBs (component E), D1, or both — and how does the hosted collector ingest GitHub (scheduled Workers / cron triggers vs the laptop collector feeding the DB)?
- Parity bar: which laptop-stack surfaces are V1 must-haves (board views, genealogy header/sentence, needs-attention, quota views) and which are explicitly deferred?
- Reconcile as a hosted single writer: how do laptop reconcile and hosted reconcile avoid double-writing during transition (one writer of record at a time — what flips it)?
Acceptance
- Design merged under doc/ as part of epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078's build-out: service shape, DO inventory, data homes, ingest path, V1 parity list.
- Model-compatibility statement vs pm stack: multi-board hierarchy + full task genealogy #9060's design (registry/hierarchy/Metadata) — divergences named, none silent.
- Granular implementation issues filed under this issue for everything implementable.
Metadata
Metadata
Assignees
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codepm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)Ordinary priority (the default)status/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)status:in-review
Activity
developing-today commentedon Nov 12, 2026
CODE-2783
dezren39 commentedon Nov 12, 2026
Amendment applied (Drew 2026-11-12 17:03, epic #9078): TIER-1 PARITY. The Workers edition of the PM service is a primary edition alongside the Rust/native stack — parity + deliberate divergence framing throughout the design; no 'reduced sibling' scope assumptions.
dezren39 commentedon Nov 17, 2026
Agent note — triaged, task 18829 for issue #9079 (lane any-e)
dezren39 commentedon Nov 23, 2026
Claim — Lane CY (archer), 2026-11-22. Taking the landable slice of #9079: the component-A design itself, following the pattern components E (#9083, design merged PR #11325) and F (#9084, design merged PR #12811) just used.
Premise check (fresh, this pass): issue OPEN, no live claim (last activity 2026-11-17 triage, task 18829); no component-A design exists on main (only the #9078 intake scaffold
doc/2026-11-12T23-04-00Z_design_hosted-editions-workers/note.md); the design's substantive inputs have since landed — #9060's model (merged), E's tenancy architecture (merged), F's content plane (merged today). The four open questions on this issue are answerable from those records; recommendations that are Drew's/mill's call will be marked PROPOSED, not decided (the F precedent).Deliverable: design doc under
doc/via PR (service shape + DO inventory, data homes, ingest path, V1 parity list, model-compatibility statement vs #9060, writer-of-record reconcile rule), then granular implementation issues filed under #9079 per its acceptance. #9079 stays open for ratification.design(pm-stack): component A — PM service, Workers edition (#9079)
Merge pull request #12823 from developing-today/lane-cy/9079-pm-servi…
dezren39 commentedon Nov 23, 2026
Lane CY — component-A design landed (2026-11-22). #9079 stays open for one thing only: ratification of the two recommendations marked PROPOSED in the design (mill/Drew call, per the component-F precedent).
Design merged — PR #12823, merge commit
311c4a83ab75bd37a5eeb2544f3c6a4dd3b348e1:doc/2026-11-23T03-22-03Z_design_pm-service-workers-edition/(single file, 124 lines / 17,452 bytes, verified read back on main at exactly that size). It covers all of #9079's acceptance items:BoardDO(live state + presence),IngestDO(collector serialization + cursors),ReconcileDO(hosted reconcile + lease enforcement). Several-Workers split rejected with reasons. PROPOSED, not decided.{board_id, writer, epoch, heartbeat_at}mechanizing pm stack: multi-board hierarchy + full task genealogy #9060's single-writer rule — epoch fencing checked before every mutation batch, laptopproject-reconcile.shgains a startup lease guard (read-only verifier when hosted holds the lease), flip/rollback as a per-board procedure. The GitHub-has-no-fencing limitation is stated in the design, with Metadata-provenance detection as the monitor surface. PROPOSED, not decided.Eight granular implementation issues filed as sub-issues of #9079 (blocked-by sequencing set: 2←1, 3←1, 4←3, 5←1, 6←1, 8←3): #12825 (tenant store schema), #12826 (hosted collector), #12828 (read API parity), #12829 (dashboard surfaces), #12830 (BoardDO live/presence), #12831 (ReconcileDO + lease + flip runbook), #12832 (identity wiring), #12833 (dual-edition conformance suite). Slices do not depend on ratification except #12831, which says so in its body.
Acceptance mapping: design merged under doc/ ✓ · compatibility statement with divergences named ✓ · granular implementation issues filed under this issue ✓. Remaining on #9079: ratification only.