GeezerVison is showing github.com — Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management · Issue #3142 · developing-today/code
Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142Open 1 / 41 of 4 issues completedOpen 1 / 41 of 4 issues completed DescriptionLong-term tracker: migrate the pm stack into Supabase and refactor its parts into schemas for central management
Drew asked for this as the long-term tracking issue (2026-10-31). The pm stack (aggregator, fleet feed, dashboard, orchestration, dispatch, usage hub) grew up as local files and laptop-local stores. The direction, proven piece by piece on 2026-10-31, is: state lives in Supabase (muse-dev2) in domain-appropriate schemas, components read/write the database, and local files become caches or exports — never the only copy.
Where things stand (verified 2026-10-31)
Already Supabase-backed:
Still local-only:
- Orchestrator working state: orchestration.json / orchestrator-state.json / orchestrator-log.md (goal workspace hidden_files) — the dashboard reads these files.
- Aggregator actions store + comments store (laptop-local) — Drew's dashboard triage actions and comments.
- Fleet-feed JSON pipeline (collector -> scp -> laptop aggregator serving JSON files).
- Backlog markdown files the orchestrator reads (backlog-*.md in the goal workspace).
Scope (phased, each phase its own implementation issue)
- Orchestration state: move tier/classification state + run log to Supabase tables (automation schema or a dedicated pm schema); orchestration.json becomes a generated export for the dashboard contract (impl(aggregator): slice 2 — mobile, needs-Drew/needs-orchestrator tiers, time-granular roadmap, session clarity #898 shape preserved).
- Aggregator stores: actions + comments into Supabase with the same apply/result semantics (design+impl(aggregator): triage actions on /attention - acknowledge, snooze, escalate, answer - orchestrator-mediated #1152/impl(aggregator): 'request status change' action on project/board cards - orchestrator applies it as single writer #1154/impl(aggregator): session actions from /sessions and /attention - poke, answer, stop - keeper/orchestrator-mediated #1156 contracts preserved); the laptop aggregator reads/writes the DB.
- Feed pipeline: fleet-feed snapshots land as DB rows first; the served JSON is derived, not transported.
- Backlogs/queues: backlog state derived from DB + GitHub instead of hand-maintained markdown (markdown becomes a view).
- Central management: one schema map (pm-stack/SHARED-SCHEMA-MAP.md, with the migration plan at pm-stack/SHARED-SCHEMA-MIGRATION-PLAN.md), one place to inspect/pause/repair every component's state.
Non-goals / constraints
Related: #2767, #2768, #2796, #898, #899, #910, #2155.
Phase implementation issues (filed 2026-11-03, task 8438):
Sub-issuesCollapse Sub-issuesSub-issues1 of 41 of 4 Issues completedLoading 4 sub-issues Activitydezren39 commented on Oct 31, 2026 developing-today commented on Nov 8, 2026 🤖 Agent note · done
- Agent: queue worker (repo-worker-code, lane code-c)
- Session / ID: queue task 12098
- Found via: queue claim (triage, remainder after partial verification)
- Task: Triage verdict for issue Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142: EPIC LIVE AND CORRECTLY STRUCTURED — no remainder belongs on the epic itself. Fresh verification 2026-11-08: issue Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142 is OPEN (label epic), Drew's long-term tracker for migrating the pm stack into Supabase. The landed evidence is the shared-schema inventory (PR docs(pm-stack): shared-schema inventory + schema map, slice 1 of #1744 #4692) and the per-service migration plan (PR pm-stack: per-service migration plan for the shared schema (#1744 slice 2) #4881). The phase implementation issues filed by task 8438 and indexed in the epic body are all still OPEN, verified fresh this pass: Phase 1 (orchestration state) issue pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005, Phase 2 (aggregator stores) issue pm stack: centralize all service data as shared tables in one database schema #1744, Phase 3 (feed pipeline DB-first) issue pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006, Phase 4 (backlogs as a view) issue pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007, Phase 5 (central management surface) issue pm stack → Supabase phase 5 (#3142): central management surface — inspect / pause / repair every component's state #5008.
- Expectation: No new packet and no duplicate split: the epic's own scope assigns each phase its own implementation issue, and those five issues are the live work items that re-enter coverage individually — the same verdict triage task 8194 recorded on 2026-11-04, re-confirmed here. Issue Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142 stays OPEN as the tracker and closes when the phases land, not on a triage.
- Links: Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142 · pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005 · pm stack: centralize all service data as shared tables in one database schema #1744 · pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006 · pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007 · pm stack → Supabase phase 5 (#3142): central management surface — inspect / pause / repair every component's state #5008
dezren39 commented on Nov 8, 2026 Partial verification — staying open (2026-11-07 done-task-only audit, tracking: #7016).
Queue task(s) [8194] were marked done, and some work did land:
No merged change closes this issue's full scope, so the done status is not treated as completion. Remainder re-queued as triage task 11666. dezren39 commented on Nov 17, 2026 dezren39 commented on Nov 17, 2026 🤖 Agent note · done (triaged)
developing-today-fleet commented on Nov 26, 2026
state: triaged — epic live, stays open as tracker
lane: oc-code-02, task 24897
Fresh verification 2026-11-26: #3142 OPEN (epic, epic/pm-stack), correctly structured. Phase states re-checked live:
No new packet from the epic itself (standing rule, triages 8194/12098/18249/19796): phases re-enter coverage individually. No follow-on packet. developing-today-fleet commented on Nov 27, 2026 🤖 Agent note · done (triaged)
- Agent: queue worker (repo-worker-code), lane code-i (openchamber-scheduled-lane)
- Session / ID: task 25370 (triage follow-on of task 24897)
- Found via: scheduled queue claim
- Task: Follow-on triage for epic issue Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142 (long-term pm-stack → Supabase migration).
- Fresh verification (2026-11-27, this lane): issue Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142 OPEN (epic, epic/pm-stack), no held / user/owned / do-not-merge / do-not-auto-edit labels, no open PR referencing it. Phase states unchanged since the 2026-11-26 triage: Phase 1 pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005 CLOSED; Phase 2 pm stack: centralize all service data as shared tables in one database schema #1744, Phase 3 pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006, Phase 4 pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007, Phase 5 pm stack → Supabase phase 5 (#3142): central management surface — inspect / pause / repair every component's state #5008 all OPEN.
- Verdict: epic remains live and correctly structured as the tracker; it closes when the phases land, not on a triage. No new packet from the epic itself (standing rule, triages 8194/12098/18249/19796/24897): the open phases re-enter coverage individually.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|