Skip to content

pm stack → Supabase phase 4 (#3142): backlog state derived from DB + GitHub, markdown becomes a view #5007

In progress

Description

@dezren39

Phase 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.

Activity

  1. added
    priority/normal
    effort/l
    status/needs-triage
    app/pm-stack
    meta/enriched
    on Nov 3, 2026
  2. added
    queue/queued
    source/creator
    task/triage
    on Nov 3, 2026
  3. developing-today commented on Nov 3, 2026

    @developing-today
    Contributor

    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

  4. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    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.)

  5. added
    work/assigned
    queue/claimed
    status/in-progress
    and removed
    status/needs-triage
    on Nov 3, 2026
  6. 89 remaining items

  7. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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.

  8. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    Contributor

    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

  9. dezren39 commented on Nov 26, 2026

    @dezren39
    MemberAuthor

    🤖 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):

    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.

  10. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    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.

  11. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · census 2026-11-29 (lane CEN-C03)

    Blocker (named): the same P0/P1 migration-plan preconditions as phases 3 and 5, plus ordering after phase 1 (orchestration state in Supabase). Labels: added status/waiting-dependency — its sibling phases carry it (#5006 does); this one didn't. Priority: normal (unchanged).

  12. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix):

  13. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: none material.
    Strengths: phase scope is crisp (backlog state derived from DB + GitHub, markdown becomes a view), ## Acceptance criteria present, labels complete (kind/enhancement, priority/normal, status/waiting-dependency, effort/l, app/pm-stack).
    Blocker recorded: phase ordering inside the #3142 Supabase migration — this phase follows phase 3 (#5006), which the status/waiting-dependency label already reflects.
    Actions: Verified complete — no changes needed.

  14. added
    status/blocked
    on Nov 30, 2026
  15. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · lane 0640-PI (Felix) — P1.4 status backfill (Refs #17071, #14863). Added status/blocked: this issue is verified-blocked in the #14863 audit and live re-verification shows open native blocker(s) #1744; the label was missing. No other labels changed.

  16. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    P1.2 handoff prune (Felix, main seat, Refs #17071): removed the stale native blockedBy edge #5007 → #5005. #5005 is CLOSED (verified live); the edge was deferred by lane 0640-PY's tranche-3 pass only because #5007 sat in lane 0640-PI's in-flight P1.4 set at the time — that set has now released (PI completed; its status/blocked backfill on this issue stands, evidence 7274969541). After-state verified by re-read: blockedBy = {#1744} only, #1744 OPEN, so status/blocked is correctly retained. With this prune, P1.2's stale-edge work is fully closed out: the only closed-blocker edges left in the open status/blocked set are the two deliberate retentions (#14403 → #14400 per 7274089883, and #1086 → #1084 under the user/escalated hard stop).

  17. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    P3.2 collision adjudication — Felix lane 0640-WH (claim 7283792252 on #17071): this issue carried two status labels, status/blocked + status/waiting-dependency. Kept status/blocked — status/blocked was applied 2026-11-30T09:59:45Z, after status/waiting-dependency (2026-11-29T14:07:31Z), in the current graph pass. Removed status/waiting-dependency. No other labels touched; priority band unchanged.

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

    app/pm-stackdesign/pm-data-migrationseffort/lepic/pm-stackkind/enhancementmeta/enrichedpriority/normalsource/creatorstatus/blockedtask/triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions