Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

PM stack research and implementation roadmap

The PM stack’s design record is three documents written on 2026-11-11 and 2026-11-12, plus the store plans that follow from them. The design register (pm-stack/design-register-2026-11-11.md) records 117 designs — 42 top-level entries and 75 named sub-designs — plus 131 idea-engine entries under one parent. The tracking manifest (pm-stack/design-tracking-manifest-2026-11-11.md) gives the completed designs that escaped documentation a tracking issue and a committed living document: 37 tracking issues filed, 27 doc files committed. The lineage manifest (pm-stack/lineage-manifest-2026-11-12.md) links every issue to epics, boards, and labels. The reprioritization record (pm-stack/design-reprioritization-2026-11-12.md) then orders all of it into nine programs with queue bands. This chapter synthesises those four documents and the PM store plans into one roadmap. Statuses quoted from the register are the register’s own, live-checked where the register marks them, on 2026-11-11; they are a dated record, not a current census.

The register’s status vocabulary is exact and this chapter keeps it. A design is none, drafted, decided, or built-into-running-system. Its implementation is not started, partial, shipped, shipped-then-superseded, or abandoned-in-record. A design recorded as decided is not recorded as built, and this chapter does not promote it.

The PM designs: what is designed, what is built

The register’s PM section is two parents. P1, the PM stack program — one single URL for all projects, canonical design approved 2026-10-24 — is built-into-running-system as a design and partial as an implementation: the coherence epic is the standing gap list. P2, the decisions system, is the ledger, the decisions page, and the rulings the ledger still carries.

Register entryDesign statusImplementation status, per the register
P1.1 Project-tracking evaluation (GitHub Projects against Linear, then self-hosted options)Decided: GitHub Projects, org Project #4Shipped as substrate — Project #4 is the portfolio record, and ready-for-agent and Pad were adopted as components
P1.2 Dashboard slice 3: pluggable pages, DNS register, dashboard comments, session identity registry (#906)Built-into-running-systemShipped; #906 closed. The pluggable-page mechanism is the manifest recipe in Add a page or projection
P1.3 PM stack coherence epic (#1184)Decided: the full review completed the night it was directed, 2026-10-26Partial — the epic’s 34 net-new issues, #1134–#1183, are the standing follow-up set
P1.4 Needs-user action model (contracts #1290–#1293)Built-into-running-systemShipped; all four contract issues closed. The shipped census vocabulary is the code’s, not the design’s (D13)
P1.5 Durability and host-independence rulings (#1258)Decided and ruled: all 7 open questions settled 2026-11-03Partial — verification of the retention scheme’s implementation is the recorded open follow-up
P1.6 PM stack under NixOS switchDecidedPartial at register time — the module is wired and the aggregator and projector units are live; the register records gaps (dispatch as a module unit, the tunnel, the Kaneo oneshot) and no switch run in its slice
P1.7 pm-dispatch service (#2648)Built-into-running-systemShipped — built, deployed, and smoke-verified live 2026-10-30
P1.8 Quota plane: gatherer, usage hub, single-source opencode quotaBuilt-into-running-systemShipped — the gatherer went live 2026-10-27, and the single-source change completed 2026-11-05 (#6125 closed)
P1.9 General Board comparison and teardownDecidedShipped — the board was torn down; its one kept idea, per-source lag counts on the health page, is #1734, open at register time
P1.11 Data-home migrations (#3142 with phases #5005–#5008 and slice #6815; #1744)Drafted, per the census titles the register reconcilesNot verified in the register pass. The store plans below carry the current shape
P1.12 Real notifications, phases 1–3Decided: no-go on moving the aggregator to Workers; go on a small edge relayPartial — Phase 1 shipped (#8568 closed); Phase 2 is #8569, Phase 3 is #8570, both open at register time. The shipped relay state is narrower than the phase design (D5)
P1.13 Aggregator PWA and Web Push design (#1254)Drafted, then decided in lineageShipped-then-superseded in lineage — its Web Push throat is what P1.12 Phase 1 later built producers into; #1254 closed
P2.1 Pending-questions ledger (pm-stack/decisions-ledger-system.md)Built-into-running-systemShipped and running. Ledger state at the 2026-11-11 records read: 150 items — 84 answered, 34 asked, 20 pending, 12 dropped
P2.2 Decisions page: batched decision sets (#8766)Built-into-running-systemShipped the day it was specified, 2026-11-11, through v1, v2, and the draft-persistence revisions. Its crash follow-up, #8777, is open at register time
P2.3 Pending design rulings in the ledgerTracked in the ledger, awaiting DrewTwelve design rulings are listed in the register entry. They are decision items, not builds; Project Management: prioritised issue map and dependency map carries them

Two register facts bound any larger claim. The code repo’s 236-entry design-doc corpus is registered as a corpus, not entry by entry, and the register’s open-issue census behind its records pass is title-keyword only. Entries outside the PM section — Atlas, ID and fleet, Cloudflare, Turso, adjacent infrastructure — belong to their own books’ roadmaps; this chapter takes from them only the ordering scheme and the PM store lineage.

The ordering: nine programs, one band map

The reprioritization record of 2026-11-12 is the programme order for the whole estate, and the PM stack sits inside it as program P5. The order, top to bottom:

  1. Drew’s expedite set — pinned, untouched by the program. Nothing in the scheme demotes an expedite item.
  2. Band 10 — fleet-stalling breakage only.
  3. The nine focus programs in Drew’s listing order — P1 ID, P2 Atlas, and P3 Fleet at band 20; P4 SaaS service, P5 PM stack, and P6 Turso and Cloudflare at band 30; P7 GitHub and dynamic compute, P8 Storage, and P9 Lab at band 40. Band 50 is reserved and unused by this program.
  4. Blocking small fixes — a small fix takes the band of the thing it blocks, default band 30 when the blocked thing is unclassifiable.
  5. Non-blocking small fixes — band 70.
  6. Not-a-work-items — records, questions, and tracking shells keep their priority; the census notes why.

The census behind the scheme classified 1,227 open issues one by one (1,039 in developing-today/code, 188 across the other repos); 115 code issues classified to P5, the PM stack. Application was verified by post-apply re-reads: program epic labels, milestone assignments, and board placement were applied in the census pass. The one leg that did not apply in that pass — queue re-banding, because no band-mutation route was confirmable — closed later the same day: the queue lane applied 392 task re-bands by the established direct-SQL route, each verified by re-read, and the record marks the program’s one open gap CLOSED. Priority as recorded still lives in more places than the band: Project fields, rank labels, and the console scale are separate records, and the surfaces do not automatically agree. See Prioritisation: how order is decided and recorded.

The lineage manifest supplies the structure the order runs on. An epic is an issue carrying the epic label; membership is two-sided — the member carries the epic’s epic/<name> label and, where the epic issue is unambiguous, the member is a native sub-issue of the epic. Project #4’s Kind field is the canonical epic field the aggregator reads: Kind = Epic makes an epic, and no label substitutes for it (D10). The manifest’s amendment pass created the zero-carrier program epics — among them #8986, the design-register epic (27 members, 26 natively linked) — and recorded the labels whose home epic is ambiguous, including epic/pm-stack and epic/pm-stack-coherence, as awaiting Drew’s pick of a single home. Personal-repo issues cannot be placed on org Project #4; that is a settled constraint from Drew’s 2026-11-12 ruling, and their tracking home is labels, milestones, and the register.

The store line: from inventory to migration

Three documents carry the PM store work in sequence, and the sequence is a stated dependency chain, not a preference:

  1. Inventory and target groups — pm-stack/SHARED-SCHEMA-MAP.md, tracking #1744. The map inventories every aggregator-owned store, the projector database, and the native Kaneo, Grist, and Pad stores, and classifies each as rebuildable or not. Its target groups are pmp_ projector tables, agg_ aggregator stores, and the shared entity tables shared_items, shared_links, shared_comments, shared_events. One finding governs the rest: pmp_links is the only non-rebuildable cross-service relationship in the projector schema, and it carries the registry backup legs for that reason.
  2. Direction change — #3142 supersedes #1744’s default. The map records the supersession in its own header: #1744’s one-local-libSQL default is replaced by the #3142 decision — start new PM state in Supabase muse-dev2, and keep the Kaneo, Grist, and Pad databases separate unless a supported shared-database mode is proven. The first store group is specified as a versioned action/event contract in pm-stack/shared-schema/: public.agg_actions owns the aggregator’s action records, public.shared_events holds their cross-service outcomes, with a paired migration and a disposable-PostgreSQL test.
  3. First stores canonical in Supabase — #6815. Four stores move under the switch PM_AGG_STORE_BACKEND=supabase, with file as the dev, test, and rollback backend and the local JSON demoted to a rebuildable cache: actions, activity ingestion, usage snapshots, and the AA last-good document, with comments following into public.shared_comments. The sibling stores — freshness, notifications, needs-Drew, decisions, decision events, stack health, item history — are follow-on scope under #3989 and live only as laptop-local files in the map’s record.
  4. Canonical app stores — pm-stack/STORE-MIGRATION-PLAN-6816.md, parent #3989, rulings #1258. Step 1 of that plan is inventory and plan only; it moves no data and reconfigures no service. Its targets: Kaneo to Supabase Postgres natively; Grist and Pad to Supabase-backed file-shaped homes. Its fencing rule is absolute: the old writer is fenced before any failover promotion, and no configuration permits two active writers. Its cutover runs in stated order — pre-sync while live; stop the writers Pad, then Grist, then Kaneo; final delta; verify; promote — and steps 1 and 5 run through one driver, pm-stack/scripts/kaneo-cutover.sh, whose promote mode refuses unless the fence check reports FENCED and the target’s table and row counts equal the source’s exactly. Step 2 is the windowed cutover itself. Step 3 is the first isolated laptop-off drill, measured against the #1258 targets the plan records: 4-hour core RTO, 1-hour Kaneo RPO, 24-hour Grist and Pad RPO. Rollback is operator steps until the first window records a run.

A second migration direction now runs beside this line: the Turso-to-D1 programme (#13844) moves fleet-platform families — including its agg_* telemetry and aggregate families — from Turso to D1. The register already records the unresolved ordering between the two directions for the earlier wave (P1.11); the D1 programme adds a third target to the same estate. No document surveyed states which direction governs a given agg_* family where the two records name the same family in different stores. This book records that as a disagreement (D19) and states neither direction as settled for the overlap. Project Management: prioritised issue map and dependency map carries the #13844 programme as its own item.

What is next, in the documents’ own sequence

The documents state their own next steps. In their stated order:

OrderWorkThe dependency the source states
1Notifications Phase 2 (#8569): the Cloudflare edge relay and Durable Object dead-man’s switch, with its scope as amended on the issue — full data-source migration to Cloudflare with Turso and laptop syncPhase 2 follows the shipped Phase 1 (#8568); the relay code that exists today is step 1 only, not deployed, its later routes unrouted (D5)
2Notifications Phase 3 (#8570): consolidate the aggregator, quota gatherer, fleet-feed collector, and projector into one pm-core service; dispatch stays separateThird in the phase sequence P1.12 records
3Store migration step 2 (#6816): the windowed Kaneo, Grist, and Pad cutoverRuns after step 1’s inventory and plan, through the fence and parity gate; step 3, the laptop-off drill, runs after it
4The #3989 follow-on stores: freshness, notifications, needs-Drew, decisions, decision events, stack health, item historyFollow-on scope to the four #6815 stores, in the shared-schema map’s record
5Retention-scheme verification for the #1258 rulingsThe register’s recorded open follow-up on P1.5
6The #8777 follow-up: who sent the external SIGTERM that killed the aggregator and dispatch units on 2026-11-11, with the auditd form filed to ride the NixOS switchRegister P2.2 follow-up; the switch ride is the stated route
7The twelve P2.3 design rulingsThey wait on Drew’s answers in the ledger; they are not builds and no build order in the documents displaces them

The roadmap surfaces themselves carry two cautions for any reader of this order. The aggregator’s roadmap and the console’s roadmap are two implementations with different sources and different phase vocabularies (D12), and the word horizon names three different value sets on three surfaces (D11). An order stated in this chapter is the documents’ order; a roadmap page is a view of it, not the record of it.

Sources. Repo documents read on the laptop clone: pm-stack/design-register-2026-11-11.md (§3, entries P1–P2.3, and the headline counts), pm-stack/design-tracking-manifest-2026-11-11.md, pm-stack/lineage-manifest-2026-11-12.md (taxonomy, board status, amendment pass), pm-stack/design-reprioritization-2026-11-12.md (priority order, band map, the nine programs, census results, queue re-banding record), pm-stack/SHARED-SCHEMA-MAP.md, pm-stack/STORE-MIGRATION-PLAN-6816.md, pm-stack/decisions-ledger-system.md; survey files ~/workspace/pm-book/survey/roadmap.md and ~/workspace/pm-book/survey/disagreements.md (D5, D10, D11, D12, D13).