Title: Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management · Issue #3142 · developing-today/code · GitHub
Open Graph Title: Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management · Issue #3142 · developing-today/code
X Title: Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management · Issue #3142 · developing-today/code
Description: Long-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, orchestra...
Open Graph Description: Long-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 (aggr...
X Description: Long-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 (aggr...
Opengraph URL: https://github.com/developing-today/code/issues/3142
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management","articleBody":"## Long-term tracker: migrate the pm stack into Supabase and refactor its parts into schemas for central management\n\nDrew 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.\n\n### Where things stand (verified 2026-10-31)\nAlready Supabase-backed:\n- Repo-queue backend (recovered onto muse-dev2 in the 2026-10-30 cutover; see #2767/#2768).\n- Session mirror (agent schema mirror tables).\n- Usage snapshots / usage hub collectors (#1050, #1111).\n- Domain event streams: ainventory, engineering, finance, research, automation, home — tasks append typed events; orchestration-pass began appending material changes to automation.events on 2026-10-31.\n\nStill local-only:\n- Orchestrator working state: orchestration.json / orchestrator-state.json / orchestrator-log.md (goal workspace hidden_files) — the dashboard reads these files.\n- Aggregator actions store + comments store (laptop-local) — Drew's dashboard triage actions and comments.\n- Fleet-feed JSON pipeline (collector -> scp -> laptop aggregator serving JSON files).\n- Backlog markdown files the orchestrator reads (backlog-*.md in the goal workspace).\n\n### Scope (phased, each phase its own implementation issue)\n1. 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 (#898 shape preserved).\n2. Aggregator stores: actions + comments into Supabase with the same apply/result semantics (#1152/#1154/#1156 contracts preserved); the laptop aggregator reads/writes the DB.\n3. Feed pipeline: fleet-feed snapshots land as DB rows first; the served JSON is derived, not transported.\n4. Backlogs/queues: backlog state derived from DB + GitHub instead of hand-maintained markdown (markdown becomes a view).\n5. 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.\n\n### Non-goals / constraints\n- No big-bang rewrite: each phase keeps the current file-based path working until the DB path is verified, then flips.\n- Dashboard contracts (#898 orchestration shape, actions/comments semantics) do not change shape — only their backing store.\n- Single-writer rules stay: orchestrator is the only writer to the GitHub Project; the same discipline applies per table.\n- Secrets by name only; muse-dev2 is canonical (old muse-dev is dead; pointer audit tracked in #2796).\n\nRelated: #2767, #2768, #2796, #898, #899, #910, #2155.\n\n### Phase implementation issues (filed 2026-11-03, task 8438):\n- Phase 1 (orchestration state): #5005\n- Phase 2 (aggregator stores / shared tables): #1744 (pilot area #941)\n- Phase 3 (feed pipeline DB-first): #5006\n- Phase 4 (backlogs as a view): #5007\n- Phase 5 (central management surface): #5008\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-31T16:50:54Z","url":"https://github.com/developing-today/code/issues/3142"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1228e54b-c038-dc39-a5d7-ff5b6823deab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 83FE:34F10E:7A0E59:A2F855:6B062D96 |
| html-safe-nonce | 80e8edb7749322abe9a5bd48710449f7cd06f2f28d885d213a95861ff9fc62ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0ZFOjM0RjEwRTo3QTBFNTk6QTJGODU1OjZCMDYyRDk2IiwidmlzaXRvcl9pZCI6IjYwNjg0OTczMzQ1NjI4NjA0MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 179647655347048c471b2ce443601cd2c1ea5c28e3fe49ce352c4c6e935a6675 |
| hovercard-subject-tag | issue:6137355280 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/3142/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f80eaca3cc5f1065a48afafdacd6aa62dd99ed6643203719761f2df890ead1f4/developing-today/code/issues/3142 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f80eaca3cc5f1065a48afafdacd6aa62dd99ed6643203719761f2df890ead1f4/developing-today/code/issues/3142 |
| og:image:alt | Long-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 (aggr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width