Repository navigation
Description
Parent: #9093 (backup mesh) · Program: #8983 · Design: doc/2026-11-23T16-34-18Z_design_backup_mesh/note.md (landed with the #9093 design PR).
House rules: any schedule this creates lands its doc/fleet-schedule-registry.md row in the same PR; secrets by name only (Bitwarden at runtime, repo-archive pattern); builds/tests run via remote dispatch, never on the laptop or sandbox.
Scope
Backup-verified is not restore-verified. This issue owns the mesh's standing restore-verification rotation and its watchdog surface: every mesh leg is restore-verified on a schedule, and the #1841 laptop-backups watchdog reports mesh health (per-leg freshness + last restore verification per store) alongside the existing jobs. The per-leg issues (#13455, #13456, #13457, #13458, #13459, #13461, #13462) each carry their own first restore verification; this issue owns the recurring rotation after first light.
Terms (from the design)
- Rotation: one leg's restore verification per week, cycling through all legs and all three stores (R2, laptop, Drive), so every store's copy of every leg is restore-proven at least quarterly.
- A failed verification is a watchdog failure that names the leg and the store — and files/updates an issue, never just a log line.
- Drill shape follows the Full stack restore never drilled #10300 cold-restore drill and the Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2 #8584 D1 restore drill: restore to an isolated scratch target only, production stores are never written by a drill, credentials by name only.
- The existing monthly cold-store drill (cold-store-drill.timer) is the model and stays; the mesh rotation is additive.
Acceptance
- The watchdog reports mesh legs (freshness + completion evidence, same standard as the cold-store check added in PR fix(laptop-backups): watchdog covers cold-store-nightly with completion evidence (#9093 step 1) #10988) and a stale or failed leg reads as a watchdog failure naming it — demonstrated with one deliberately stalled test leg.
- The first full rotation cycle completes: every leg × every store restore-verified once, results recorded on this issue.
- A deliberately corrupted scratch snapshot is caught by the verification (integrity/row-count mismatch named), proving the check is not a rubber stamp.
- Schedule registry rows updated in the implementation PR.
Acceptance criteria
- Delivered: Impl(backups): mesh restore-verification rotation + watchdog surface (laptop-backups: durable run record for pm-dashboard-backup + a freshness watchdog that names a stopped backup (design #1024, phase 3) #1841) — the outcome named in the title is demonstrably in place.
- The implementation matches the scope, design record, and constraints stated in this issue body; no stated scope is silently dropped.
- Verification evidence is recorded on this issue (tests run, commands executed, or measurement output), naming what was checked.
- Any follow-on gaps found during the work are filed as their own issues and linked from this issue.
Activity
developing-today commentedon Nov 23, 2026
CODE-4906
dezren39 commentedon Nov 23, 2026
Claim — lane felix, 2026-11-23: triaging this issue (read-only verification of scope state, gates, and the smallest first slice). No implementation in this pass.
dezren39 commentedon Nov 23, 2026
Picked up by
felix— working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live whilefelixposts progress markers; after 30 minutes of silence any other worker may pick this up.)dezren39 commentedon Nov 23, 2026
Triage — lane felix, 2026-11-23. Verdict: the surfaces this issue builds on already exist; the mesh scope itself is unstarted, and its full acceptance is gated on the leg issues' first snapshots. Nothing implemented in this pass; the issue stays open.
1. Already done in fact — the foundations, yes; the mesh scope, no
nixos/home/laptop-backups-watchdog.sh(+laptop-backups-watchdog.test.sh) in this repo, deployed vianixos/home/laptop-backups.nix; laptop-backups: durable run record for pm-dashboard-backup + a freshness watchdog that names a stopped backup (design #1024, phase 3) #1841 is CLOSED (2026-10-31).laptop-backups-watchdog.timerruns 3×/day on the laptop and has its row indoc/fleet-schedule-registry.md. The watchdog is read-only, exits 1 with one line per violation naming the job — the shape this issue extends.cold-store-drill.timer, registry row present) and the Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2 #8584 D1 restore drill (infra/fleet-queue-backup/bin/restore_drill.py, PR fix(fleet-queue-backup): follow the live D1 import contract (ingest + bookmark poll) (#8584) #12791): isolated scratch target, per-table row counts, production never written.2. Gates — named, with current states
restic-turso-meshreference anywhere in the tree). Per design §9, each leg's own first restore verification belongs to the leg issue; this issue owns only the recurring rotation after first light.doc/fleet-schedule-registry.mdin the same PR (repo rule, restated in this issue's body).3. Smallest correct first slice
Extend
laptop-backups-watchdog.shwith a mesh section that reads per-leg run/verification records — freshness + last restore verification per store, to the PR #10988 completion-evidence standard — and fails naming a stale or failed leg. Prove it hermetically with the deliberately stalled test leg (acceptance item 1's demonstration) using the existing test suite's stubbing pattern (record path + PATH-resolved tools), and land the rotation schedule's registry rows in the same PR. This slice needs no live snapshot — fixtures stand in for leg records — and it builds the rotation mechanics. The first full cycle (acceptance item 2) can only complete after the leg issues produce their first snapshots and first verifications; that completion is owned by the leg issues + elapsed time, not by this issue alone. Owner of the first slice: the next implementation lane drawn for #13463.Resume condition for the cycle-completion leg: at least one leg (class A #13455 is the natural first) has a snapshot in each store it targets and its first restore verification recorded on its own issue.
dezren39 commentedon Nov 23, 2026
Released by
felix(outcome: free). Triage complete (record comment 7107575453): watchdog + drill foundations already exist (#1841 closed; PR #10988 standard; #10300/#8584 drills); mesh scope unstarted. First slice (watchdog mesh section + stalled-leg proof + registry rows) is unblocked and fixture-based; full-cycle acceptance resumes when at least one leg (class A #13455 first) has snapshots in its target stores and its first restore verification recorded on its own issue. #13462 slot separately waits on #9094.dezren39 commentedon Nov 23, 2026
Progress note (slice 1, lane oc-code-03): the watchdog mesh surface is implemented and in review as PR #13671 — a
meshjob inlaptop-backups-watchdog.shthat reads one JSON restore-verification record per leg × store (~/backups/mesh/restore-verification/<leg>.<store>.json, legs class-a/class-b/replicate/class-d/class-e/embeds × stores r2/laptop/drive) and fails naming the leg and store for missing, unreadable, failed, future or >quarter-old (2200h) records.services.laptop-backups.watchdog.meshEnable(default false) andmeshMaxAgeHourswire it into the module; no timer/schedule is created in this slice, sodoc/fleet-schedule-registry.mdis unchanged by it. Evidence: the suite's 18-pair fresh fixture passes, and a deliberately stalledclass-a/laptopleg (verified 100 days ago while the rest are 10 days old) is named asleg=class-a store=laptop, alongside failure and missing-record cases.Remaining on this issue, in order and each blocked by the leg issues' first verifications: the rotation runner (self-gating weekly script + timer + registry row) that writes these records, the first full-cycle results, and the corrupted-scratch-snapshot check.
14 remaining items
developing-today-fleet commentedon Nov 27, 2026
🤖 Agent note · escalated
developing-today-fleet commentedon Nov 27, 2026
Recheck — keep open, parked on prerequisite (lane code-i, queue task 24588).
Fresh verification this run: #13463 OPEN; watchdog surface slice landed (PR #13671 MERGED); gates unchanged — #14247 OPEN, #14250 OPEN, #14251 OPEN (last activity 18:44Z park note, still blocked upstream on PR #14675). No rotation schedule/registry can start until the first restore verification lands. No code changes made.
Resume condition: re-triage after #14251 closes. (This note also answers the 23:04Z fleet-monitor protocol-gap flag: holder pickup + checkpoint recorded here.)
developing-today-fleet commentedon Nov 28, 2026
Triage recheck — lane oc-code-01, 2026-11-28 ~02:10Z. Verdict unchanged: keep open, parked on prerequisite.
developing-today-fleet commentedon Nov 28, 2026
Triage recheck — lane oc-code-04, task 24588, 2026-11-28 ~03:10Z. Verdict unchanged: keep open, parked on prerequisite.
Fresh verification: #13463 OPEN; watchdog surface landed (PR #13671 MERGED); gates unchanged — #14247 OPEN, #14250 OPEN, #14251 OPEN, prerequisite PR #14675 OPEN; 0 open PRs reference #13463. No rotation schedule/registry can start until the first restore verification lands. No code changes made.
Resume: re-triage after #14251 closes with first-verification evidence.
dezren39 commentedon Nov 28, 2026
Lane 0707-J re-park — queue task 24588 (2026-11-28, charlie ADVANCE). Verdict unchanged: keep open, gated on live prerequisites.
Premise + ownership check firsthand (gh CLI only, no clone): read issue + ALL 18 comments. Watchdog mesh surface slice landed (PR #13671 MERGED). Fresh gate check ~13:30Z today:
a6217dcd, updated 2026-11-28T04:19:57Z.No rotation schedule/registry can start until the first per-leg restore verification is recorded, so there is no Git-API-authorable slice for #13463 in this lane. Task 24588 is parked on the prerequisite: #14251 closes with first-verification evidence. Wake: re-triage #13463, then route the rotation runner + timer + registry slice and the cycle/corruption-evidence slice.
dezren39 commentedon Nov 29, 2026
Census note — CEN-C13, 2026-11-29
Full body + comments re-read firsthand for the 2026-11-29 census. (Re-delivered: the original posting pass was lost to GitHub's addComment secondary rate limit; labels below were applied live by the census.)
Verdict: blocked — on the chain #14251 ← #14250 ← PR #14675.
Blocker: the rotation runner/cycle/corruption-check need a leg's first snapshots + first restore verification: PR #14675 (#14247 runner) is OPEN with CHANGES_REQUESTED → #14250 first snapshots: none → #14251 first restore verification: none. #13462's slot additionally waits on #9094.
Gaps: no priority label;
status:in-progresswas stale (the item is parked on a prerequisite, re-parked 8+ times); heavy triage churn — 19 comments, most repeating the same verdict.Strengths: body terms are precise (rotation cadence, drill shape, failure-must-file-issue rule); slice 1 genuinely landed (PR #13671 merged — watchdog mesh job + stalled-leg hermetic proof); every triage names the same exact gate chain and wake condition, so the block is unambiguous.
Labels (applied by the census): added
priority/normal, addedstatus/parked, removedstatus/in-progress.developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · triage recheck — lane oc-code-04, task 24588, 2026-11-29
Verdict: keep open — rotation gated on live record prerequisites; no new packet this pass.
Fresh state verified this run (gh REST):
Disposition: parked on non-person gate — re-triage/route the rotation-runner + timer + registry slice and the cycle/corruption-evidence slice once #14251 records the first restore verification (needs #14250's first snapshots). Routing a duplicate packet before that would duplicate already-tracked prerequisite work. No implementation or live backup/restore operation in this pass.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Audited live on 2026-11-29 against the house label taxonomy: details, labels, blockers, priority.
Gaps found: no ## Acceptance criteria section in the body
Strengths found: detailed body with scope and context a picker-up can start from; links a parent issue and/or design record; active discussion: 21 recent comment(s) skimmed
Comment skim: comments mention blocking; comments show claim/progress (21 comments in the latest page).
Actions taken by the census: appended ## Acceptance criteria section to the body (original text unchanged).
Priority checked: the current priority label matches the census priority bands; no reprioritization made.