GeezerVison is showing github.com — pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived · Issue #5006 · developing-today/code
pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006DescriptionPhase 3 of epic #3142: fleet-feed pipeline DB-first
Part of epic #3142 (Long-term: migrate the pm stack into Supabase). This is the implementation issue for phase 3; phases 1, 4 and 5 are filed separately, and phase 2 already has implementation issues (#1744, with #941 in its area).
Scope
- Fleet-feed snapshots land as Supabase rows first; the JSON the aggregator serves is derived from the DB, not transported file-to-file (retire the collector -> scp -> laptop-aggregator JSON-file pipeline as the source of truth).
- Served JSON shape does not change — only its backing store.
- Keep the current file pipeline working until the DB path is verified, then flip (no big-bang).
Dependencies / blocked-by
Done check
- A feed snapshot is written to Supabase by the collector and the aggregator serves JSON derived from those rows; removing the transported JSON files does not change what the dashboard shows.
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 8574 (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 🤖 Agent note · triaged — precondition verification recorded (acceptance asks for exactly this)
Precondition verification against pm-stack/SHARED-SCHEMA-MIGRATION-PLAN.md (fresh, 2026-11-14):
- P0 — pmp_links backup legs: COMPLETE. The plan records P0 as complete via PR feat(backup): archive pmp_links-only export on all three PM dashboard backup legs (#1744) #5315 (dashboard archive stages and verifies the pmp_links-only export on the local, R2, and Drive legs). The plan and map PRs themselves are merged (pm-stack: per-service migration plan for the shared schema (#1744 slice 2) #4881, docs(pm-stack): shared-schema inventory + schema map, slice 1 of #1744 #4692). This gate holds.
- P1 — target schema vetted: PARTIAL, and not yet for this phase's tables. The vetted slice covers only the first action group: a column contract + reversible, locally tested DDL for
public.agg_actions and action outcomes in public.shared_events — explicitly not applied to muse-dev2, and the plan states "P1 remains open for the other agg_* / shared_* groups". Phase 3's target is the agg_ feed/cache group (SHARED-SCHEMA-MAP.md: fleet-feed.json → "agg_ feed/cache"), which sits in that unvetted remainder. The flip precondition for phase 3 therefore does not hold yet.
- Ordering dependency also open: this phase "follows the shared-table conventions established by phase 2 (pm stack: centralize all service data as shared tables in one database schema #1744)" with the feed table design reviewed against pm stack: centralize all service data as shared tables in one database schema #1744 first. pm stack: centralize all service data as shared tables in one database schema #1744 is OPEN (priority/high, marked
next) — the conventions are still being established, and the Move-1 execution venue (impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815, aggregator JSON stores → Supabase) is where the remaining agg_* groups get vetted and moved.
Disposition: phase 3 implementation is correctly sequenced but not yet claimable — its two named gates are P1-for-the-feed-group and the #1744 conventions, both with live venues (#1744, #6815, and the plan's per-group P1 slices). No new task is enqueued from this triage: a phase-3 packet now would either duplicate those venues or invite a flip before its precondition holds, which this issue's acceptance forbids. Added label: status/waiting-dependency. When the feed/cache group's column contract + reversible DDL lands (the P1 slice pattern the actions group already followed), this issue's verification updates to P0 ✓ / P1 ✓ and the implementation becomes claimable as filed — no re-triage of the phase itself is needed, only the updated verification recorded here.
Task 15249 completes as triaged, follow_up_task_ids [] (blocking work already has venues: #1744, #6815).
dezren39 commented on Nov 14, 2026
Agent note — task 16808 blocked on dependency (lane any-b)
- state: blocked
- task: 16808
- issue: pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006
- kind: triage (re-packet; triage source task 15249)
- reason_class: dependency
- Fresh check (2026-11-14): task 15249's dependency verdict from earlier today (12:06Z) stands and is adopted: phase 3's flip precondition does not hold — the feed/cache group has no vetted P1 column-contract + reversible-DDL slice yet, and the shared-table conventions this phase must follow are still being established by pm stack: centralize all service data as shared tables in one database schema #1744 (OPEN, priority/high, marked
next), with the Move-1 execution venue at impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815 (OPEN). Both gates verified still OPEN by this lane just now.
- Structural block: task 16808 is blocked with
--blocked-by-issue on pm stack: centralize all service data as shared tables in one database schema #1744 and impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815 (7-day TTL), converting task 15249's prose verdict (and the issue's status/waiting-dependency) into the broker-tracked gate. When both close, pm stack → Supabase phase 3 (#3142): fleet-feed snapshots land as DB rows first, served JSON derived #5006's implementation is claimable as filed — per task 15249, only the updated P0/P1 verification needs recording, not a re-triage of the phase.
- Labels: queue/blocked + status/blocked set by this lane (status/waiting-dependency already present).
dezren39 commented on Nov 17, 2026
Agent note — task 18295 blocked on dependency (lane any-i)
🤖 repo-worker-code · lane any-i · queue task 18295 dezren39 commented on Nov 21, 2026 agent-note:v1
event: picked_up
task: 16808 (triage, repo-health-code-pilot; worker repo-worker-code; lane oc-code-02)
by: OpenChamber scheduled lane
at: 2026-11-21T13:38:30Z
Fresh revalidation: #5006 is OPEN, no hard-stop labels, and no competing open PR matching phase 3. Both recorded gates remain open: #1744 (shared-table conventions) and #6815 (Move-1 execution venue). The latest dependency verdict (#18295, 2026-11-17) still matches current GitHub state; no changed issue body or newer comment provides evidence that P1 feed/cache schema vetting is complete. Next: re-record broker dependencies and keep the item blocked until both gates close.
dezren39 commented on Nov 21, 2026 agent-note:v1
event: blocked
task: 16808
worker: repo-worker-code
lane: oc-code-02
reason_class: dependency
Fresh checks on 2026-11-21: #5006 remains OPEN with no matching open PR; dependency #1744 remains OPEN and #6815 remains OPEN. The latest phase-3 verification still applies: P0 backup legs are complete, but P1 target-schema vetting for the feed/cache group is absent; no evidence of the prerequisite schema contract/reversible DDL or completed shared-table conventions has appeared. Re-blocked task 16808 with broker dependencies on #1744 and #6815 (7-day maximum TTL; hourly recheck). Resume when both close, then verify feed/cache P1 evidence before any implementation/cutover.
developing-today-fleet commented on Nov 24, 2026
🤖 Agent note · triage verdict — lane oc-code-08 (task 18295, 2026-11-24)
Fresh state: #5006 OPEN (status/blocked, status/waiting-dependency, queue/blocked, effort/l); no open PR references phase 3; no P1 target-schema vetting for the feed/cache group on record. Dependency gate is half-clear since the last check (task 16808, 2026-11-21):
Verdict: still actionable but blocked — the phase-3 flip precondition (vetted conventions from #1744) is unmet. Blocking this triage task on #1744 with timed recheck; no follow-on packet routed, no code changed. developing-today-fleet commented on Nov 25, 2026 agent-note:v1
Agent: felix (Muse lane, 2026-11-25)
State: verified-blocked — graph hygiene audit #14863, slice 6
Fresh check: this phase's block is real and still in place. The body names two gates: (1) the SHARED-SCHEMA-MIGRATION-PLAN preconditions P0 (pmp_links backup legs) and P1 (target schema vetted), and (2) the ordering review — the feed table design is reviewed against phase 2 (#1744) first, and #1744 is still OPEN. The #1744 dependency was prose-only; it is now also a native blocked_by edge (verified via the dependencies API after adding). status/blocked + queue/blocked + status/waiting-dependency match reality. Refs #14863 developing-today-fleet commented on Nov 27, 2026 Fresh triage recheck (OpenChamber code-i, 2026-11-27): #5006 remains OPEN and its phase-3 precondition #1744 remains OPEN (acceptance criterion “After migration” is still unchecked). No scoped follow-on is ready to proceed until that dependency lands; keeping this item blocked on #1744 rather than duplicating the prior triage. Resume by rechecking #1744 and routing the next independently shippable phase-3 packet once its shared-data migration gate is satisfied.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|