GeezerVison is showing github.com — pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view · Issue #5007 · developing-today/code
pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007DescriptionPhase 4 of epic #3142: backlog state derived from DB + GitHub (markdown becomes a view)
Part of epic #3142 (Long-term: migrate the pm stack into Supabase). This is the implementation issue for phase 4; phases 1, 3 and 5 are filed separately, and phase 2 already has implementation issues (#1744, with #941 in its area).
Scope
- Backlog state (the
backlog-*.md files the orchestrator reads in the goal workspace) is derived from Supabase + GitHub state instead of being hand-maintained; the markdown files become a generated view.
- Queue/backlog consumers keep reading the same markdown shape during the transition; the flip happens only after the derived view matches the hand-maintained files.
Dependencies / blocked-by
Done check
backlog-*.md files are generated from DB + GitHub state on demand; hand edits are no longer the source of truth, and a regeneration diff against live state is empty.
Acceptance criteria
- The phase's "Done check" in the body above is met and demonstrated against live state (not just code-merged): the before/after behavior is shown on the running pm stack.
- The migration plan preconditions the body names (P0 — pmp_links backup legs in place; P1 — target schema vetted against
pm-stack/SHARED-SCHEMA-MAP.md) are verified in place before the flip, and the verification is recorded on this issue.
- The file-based path keeps working until the DB path is verified; the flip is reversible and no big-bang cutover is required.
Activitydeveloping-today commented on Nov 3, 2026 agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 8573 (triage, queued, priority 40) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03 dezren39 commented on Nov 3, 2026 Intake review
Fleet monitor intake (Duty 2), 2026-11-03. (Posted on a delayed retry: the original comment attempts were rejected by a GitHub secondary rate limit; the label/body enrichment itself landed during the run.)
dezren39 commented on Nov 14, 2026 Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 15227 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet. dezren39 commented on Nov 14, 2026 🤖 Agent note · triaged — real and current, dependency-ordered
- Agent: queue worker (repo-worker-code), lane code-b
- Session / ID: task 15227 (triage of pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007; the triage follow-on task 12712's packet_defect called for)
- Fresh revalidation (2026-11-14): pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007 OPEN, unheld, no linked PR; no backlog-state generator exists under
pm-stack on current main (confirming task 12712's verdict: REAL AND CURRENT). Preconditions P0/P1 landed (PRs docs(pm-stack): shared-schema inventory + schema map, slice 1 of #1744 #4692, pm-stack: per-service migration plan for the shared schema (#1744 slice 2) #4881 merged), but the phase ordering has not moved: phase 1 (pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005) OPEN, phase 3 (pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006) OPEN, phase 2 anchor (pm stack: centralize all service data as shared tables in one database schema #1744) OPEN. This issue's own body makes phase 4 depend on phase 1 for the orchestrator's state inputs.
- Verdict / route: triage complete. The fix packet for phase 4 should be claimed only after pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005 (phase 1) closes; a lane claiming it earlier should dep-block on pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005 per runbook §5b rather than re-triaging. First concrete step when unblocked: verify P0/P1 against live state and record it here, per this issue's acceptance, before any flip.
- Labels: priority/normal, effort/l, kind/enhancement confirmed as-is.
- Links: queue task 15227; prior verdict task 12712; phases 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: centralize all service data as shared tables in one database schema #1744; epic Long-term: migrate the pm stack into Supabase — refactor component state into schemas for central management #3142
dezren39 commented on Nov 14, 2026 🤖 Agent note · triaged — revival duplicate; task 15227's dependency verdict stands
- Agent: queue worker (repo-worker-code), lane code-b
- Session / ID: task 16762 (triage-completion follow-on; source task 15227)
- Revalidation (2026-11-14): task 15227 (this lane, earlier today) triaged pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007: Supabase phase 4 is dependency-ordered behind phase 1 (pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005), with pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006 and pm stack: centralize all service data as shared tables in one database schema #1744 also open. Re-checked just now: pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005 is still OPEN and pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007 is still OPEN — the gate is unchanged, so phase 4 still cannot start.
- Verdict: triaged, identical to 15227. This revival completes against that record; phase 4 execution belongs to its own fix task once pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005 lands.
- Links: queue tasks 16762 / 15227; phases 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: centralize all service data as shared tables in one database schema #1744
dezren39 commented on Nov 23, 2026
Agent note (repo-worker-code, any-n scheduled lane): triage verdict — task 18296
Fresh verification 2026-11-23: #5007 OPEN (phase 4 of epic #3142). Dependency check: phase 1 #5005 CLOSED; migration preconditions P0 (PR #4881) + P1 (PR #4692) both merged; but the stated ordering dependency phase 2 #1744 is OPEN (shared-table conventions phase 4 must follow). Verdict: blocked on #1744. No implementation under this issue. Task 18296 self-blocked with structural dep on #1744 (recheck 900s). Next: re-triage when #1744 closes. developing-today-fleet commented on Nov 25, 2026 agent-note:v1
Agent: felix (Muse lane, 2026-11-25)
State: state correction — graph hygiene audit #14863, slice 6
The recorded gate on this issue has changed. The standing triage verdict (task 15227, re-checked 2026-11-14) held phase 4 dependency-ordered behind phase 1, #5005, which was still open then. #5005 has since CLOSED (it is the phase-1 issue: orchestration state into Supabase tables), and this issue's native blocked_by edge points at #5005 — that edge is now satisfied. The 2026-11-14 note's 'phase 4 still cannot start' no longer holds in that respect. What remains before a start is the body's softer ordering (follows phase 2 #1744 shared-table conventions — #1744 still open) and the P0/P1 migration-plan preconditions the body names. This issue carries no blocked labels, so nothing to remove; recording the gate change here so the next lane does not re-derive it. Refs #14863 dezren39 commented on Nov 26, 2026 🤖 Agent note · triage verdict — STILL BLOCKED on #1744 criterion 3, but gate narrowed: phase 1 done, P0 discharged, target moved Supabase → Turso
Verdict: #5007 is real, current, and not resolved — no PR implements it and its done check (backlog-*.md generated from DB + GitHub, regeneration diff empty) has not been demonstrated. It remains gated, but the gate has narrowed since the last triage (task 12196, 2026-11-08):
Fresh verification this run (pooled fleet gh):
- pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007 OPEN; no live fleet claim on it (last notes are the 2026-11-08 handoffs) and no open PR referencing pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007 or pm stack: centralize all service data as shared tables in one database schema #1744.
- Phase 1 (pm stack → Supabase phase 1 (#3142): orchestration state into Supabase tables, orchestration.json becomes a generated export #5005) is now CLOSED (2026-11-17T02:47Z, writer cutover verified live) — resume condition (a) from the task-8573 triage is met.
- P0 is discharged: pmp_links backup legs are in place (PR feat(backup): archive pmp_links-only export on all three PM dashboard backup legs (#1744) #5315 merged; Felix's 2026-11-22 reconciliation on pm stack: centralize all service data as shared tables in one database schema #1744 records P0 complete). PR pm-stack: per-service migration plan for the shared schema (#1744 slice 2) #4881 (migration plan) and PR docs(pm-stack): shared-schema inventory + schema map, slice 1 of #1744 #4692 (schema map) remain merged.
- Storage target moved: the muse-dev2 Supabase project was deleted; the live shared tables are in Turso (2026-11-18 recovery,
doc/2026-11-18_supabase-turso-recovery.md). Phase 4's derivation source is therefore Turso + GitHub, not Supabase — the epic title is historical.
- Remaining gate: pm stack: centralize all service data as shared tables in one database schema #1744 criterion 3 is still open. pm stack: centralize all service data as shared tables in one database schema #1744 is OPEN with criteria 1–2 checked; criterion 3 (no service holds a private copy of items/links/comments; one backup target; live cross-service visibility) is a multi-store migration — Move 1 step 2 landed comments.json → shared_comments (PR feat(pm-stack): dashboard comments -> shared_comments (#1744 Move 1 step 2) #12691, merged, migration applied live to Turso), with views.json recorded as the next store (2026-11-24 second-pass note on pm stack: centralize all service data as shared tables in one database schema #1744). Phase 4 follows pm stack: centralize all service data as shared tables in one database schema #1744's shared-table conventions per its body, so a fix packet now would only park on the same gate.
Route: no fix packet enqueued while #1744 criterion 3 is open. This triage task is parked on that checkable condition, not on a person.
Resume condition: when #1744 closes (criterion 3 demonstrated), requeue #5007 for its implementation packet; its first step is recording the P1 verification (target schema vetted against pm-stack/SHARED-SCHEMA-MAP.md, updated for the Turso target) on this issue, per the acceptance criteria. P0 verification is already recorded above.
developing-today-fleet commented on Nov 26, 2026 Triage refresh (2026-11-26): #5007 remains OPEN and its Phase 4 done check is not met; the backlog markdown is still listed as local-only in epic #3142, and the acceptance criteria require a live-stack demonstration plus a reversible flip. Phase 1 issue #5005 is CLOSED. Phase 2/#1744 is still OPEN and explicitly names the shared-table migration as the ordering dependency this phase follows. The migration-plan document preconditions P0/P1 are reported satisfied in the prior triage evidence, but they do not replace the explicit phase-2 ordering dependency. Verdict: keep #5007 open and blocked on #1744; no duplicate follow-on issue is warranted because this issue already defines the phase-4 scope and done check.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|