GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — audit: all backup paths across Cloudflare, Turso, laptop, and seats · Issue #14864 · developing-today/code

audit: all backup paths across Cloudflare, Turso, laptop, and seats #14864

New issue
Copy link
New issue
Copy link
Done
Done
audit: all backup paths across Cloudflare, Turso, laptop, and seats#14864
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus/needs-triageNot yet triaged; needs a first lookstatus:done

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 25, 2026
Issue body actions

Audit every backup path that involves Cloudflare, Turso, the laptop, or the Muse seats' own environments, end to end:

  • Inventory each backup: what it captures, where it lands, schedule, retention, last verified restore.
  • Document major issues: gaps (data with no backup), wasted duplication (the same data backed up multiple times to the same or equivalent targets), unverified restores, timers that exist on one seat but not another, and backups whose only copy lives on the machine they protect.
  • Small findings: fix them immediately (flip the switch, fix the timer, dedupe the job) and record on this issue what was solved and how.
  • Large findings: file a research/design issue at priority/critical and link it here; do not let a big redesign block the small fixes.

Known starting points: the #8584 GitHub-backup/rehost program (R2 + Workers smart-HTTP, git.security.cab), the fleet-queue-backup D1 export timer, the sandbox state/home backup timers, and the mirror timers — several of these have drifted or missed fires in the last week, which is exactly the class of thing this audit should catch systematically rather than anecdotally.

Filed by Felix on Drewry's direction (2026-11-24). agent-note:v1 — state: filed; Found via: owner direction.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-25T05:27:04Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • A backup inventory is recorded on this issue covering Cloudflare, Turso, the laptop, and the seats: for each backup — what it captures, where it lands, schedule, retention, and last verified restore.
  • Small findings are fixed immediately and recorded here with what was solved and how.
  • Large findings are filed as research/design issues at priority/critical and linked here, without blocking the small fixes.
  • Gaps (data with no backup), wasted duplication, unverified restores, seat-only timers, and backups whose only copy lives on the machine they protect are each explicitly documented, including for the named starting points (issue Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2 #8584 program, fleet-queue-backup D1 export timer, sandbox state/home timers, mirror timers).

Activity

  1. developing-today-fleet
    added
    priority/highImportant and time-sensitive
    kind/infrastructureInfrastructure / host-portability work
    on Nov 25, 2026
  2. developing-today commented on Nov 25, 2026

    @developing-today
    developing-todayBot
    on Nov 25, 2026 – with developing.today
    Contributor
    More actions

    CODE-5410

  3. developing-today-fleet
    added
    effort/mMedium: expected under 1 day of work
    app/fleetpkgs/fleet multicall binary + platform crates
    status/needs-triageNot yet triaged; needs a first look
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 25, 2026
  4. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Intake review

    Fleet monitor intake pass (protocol §5), 2026-11-25.

    • Related: starting point program issue Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2 #8584 (GitHub backup/rehost); fleet-queue-backup and sandbox/mirror timers named in the body.
    • Still live: verified open this run; merged-PR search returned no PR that explicitly resolves this issue (see notes).
    • Notes: Filed by Felix on Drew's direction. A merged-PR search for '14864' returned only unrelated number matches; the audit is still live. It already carries priority/high.
    • Risks: Medium: the audit surface is broad and partly on the laptop/seats; unverified restores are the highest-value finding class and should be tested, not assumed.
    • Suggested approach: Inventory first, fix small findings in the same pass, file large ones at priority/critical, and record everything on this issue.

    🤖 Agent note · filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor cron run 2026-11-25 00:14 CST
    • Found via: monitor reconciliation (intake candidates)
    • Task: intake enrichment for issue audit: all backup paths across Cloudflare, Turso, laptop, and seats #14864
    • Expectation: effort/m; done = labels normalized, acceptance criteria appended, this review posted
    • Links: starting point program issue Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2 #8584 (GitHub backup/rehost); fleet-queue-backup and sandbox/mirror timers named in the body
  5. dezren39
    added 2 commits that reference this issue on Nov 25, 2026

    docs(fleet): backup inventory for #14864 with drift-guard test

    f11e94d

    docs(fleet): #14864 — JOB-BODY.md is missing from the tree; record as…

    39c74d2
  6. developing-today
    added
    status:in-review
    on Nov 25, 2026
  7. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026
    Member
    More actions

    Progress (xaltha lane): first slice landed as PR #14916 — #14916

    • Inventory recorded in the fleet book (pkgs/fleet/book/operations/backup-inventory.md): 9 backup paths with captures / target / schedule / retention / last verified restore, covering all four named starting points (Fleet unification slice 6: backups — Turso into D1, repos to Cloudflare plus mirror plus R2 #8584 mirrors + fleet-queue D1 export, sandbox/seat timers, mirror timers).
    • Findings documented explicitly: only-copy-on-same-machine (agent credential snapshots, id node state), timers not defined in the repo (cold-store nightly, runtime-db-export cron, fleet-queue export), unverified restores for most rows, single-target legs (Drive-only nightly; D1 has no backup home — the large finding is already the impl(atlas/fleet): backup mesh — all-Turso 14d restic-zstd to R2, R2/laptop/Drive mesh, D1+laptop DBs into Turso #9093 mesh design, legs impl(backups): mesh leg — Turso platform DBs (fleet-queue, fleet-platform, atlas) → R2 restic deltas #13455–impl(backups): mesh restore-verification rotation + watchdog surface (#1841) #13463, so no duplicate filing).
    • New small finding: pkgs/agent-backup/README.md names JOB-BODY.md as the diff-verified cron body, but the file is not in the tree — the running job has no in-repo copy. Recorded in the inventory; not fixed here because the authoritative body lives in the stored cron, which a docs PR cannot reconstruct.
    • Verification (remote only): drift-guard test backup-inventory.test.sh — run 45563601242 failed on the missing JOB-BODY.md (the guard working), run 45564536449 Execute step success after the fix. Dispatch itself hit the known TLS defect fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185, so both runs used the fleet-command.yml fallback.

    Still open on this issue: laptop/seat-side timer verification and restore exercises for the unverified rows.

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

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    agent-note:v1 — state: claimed by felix lane (seat muse). Starting the end-to-end backup-path audit: inventory across Cloudflare (R2/D1/Workers), Turso, laptop, and seats, with evidence per path (timer last-fire, D1 meta, R2 listings, restore records). Small seat-local findings will be fixed in this pass and recorded here; large findings filed at priority/critical and linked.

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

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    agent-note:v1 — state: audit complete (felix lane). Full record: PR #14966, doc/2026-11-25_audit_backup-paths.md. Everything below was read live on 2026-11-25 (restic listings, D1 meta, Turso/R2 APIs, timer state, git ls-remote probes).

    Inventory (condensed; full table in the doc)

    Seats → R2 supabase-backups (restic/rclone)

    • A1 config: ~/.config → restic-sandbox-config, daily 03:37 CT, 14d/8w. 16 snapshots.
    • A2 home: /home/hatch per-entry → restic-sandbox-home, daily 04:37 CT, long anchors. 2,225 snapshots, 2026-10-31 → 2026-11-24.
    • A3 mirror: home → sandbox-home-staging (rclone crypt) daily 03:10 CT → laptop pull 05:30 CT → restic-sandbox-home-laptop (14d/8w/12m).
    • A4 watchdog verifies A1–A3 timers every 15 min. A5 hatch-autocommit (45 min) firing normally.
    • Last verified restore for A1/A2: the real 2026-11-21 seat rebuild from these repos.

    GitHub backup / rehost (#8584 program, laptop units in infra/github-backup/systemd/)

    • B1 plain mirrors (18 owners) → laptop ~/backups/github. B2 R2 bundles. B3 rehost: R2 fleet-git-rehost + Worker, git.security.cab. B4 five-copy freshness probe, daily 04:10. B5 config-declared gaps: vertexinc unmirrorable (SAML), dezren39/edsebooks HTTP 451, NixOS no webhook coverage.

    Turso / queue

    • C1 fleet-queue → D1 fleet-queue-backup export: _fleet_queue_backup_meta.exported_at = 2026-11-23T15:27:30Z (read live; ~41 h stale). Restore drill passed 2026-11-23. Symptom tracked on Fleet queue backup failing silently #10296.
    • C2 all 42 Turso DBs (org dezren39; 33 atlas-* + fleet-queue/platform/mirror/dispatch-jobs, muse-meta, bedside-and-away, notes-submissions, voice-line-ledger, great-star-lord): delete_protection=true on all (verified); no fleet-side backup except C1 — recovery = Turso PITR, window unverified, never drilled. Mesh program (epic: storage program — backups, cold store, and disk headroom #8988/impl(atlas/fleet): backup mesh — all-Turso 14d restic-zstd to R2, R2/laptop/Drive mesh, D1+laptop DBs into Turso #9093/impl(backups): mesh leg — Turso platform DBs (fleet-queue, fleet-platform, atlas) → R2 restic deltas #13455/impl(backups): mesh replication — R2 → laptop and R2 → Google Drive restic copies #13457/impl(backups): mesh leg — D1 exports → Turso backup home (fleet-queue-backup D1 first) #13458/impl(backups): mesh class-A restic backup runner — fleet-queue/fleet-platform/atlas → R2 restic-turso-mesh (#13455 slice 2) #14247) not live; first-light impl(backups): mesh class-A live first light — init restic-turso-mesh, first snapshots + delta measurement (#13455 slice 3) #14250 still at intake.
    • C3 observed: six same-named D1 copies of Turso DBs created 2026-11-25T03:14–03:15Z during the program: move PM Stack, queues, and all unblocked services to Workers + D1 (Cloudflare-first) #14866 work; copy-vs-replication undetermined from this seat.

    Other Cloudflare

    • D1 atlas-ledger-snapshots R2 bucket (cadence undocumented). D2: 12 D1 databases with no fleet backup evidence (D1 PITR reliance, same class as C2). D3: the restic repos and rehost packs live solely in R2; the R2→laptop/Drive replication leg (impl(backups): mesh replication — R2 → laptop and R2 → Google Drive restic copies #13457) is not live.

    Findings

    • F1 — config backup silently captured a near-empty tree (exposure FIXED in this pass). Scheduled snapshots 2026-11-23/24 hold 44 files (20–36 KiB) vs 4,255 files / 84 MiB healthy and 3,834 files live. No minimum-content guard. Fixed exposure: manual run 2026-11-25 → snapshot f1c40e1e, 83.884 MiB, full tree. Guard filed (hatch-personal#100).
    • F2 — home-backup cycle uncompleted since 2026-11-22. cycle-failed marker, no last-run.done, entry-state frozen — while the repo kept receiving snapshots through 2026-11-24. Retention prune execution since 2026-11-22 unconfirmable. Filed (hatch-personal#100).
    • F3 — mirror chain dead at the first hop since 2026-11-14 (last completed run 2026-11-14 18:01; no state activity since 2026-11-15), so the laptop repo of record also stopped ~2026-11-14. Filed (hatch-personal#100).
    • F4 — the laptop leg is a single point of failure, currently failed (filed: design: de-single-point the backup plane's laptop leg (mirrors, R2 bundles, rehost publisher, freshness probe, queue export) #14964, priority/critical design). install-units.sh never ran (laptop checkout parked, pm-console: the laptop's console has not followed main since 2026-11-23 22:09Z #13833), so B1 mirrors drift, B2 has no new bundles, B3's publisher never ran — probed live: git.security.cab serves only developing-today/fleet (HEAD unchanged since the 2026-11-24 proof); developing-today/code and dezren39/darwin-nix return "not found" — B4's probe is itself off so nothing alerted, and C1 is 41 h stale.
    • F5 — largest uncovered surface: managed-DB PITR reliance (C2 + D2), owned by the existing mesh program; no duplicate filed.
    • F6 — duplication/single-copy: A2 and A3 duplicate the same tree into the same bucket (A3 was directed 2026-11-14 to replace A2; it never did, and is now the stalled one). A1's separate config repo is deliberate (documented 2026-10-28). B1 mirrors' only copies currently sit on amd-6 itself, since their off-machine leg (B2) is uninstalled. Restic repos/rehost packs exist only in R2 (see D3).

    Fixed in this pass

    1. F1 exposure — full config snapshot taken and verified (above).
    2. Seat timers verified live on the current incarnation (keeper had restored them after this morning's recycle); no dead seat timer found. The stale mirror run.lock is flock/fd-held, not a blocker — no action.

    Filed

    • dezren39/hatch-personal#100 — backup jobs must verify effect, not just run (F1–F3 + watchdog effect checks).
    • design: de-single-point the backup plane's laptop leg (mirrors, R2 bundles, rehost publisher, freshness probe, queue export) #14964 — design: de-single-point the backup plane's laptop leg (F4), priority/critical. Enqueue attempted and refused by the packet validator (kind=design is not enqueueable); reason recorded on design: de-single-point the backup plane's laptop leg (mirrors, R2 bundles, rehost publisher, freshness probe, queue export) #14964.
    • F5/F6: recorded here and in the doc; owned by epic: storage program — backups, cold store, and disk headroom #8988 children, no duplicates.

    Acceptance check

    Inventory recorded (this comment + doc) ✓ · small findings fixed and recorded (F1 exposure, timer verification) ✓ · large findings filed at priority/critical and linked (#14964; F1–F3 root-cause work in hatch-personal#100) ✓ · gaps, duplication, unverified restores, seat-only timers, and only-copy-on-the-machine cases each documented, including all four named starting points ✓.

    Remaining: PR #14966 awaits Felix's review/merge; #14864 can close once the doc lands.

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

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Audit complete and landed: PR #14966 merged 2026-11-25T08:55:44Z (doc/2026-11-25_audit_backup-paths.md). F1 (truncated config snapshots) fixed in-pass with a verified full snapshot; remaining findings filed as hatch-personal#100 (backup guards, dead home-backup cycle, dead mirror chain) and code#14964 (priority/critical — the laptop backup leg is a single point of failure and currently failed; queue D1 export stale since 2026-11-23T15:27:30Z). Closing this audit issue; the follow-ons carry the work. Refs #14864

  11. developing-today-fleet
    closed this as completedon Nov 25, 2026
  12. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 25, 2026
  13. dezren39
    added a commit that references this issue on Nov 26, 2026

    Merge pull request #14916 from developing-today/xaltha/14864-backup-i…

    c2d4a38
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/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivestatus/needs-triageNot yet triaged; needs a first lookstatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.