GeezerVison is showing github.com — impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) · Issue #6816 · developing-today/code
impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816DescriptionSlice of #3989, routed by lane code-n triage 2026-11-07 (see the ownership-map comment on #3989).
Kaneo (Postgres), Grist, and Pad still keep their canonical stores in laptop Docker volumes (pm-stack_postgres_data, grist_grist_data, pad_pad_data). Drew's #1258 rulings (2026-11-03): all PM-stack state to Supabase muse-dev2, nothing laptop-only; failover posture is a tested cold restore within 4h (no warm standby); backups local+R2+Drive, daily 30d / monthly 12mo (routine owned by #1514, empty-generation handling by #3869 — consume, do not duplicate).
Acceptance criteria:
Activitydezren39 commented on Nov 7, 2026 Intake review
- Agent: fleet monitor (repo-fleet-monitor), run 2026-11-07 04:12 CST — protocol §5 intake pass.
- Still live: verified OPEN this run; a merged-PR search for this issue number found no PR that resolves it. Slice of issue impl(pm-stack): move stateful services off the laptop and prove host failover #3989; sibling slice issue impl(pm-stack): move the aggregator laptop-local JSON stores to Supabase muse-dev2 (#3989 slice) #6815 (aggregator stores); Drew's design(pm-stack): durability & host independence — stack state in backed-up durable storage, stack survives the laptop being off #1258 rulings govern the target state; backup routine is issue pm-stack databases (Kaneo Postgres, Grist, Pad) have no backup routine — docker volumes are the only copy #1514, empty-generation handling issue pm-stack backups silently produced empty day-dirs for 3 days (stale container names; no alarm) #3869 — consume, do not duplicate.
- Notes: Canonical data still laptop-only until this lands; the cold-restore drill is part of done, not an optional extra.
- Suggested approach: Migrate Kaneo to Supabase Postgres first (managed store), then Grist/Pad file stores, then run the laptop-off drill and write the runbook from what the drill actually needed.
- Labels normalized this pass: priority/high, effort/l + meta/enriched. Acceptance criteria were already present in the body.
developing-today commented on Nov 8, 2026 ContributorAuthor More actions dezren39 commented on Nov 26, 2026 🤖 Agent note · verified park — Lane RR (Archer queue lane, hourly work-loop 2026-11-26)
Premise + ownership check this run (all 52 comments read; no live claim, no held label on #6816 itself):
Blocker (verified fresh this run): child issue #15008 is OPEN with label status/blocked. Its stated unblock conditions are (1) a provisioned replacement canonical-store target — the original Supabase muse-dev2 target was deleted and provisioning is an account-holder/operations action, not a code slice — AND (2) an agreed coordinated operations window, since the laptop hosts the live PM stack and the drill takes PM surfaces offline by design. This run the laptop/queue tunnel is also down from this seat, so the cutover could not be driven or verified here regardless. No live services or data were touched; no duplicate gate/doc slice was opened.
Ready condition / next step: resume via #15008 once the replacement target is provisioned and the ops window is agreed; then run the cutover per STORE-MIGRATION-PLAN-6816 §4 using the merged gates and record the post-cutover drill. #6816 stays open as the parent slice record.
dezren39 commented on Nov 27, 2026 🤖 Agent note · 2207-B verified park — agent work loop ADVANCE (charlie), 2026-11-26 22:07 CST
Drawn via fleet agent next — rung: shortlist (push: empty; queue rung timed out on this draw), rank 3, "label priority/high". No queue task id was issued, so there is no queue task to park/complete; this note is this draw's disposition of record.
Premise + ownership check (all 53 comments read; no live claim, no held/user label on #6816):
Blocker fresh-verified this run: #15008 is OPEN with label status/blocked ("ops(pm-stack): provision replacement canonical-store target + execute #6816 live cutover and first laptop-off drill"). Its unblock conditions are (1) a provisioned replacement canonical-store target — the original Supabase muse-dev2 target was deleted; provisioning is an account-holder/operations action, not a code slice — and (2) an agreed coordinated operations window on the laptop hosting the live PM stack. The blocker is therefore not fleet-workable from this seat; no live services or data were touched and no duplicate gate/doc slice was opened. Concurs with Lane RR's verified park (2026-11-26T12:34Z).
Ready condition: resume via #15008 once the replacement target is provisioned and the ops window is agreed; then run the cutover per STORE-MIGRATION-PLAN-6816 §4 using the merged gates and record the post-cutover drill. #6816 stays open as the parent slice record.
developing-today-fleet commented on Nov 27, 2026 Lane code-i disposition (2026-11-26): parked without code changes. This checkout is not safe to use for an isolated slice: it is 3,761 commits behind origin/main and has extensive pre-existing modifications/untracked files, including changes under pm-stack and doc/pm-stack. I left all of them untouched. A clean Fleet worktree is required before selecting and implementing the next criterion. Resume: provision the lane worktree from current main, then re-check the issue criteria and ownership map before choosing a slice. dezren39 commented on Nov 27, 2026 Triage disposition — 2237-I lane, queue task 25293: SKIP (blocked remainder, already split to #15008)
Premise + ownership check (2026-11-26, all 55 comments read): #6816 is OPEN (priority/high, effort/l), no held/user label, no live claim on a new slice, and the #1752 end-state decision stands answered (Option A, 2026-11-08) — no Drew-decision gate. Concurring with the Lane RR and 2207-B verified parks, on fresh reads this pass:
Verdict: no small fix, no new packet; parent stays open and resumes via #15008. Task 25293 is parked on #15008's unblock, so the issue is not re-triaged in a loop.
dezren39 commented on Nov 27, 2026
0052-C verified park — agent work loop SUSTAIN (bravo), 2026-11-27 00:52 CST
Drawn via fleet agent next — rung: shortlist rank 3 (push down: bridge timeout; queue rung down: broker proxy closed). No queue task id issued.
Premise + ownership check (issue + all comments read via gh; fresh gh api re-reads this run): #6816 OPEN, priority/high, no held/user label, no live claim on a new slice. Every code slice named on this issue has landed — PRs #8072 (plan), #12824 (runbook + drill record), #13676 (promote gate), #14079 (rollback gate), #14590 (Grist/Pad sync + fencing), #14684 (target identity preflight), #14787 (Kaneo recovery-evidence gate). The remaining work is the live cutover itself, already split to #15008 — verified OPEN with label status/blocked this run ("provision replacement canonical-store target + execute #6816 live cutover"), awaiting a provisioned replacement target and a coordinated operations window (laptop/live-service work, outside this lane's no-clone/no-live-ops scope). Concurs with Lane RR / 2207-B verified parks and 2237-I's task-25293 SKIP disposition.
Wake condition: #15008 unblocks (replacement target provisioned + ops window scheduled), then the cutover executes there. No lane-executable code slice on #6816 until then. Lane 0052-C keeps going to the next draw. developing-today-fleet commented on Nov 27, 2026 OpenChamber scheduled Fleet lane code-i — 2026-11-27 fresh check. No new code slice is startable on #6816: all identified gates are merged, and the remaining live cutover / replacement-target drill is already split to #15008, which remains blocked on target provisioning and a coordinated operations window. I confirmed the criteria and existing dispositions in the issue comments; no live services or data were touched. No queue task ID was issued for this shortlist draw, so there is no queue claim to park. Resume via #15008 when its unblock conditions are met. developing-today-fleet commented on Nov 27, 2026
OpenChamber scheduled Fleet lane code-h — verified park, queue task 25293 (2026-11-27).
Drawn via fleet agent next (queue rung). Fresh premise check this run: #6816 OPEN (priority/high, effort/l), no held/user label, no open PR referencing #6816, no live claim on a new slice. All named code slices remain landed on main (plan #8072, runbook #12824 at doc/pm-stack/COLD-RESTORE-RUNBOOK.md, drill record #13025, gates #13676/#14034/#14079/#14157/#14590/#14684/#14787). The only remainder — live cutover + laptop-off drill against a replacement target — is split to #15008, verified OPEN with label status/blocked this run. No live services or data touched; no code changes made.
Wake condition: #15008 unblocks (replacement target provisioned / state change) or #6816 scope changes. Concurs with 2237-I, Lane RR, 2207-B, 0052-C, code-i dispositions. developing-today-fleet commented on Nov 27, 2026
Queue task 25293 completed after fresh triage of #6816. The implementation slices are already merged; the remaining live cutover and laptop-off drill are tracked by open blocked issue #15008. Added Related program: #6816 to #15008 so the verified disposition records the follow-up link explicitly. Fresh fleet queue verify-disposition returned merged_verified; no code or live services were changed. dezren39 commented on Nov 27, 2026 0322-B · agent work loop PRESS (delta) 2026-11-27 03:22 CST · queue draw 2 (shortlist rank 3; queue rung empty)
Premise + ownership check, firsthand this run: read issue body + ALL comments. No live claim on #6816 itself, no held/user/* labels on it.
Fresh verification:
- Step 1 already landed: PR docs(pm-stack): store migration plan + draft cold-restore runbook for #6816 step 1 #8072 MERGED 2026-11-10T00:37:17Z (merge ba7a57e) — STORE-MIGRATION-PLAN-6816.md + draft COLD-RESTORE-RUNBOOK.md, with live laptop inventory.
- Remaining acceptance is the cutover itself: Kaneo onto Supabase Postgres (muse-dev2), Grist/Pad into Supabase-backed homes, single-writer fencing, and the first isolated laptop-off drill recorded with measured RTO/RPO. That is live laptop + Supabase migration work, not a sandbox code slice.
- The record gates that cutover on Drew's reserved end-state decision: 2026-11-08 handoff caution (Kaneo/Postgres end-state reserved, pending-decisions ledger via nixos: bring Grist, Kaneo, Pad, ready-for-agent in as flake services — the last hand-run PM servers #1752) and the 2026-11-17 triage (comment 6937104020: "cutover waits on the nixos: bring Grist, Kaneo, Pad, ready-for-agent in as flake services — the last hand-run PM servers #1752 end-state decision"). Fresh read this run: nixos: bring Grist, Kaneo, Pad, ready-for-agent in as flake services — the last hand-run PM servers #1752 still OPEN.
Disposition: stand down, no code, no duplicate follow-up. Issue stays OPEN. Wake: Drew rules the #1752 end-state, then a laptop/live-infra lane executes the migration + drill per PR #8072's plan/runbook. developing-today-fleet commented on Nov 27, 2026 developing-today-fleet commented on Nov 27, 2026
OpenChamber scheduled Fleet lane code-h — verified park, priority-rung draw 2026-11-27 (no queue task id issued).
Fresh premise check this run against origin/main @87197929:
- impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816 OPEN (priority/high, effort/l), no held/user/do-not-merge labels, 0 open PRs referencing impl(pm-stack): Kaneo/Grist/Pad canonical stores to Supabase-backed homes + cold-restore runbook and first laptop-off drill (#3989 slice) #6816, no live claim on a new slice.
- Criterion states re-verified: (1) stores still laptop-canonical live (pm-stack-kaneo-1, pm-stack-postgres-1, pm-grist, pm-pad all Up; volumes pm-stack_postgres_data, grist_grist_data, pad_pad_data present) and §2 targets still unprovisioned/intended-only; (2) fencing mechanically gated (fence-check.sh + per-store gates, PRs feat(pm-stack): gate the Kaneo cutover on fence + exact parity (#6816) #13676/feat(pm-stack): gate Grist/Pad file-store sync on per-store fencing (#6816) #14590/fence(kaneo): pin pm-kaneo.service+timer in the failover fence (#3989) #15986); (3) runbook present (doc/pm-stack/COLD-RESTORE-RUNBOOK.md, PR docs(pm-stack): runbook to doc/pm-stack + first restore rehearsal record (#6816) #12824) but the laptop-off drill still owes a second Docker host + window (2026-11-23 drill was same-host); (4) rollback gated (feat(pm-stack): gate the Kaneo rollback on fence + replay parity (#6816) #14079), CF-unchanged stated in plan §1/§4 with Grist/Pad bindings pinned by tailnet-bindings.test.sh.
- Newest gate (pm-stack: require a fresh verified backup before Grist/Pad final #16240, Grist/Pad backup gate, merged 2026-11-27) is in this tree. Remainder (provision replacement target + live cutover + laptop-off drill) is owned by OPEN status/blocked ops(pm-stack): provision replacement canonical-store target + execute #6816 live cutover and first laptop-off drill #15008, which states its own unblock conditions (provisioned target + agreed ops window).
- Verdict: no independent code slice remains that does not duplicate merged work; concurs with the 2026-11-25 dual-lane verdict recorded on ops(pm-stack): provision replacement canonical-store target + execute #6816 live cutover and first laptop-off drill #15008 and today's code-g/code-i parks. No code changed, nothing claimed, nothing dangling.
developing-today-fleet commented on Nov 27, 2026
OpenChamber scheduled Fleet lane code-f — verified park, priority-rung draw 2026-11-27 (no queue task id issued).
Fresh premise check firsthand this run: #6816 OPEN (priority/high, effort/l), no held/user/do-not-merge labels, 0 open PRs referencing #6816, no live claim on a new slice. All named artifacts verified present on main: STORE-MIGRATION-PLAN-6816.md, doc/pm-stack/COLD-RESTORE-RUNBOOK.md, doc/pm-stack/restore-drills/2026-11.md, kaneo-cutover.sh + test, fence-check.sh + test, reconciliation 2026-11-23. Remainder (live cutover + laptop-off drill against a replacement target) is owned by OPEN status/blocked #15008. No code changed, no live services touched, no duplicate slice opened. Concurs with lanes RR / 2207-B / 2237-I / 0052-C / code-i / code-g / code-h.
Wake condition: #15008 unblocks (replacement target provisioned + ops window agreed). developing-today-fleet commented on Nov 28, 2026
OpenChamber scheduled Fleet lane oc-code-08 — verified park, priority-rung draw 2026-11-27 (no queue task id issued).
Fresh premise check firsthand this run against origin/main @42f0f6c2c91: #6816 OPEN (priority/high, effort/l), no held/user/do-not-merge labels, 0 open PRs referencing #6816, no live claim on a new slice. All named artifacts verified present on main: STORE-MIGRATION-PLAN-6816.md, doc/pm-stack/COLD-RESTORE-RUNBOOK.md, fence-check/kaneo-cutover/grist-pad-sync scripts + tests (incl. merged #14590). Remainder (live cutover + laptop-off drill against a replacement target) is owned by OPEN status/blocked #15008. No code changed, no live services touched, no duplicate slice opened. Concurs with lanes RR / 2207-B / 2237-I / 0052-C / code-i / code-g / code-f / code-h.
Wake condition: #15008 unblocks (replacement target provisioned + ops window agreed). developing-today-fleet commented on Nov 28, 2026 \nOpenChamber scheduled Fleet lane code-h — verified park, priority-rung draw 2026-11-28 (no queue task id issued).\n\nFresh premise check firsthand against origin/main @50fc7fd3: #6816 OPEN (priority/high, effort/l), no held/user/do-not-merge labels, 0 open PRs referencing #6816, no live claim on a new slice. All named artifacts verified present: pm-stack/STORE-MIGRATION-PLAN-6816.md, doc/pm-stack/COLD-RESTORE-RUNBOOK.md, doc/pm-stack/restore-drills/2026-11.md, pm-stack/scripts/{kaneo-cutover,fence-check,grist-pad-sync}.sh + tests, ownership map + 2026-11-23/24 reconciliations. Remainder (live cutover + laptop-off drill against a replacement target) is owned by #15008, verified OPEN status/blocked (+queue/claimed). No code slice startable; no code changed, no live services touched. developing-today-fleet commented on Nov 28, 2026
OpenChamber scheduled Fleet lane code-i — verified park, priority-rung draw 2026-11-28 (no queue task id issued).
Fresh premise check firsthand this run against origin/main @b0dda0ba435: #6816 OPEN (priority/high, effort/l), no held/user-owned/do-not-merge/do-not-auto-edit labels, 0 open PRs referencing #6816. All 12 named artifacts present (STORE-MIGRATION-PLAN-6816.md, COLD-RESTORE-RUNBOOK.md, restore-drills/2026-11.md, kaneo-cutover/fence-check/grist-pad-sync drivers + tests, target-preflight/recovery-point/restore-point checks, reconciliation 2026-11-24); all four gate suites pass (kaneo-cutover, grist-pad-sync, fence-check, ownership-map). Live laptop state re-read: pm-stack-kaneo-1, pm-stack-postgres-1, pm-pad Up 45h, pm-grist Up ~1h, all on laptop-local volumes (pm-stack_postgres_data, grist_grist_data, pad_pad_data) — criterion 1 cutover not executed. New main commits since the 04:16 park touch aggregator push code only (#14084/#15561); the #6816 set is unchanged.
Remainder (provision replacement target + live cutover + laptop-off drill) is owned by #15008, verified OPEN status/blocked (+queue/claimed, +work/assigned) — wake condition not fired. No independent code slice remains that does not duplicate merged work. No code changed, no live services touched, nothing claimed, nothing dangling. Concurs with the code-g/code-h/code-f/oc-code-08 parks of the last 24h.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|