GeezerVison is showing github.com — impl(backups): mesh file leg — local atlas-search shard + side-store vector files (follow-on of #13824) · Issue #14032 · developing-today/code
impl(backups): mesh file leg — local atlas-search shard + side-store vector files (follow-on of #13824) #14032DescriptionFollow-on of #13824 (inventory leg for #13461) · Program: #8983 · Design: doc/2026-11-23T16-34-18Z_design_backup_mesh/note.md §§2, 6.
Finding (from the #13824 inventory, doc/backups/embedding-store-inventory.md)
Two embedding stores can live as local files with no mesh leg today:
- Local scan-shard files —
atlas-core-<tier>-<topic>-<nn>.db, written by the promotion aggregator (pkgs/atlas-search/crates/atlas-core/src/aggregate.rs, shard_dir.join("{shard_name}.db")) and served when ATLAS_SHARDS=dir:<path>. The 2026-10-31 census counts 29 topic shards (28 internal / 1 secret / 0 public) as part of the canonical store on the laptop. atlas-backup covers only ~/atlas/turso-atlas/data/atlas.db — not a shard dir.
- Local side-store vector files — named by
ATLAS_VEC_DB (pkgs/atlas-search/crates/atlas-core/src/local.rs), vectors joined to the local publish by content_hash. No leg covers them.
Turso-homed shards are fine: the class-B rotation (#13456) enumerates them from turso db list. The gap is only the local-file homes.
Scope (this issue only)
- Verify the live homes first (runtime check, laptop): which shard mode the live service runs (
ATLAS_SHARDS — turso[:org] or dir:<path>, and the dir if local), whether ATLAS_VEC_DB is set anywhere, and whether the query-embedding cache Turso DB (ATLAS_EMBED_CACHE_TURSO_URL) exists (turso db list — if it exists it is a class-B rotation member by enumeration, no leg needed).
- Land the leg: a restic file leg for the local files that exist (same R2 mesh repo + copies pattern as the design §2, or a named file-level restic leg), with its
doc/fleet-schedule-registry.md row in the same PR.
- Or record the exclusion: if a store does not exist live (e.g. no local shard dir,
ATLAS_VEC_DB unset), record that by name in the inventory with the evidence, instead of building the leg.
Acceptance
Not queued
This issue was filed by a work lane mid-task; no triage packet was enqueued in this pass because the repo-queue enqueue path was not available from this seat — the coverage reconciliation backstop (scripts/fleet/queue-reconcile/) should pick it up, or a queue lane can enqueue its triage packet.
{
"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-24T02:51:50Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "bbfc8aa3a3b4f3e3d399b7e76beb6962c0daa5b9"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activitydeveloping-today commented on Nov 24, 2026 developing-today-fleet commented on Nov 24, 2026 ContributorAuthor More actions Correction to the "Not queued" note in the body: the triage packet was enqueued in the same pass — queue repo-health-code-pilot, task 21637 (dedupe key repo-health:v1:triage:developing-today/code:issue:14032, status parked at enqueue). The repo-queue enqueue path is available from this seat; the note above was written before the enqueue was verified.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|