GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #3142

New issue
Copy link
New issue
Copy link
Open
1 / 41 of 4 issues completed
Open
Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management#3142
1 / 41 of 4 issues completed
Copy link
Labels
design/pm-data-migrationsDesign: pm-data-migrations - all issues of this effort carry itepicMeta-issue grouping multiple items (org Project Type=Epic)epic/pm-stackReprioritization program epic (2026-11-12)source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 31, 2026
Issue body actions

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, 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:

  • Repo-queue backend (recovered onto muse-dev2 in the 2026-10-30 cutover; see Fleet queue unreachable: Supabase PostgREST 503 PGRST002 (schema cache) + 522, 2026-10-30 ~09:19 CDT #2767/fleet(queue): queue control plane down - PostgREST 400 then 503 PGRST002 / 521, verbs after claim blocked #2768).
  • Session mirror (agent schema mirror tables).
  • Usage snapshots / usage hub collectors (feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050, feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts #1111).
  • 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.

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)

  1. 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).
  2. 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.
  3. Feed pipeline: fleet-feed snapshots land as DB rows first; the served JSON is derived, not transported.
  4. Backlogs/queues: backlog state derived from DB + GitHub instead of hand-maintained markdown (markdown becomes a view).
  5. 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

  • No big-bang rewrite: each phase keeps the current file-based path working until the DB path is verified, then flips.
  • Dashboard contracts (impl(aggregator): slice 2 — mobile, needs-Drew/needs-orchestrator tiers, time-granular roadmap, session clarity #898 orchestration shape, actions/comments semantics) do not change shape — only their backing store.
  • Single-writer rules stay: orchestrator is the only writer to the GitHub Project; the same discipline applies per table.
  • Secrets by name only; muse-dev2 is canonical (old muse-dev is dead; pointer audit tracked in Fleet tooling hardcoded the old Supabase project ref/URL — audit for remaining hardcodes #2796).

Related: #2767, #2768, #2796, #898, #899, #910, #2155.

Phase implementation issues (filed 2026-11-03, task 8438):

  • Phase 1 (orchestration state): pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005
  • Phase 2 (aggregator stores / shared tables): pm stack: centralize all service data as shared tables in one database schema #1744 (pilot area aggregator(dashboard): comment API accepts self-asserted author identities — anyone can post as Drew into the orchestrator/GitHub flow (PR #920) #941)
  • Phase 3 (feed pipeline DB-first): pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006
  • Phase 4 (backlogs as a view): pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007
  • Phase 5 (central management surface): pm stack → Supabase phase 5 (#3142): central management surface — inspect / pause / repair every component's state #5008

Sub-issues

Collapse Sub-issuesSub-issues

1 of 41 of 4 Issues completed
Loading 4 sub-issues

Activity

Next
  1. dezren39
    added
    epicMeta-issue grouping multiple items (org Project Type=Epic)
    on Oct 31, 2026
  2. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    Direction from Drew (2026-10-31, main chat, deciding #941): this migration starts NOW and starts in Supabase. Order of work:

    1. First slice: the aggregator's identity/provenance + comments/actions data goes into Supabase (muse-dev2) as part of the aggregator(dashboard): comment API accepts self-asserted author identities — anyone can post as Drew into the orchestrator/GitHub flow (PR #920) #941 fix (accept + attribute design: tailscale identity/IP/client details stamped server-side; operator tokens + login session foundation stored there).
    2. Then move the rest of the aggregator's tables after, in the phases this issue already lays out — the comments/actions migration is the pilot that proves the pattern (single-writer rules and the impl(aggregator): slice 2 — mobile, needs-Drew/needs-orchestrator tiers, time-granular roadmap, session clarity #898 dashboard contract shape still hold).

    No big-bang change; this note only fixes the starting point and the order: Supabase first, comments/actions + identity first, rest of the tables after.

  3. github-actions
    assigned
    dezren39
    on Oct 31, 2026
  4. dezren39
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    status/needs-triageNot yet triaged; needs a first look
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/needs-triageNot yet triaged; needs a first look
    on Nov 3, 2026
  5. 16 remaining items

  6. developing-today commented on Nov 8, 2026

    @developing-today
    developing-todayBot
    on Nov 8, 2026 – with developing.today
    Contributor
    More actions

    🤖 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
  7. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    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:

    • PR docs(pm-stack): shared-schema inventory + schema map, slice 1 of #1744 #4692 — docs(pm-stack): shared-schema inventory + schema map, slice 1 of pm stack: centralize all service data as shared tables in one database schema #1744 (merged 2026-11-03T01:49:40Z): docs(pm-stack): shared-schema inventory + schema map, slice 1 of #1744 #4692
    • PR pm-stack: per-service migration plan for the shared schema (#1744 slice 2) #4881 — pm-stack: per-service migration plan for the shared schema (pm stack: centralize all service data as shared tables in one database schema #1744 slice 2) (merged 2026-11-03T12:08:53Z): pm-stack: per-service migration plan for the shared schema (#1744 slice 2) #4881

    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.

  8. dezren39
    added sub-issues on Nov 11, 2026
    • pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005
    • 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
  9. dezren39
    added
    design/pm-data-migrationsDesign: pm-data-migrations - all issues of this effort carry it
    epic/pm-stackReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  10. dezren39
    added 2 commits that reference this issue on Nov 14, 2026

    pm-stack: orchestration state schema contract — #5005 phase 1, P1 vet…

    1266288

    pm-stack: orchestration state schema contract (#5005 phase 1, P1 vett…

    8b42925
  11. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: repo queue worker (repo-worker-code), lane code-i (openchamber-scheduled-lane)
    • Session / ID: task 18249 (triage)
    • Found via: scheduled queue claim; fresh GitHub state
    • Verdict: epic remains OPEN and correctly structured. Partial landed work per the prior triage: PR docs(pm-stack): shared-schema inventory + schema map, slice 1 of #1744 #4692 (shared-schema inventory, slice 1 of pm stack: centralize all service data as shared tables in one database schema #1744) and PR pm-stack: per-service migration plan for the shared schema (#1744 slice 2) #4881 (pm-stack per-service slice). No open PR matches this epic. No new packet created here: the remainder is the epic's child work, which is tracked by its own issues.
  12. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triaged)

    • Agent: queue worker (repo-worker-code), Muse lane any-i
    • Session / ID: task 19796 (broker follow-on of triage task 18249)
    • Found via: queue claim
    • Task: Follow-on packet 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) — completes as triaged: the epic's triage of record stands and its remainder is already tracked by its own child issues.
    • Fresh verification (2026-11-17, 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. Triage task 18249 (note 6936372819) confirmed the structure: slices landed via PR docs(pm-stack): shared-schema inventory + schema map, slice 1 of #1744 #4692 (shared-schema inventory, pm stack: centralize all service data as shared tables in one database schema #1744 slice 1) and PR pm-stack: per-service migration plan for the shared schema (#1744 slice 2) #4881 (per-service migration plan, slice 2), no open PR matches the epic, and the remainder is the epic's child work tracked by its own issues — no duplicate packet is created from this follow-on.
  13. dezren39
    removed their assignment
    on Nov 20, 2026
  14. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    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:

    • Phase 1 pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005 (orchestration state) — CLOSED (progress since the 2026-11-17 triage)
    • Phase 2 pm stack: centralize all service data as shared tables in one database schema #1744 (aggregator stores / shared schema) — OPEN
    • Phase 3 pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006 (feed DB-first) — OPEN
    • Phase 4 pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007 (backlogs as view) — OPEN
    • Phase 5 pm stack → Supabase phase 5 (#3142): central management surface — inspect / pause / repair every component's state #5008 (central management surface) — OPEN

    No new packet from the epic itself (standing rule, triages 8194/12098/18249/19796): phases re-enter coverage individually. No follow-on packet.

  15. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    design/pm-data-migrationsDesign: pm-data-migrations - all issues of this effort carry itepicMeta-issue grouping multiple items (org Project Type=Epic)epic/pm-stackReprioritization program epic (2026-11-12)source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.