GeezerVison is showing github.com — docs(fleet): backup inventory across Cloudflare, Turso, laptop and seats (#14864 slice) by dezren39 · Pull Request #14916 · developing-today/code
Conversation
dezren39
commented
Nov 25, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Refs #14864 — first slice: the repo-defined backup inventory.
What lands
pkgs/fleet/book/operations/backup-inventory.md (linked from the book SUMMARY): 9-row inventory — captures / target / schedule / retention / last verified restore — for the GitHub mirror system (infra/github-backup/), cold-store nightly + archive (pkgs/cold-store-reaper/), agent credential snapshots + runtime DB export (pkgs/agent-backup/), the laptop legs and Turso PITR/Delete Protection (per the impl(atlas/fleet): backup mesh — all-Turso 14d restic-zstd to R2, R2/laptop/Drive mesh, D1+laptop DBs into Turso #9093 backup-mesh record), the fleet-queue D1 export, and id node state.
- Explicit findings section: only-copy-on-the-machine-it-protects (agent snapshots, id nodes), seat/machine-only timers not defined in the repo (cold-store nightly timer, runtime-export cron, fleet-queue export timer), unverified restores (most rows; cold-store quarterly drill is the exception), single-target legs (Drive-only nightly, D1 with no backup home), and the already-filed OpenCode-session-DB gap (research(atlas): OpenCode DB backup economics — copy vs zstd vs restic-delta cost + growth model #9094 / impl(backups): mesh leg — OpenCode session DB backup (gated on research #9094) #13462).
- New finding caught by this slice's own test:
pkgs/agent-backup/README.md names JOB-BODY.md as the diff-verified cron body, but that file is not in the tree.
backup-inventory.test.sh: drift guard (strict no-argument contract per Design: unknown means stop — one strict argument contract for the repo's operator scripts #3352) that fails if any repo path the inventory cites disappears.
Verification
Remote only, per the remote-build runbook. fleet queue dispatch hit the known TLS defect #13185 (invalid peer certificate: UnknownIssuer), so verification ran via the fleet-command.yml fallback:
- Run 45563601242: FAILED as designed — the drift guard caught the missing
JOB-BODY.md; fixed in 39c74d2.
- Run 45564536449:
Execute target command step completed/success (all 10 cited paths present).
Remaining on #14864: laptop/seat-side timer verification and restore exercises for the rows marked unverified; the large single-target finding is already the #9093 mesh design (legs #13455–#13463).
{
"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-25T07:09:00Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch/workspace/github-work/code-14864",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch/workspace/github-work/code-14864",
"repo": "developing-today/code",
"branch": "xaltha/14864-backup-inventory",
"sha": "39c74d28866d8ae3dbb4b89c135c3c887c76d02e"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Cross-system inventory of repo-defined backup paths (GitHub mirrors,
cold-store nightly + archive, agent credential snapshots, runtime DB
export, laptop legs, fleet-queue D1 export, Turso PITR, id node state)
with captures/target/schedule/retention/last-verified-restore, plus
explicit findings: only-copy-on-machine, seat-only timers not defined
in the repo, unverified restores, single-target legs.
Refs #14864
… finding, drop from drift guard
coderabbitai
Bot
commented
Nov 25, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 47 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
2087dc90-f644-4595-85e1-aa811a5c61c2
Commits
-
Reviewing files that changed from the base of the PR and between e0d5d02 and fa85058.
Files selected for processing: 3
-
pkgs/fleet/book/SUMMARY.md
pkgs/fleet/book/operations/backup-inventory.md
pkgs/fleet/book/operations/backup-inventory.test.sh
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…nventory
# Conflicts:
# pkgs/fleet/book/SUMMARY.md
|
Refresh (xaltha lane): merged current origin/main (e0d5d02) into xaltha/14864-backup-inventory — new head fa85058. One conflict, in pkgs/fleet/book/SUMMARY.md, resolved as a union (both sides only added index entries; all three linked pages exist). PR is MERGEABLE again. Verification: fleet-command run 45770206962 (bash pkgs/fleet/book/operations/backup-inventory.test.sh) — the Execute target command step completed with success; the run still shows in_progress only because the runner-side post-execution cleanup step has been hung since 06:49Z (job metadata).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Shepherd verification (queue task 24022, lane WU):
- Premise/ownership: no labels, no live claim, no held/user gate on this PR; linked audit: all backup paths across Cloudflare, Turso, laptop, and seats #14864 is CLOSED (status:done). This PR's fleet-book chapter is NOT superseded:
pkgs/fleet/book/operations/backup-inventory.md does not exist on main (404) — PR doc: backup-path audit 2026-11-25 — inventory and findings F1–F6 #14966 merged the separate doc/ audit record, not this book chapter.
- Reviews: 0 reviews, 0 review comments. The only PR comment besides the refresh note is CodeRabbit's rate-limit notice (no findings).
- Mergeability re-checked immediately before merge: MERGEABLE / CLEAN at exact head
fa85058795e84f0d7df6233ec71973f0b4e399db.
- Verification on exact head: prior recorded fleet-command run 45770206962 reported the drift-guard Execute step success on this head (that run id no longer resolves via the Actions API — noted). Independently replicated the drift guard (
backup-inventory.test.sh) logic from this seat: all 9 cited repo paths return 200 at head fa85058 — infra/github-backup/config.json, infra/github-backup/systemd, pkgs/cold-store-reaper/scripts/{nightly-backup,export-turso,restore-drill}.sh, pkgs/agent-backup/{backup.sh,README.md}, pkgs/id/book/operations/backup-and-restore.md, doc/2026-11-23T16-34-18Z_design_backup_mesh/note.md. Guard would exit 0.
- Checks on head: CodeRabbit NEUTRAL, Proof SKIPPED, dependabot SUCCESS — no failures.
Merging via merge commit under standing merge authority.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|