docs: Phase 1 gate — REPORT/CONTEXT/README for v0.52.0 double-nest fix
REPORT.md overwritten with the Phase-1 gate run (catalog template fix + agreement test + live RomM migration on guest 9201, gate PASSED). CONTEXT.md dated entry. README HDD_PATH/felhom-data convention note corrected for Model-A single-nesting. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
+10
-2
@@ -328,8 +328,16 @@ The nightly backup has two phases that run sequentially. All paths are **per-dri
|
||||
└── media/ ← user files (not controller-managed)
|
||||
```
|
||||
|
||||
> **Note:** `HDD_PATH` env var in `app.yaml` is still the mount point (e.g., `/mnt/hdd_1`). The `felhom-data` segment is embedded in path helpers — not in `HDD_PATH`.
|
||||
> Pre-v0.26.0 installations use `<drive>/appdata/` and `<drive>/backups/` directly (no `felhom-data/` namespace).
|
||||
> **Note (Model A — corrected in v0.52.0):** `HDD_PATH` in `app.yaml` is the **in-guest mount point**
|
||||
> (e.g., `/mnt/felhom-usb`). Under slice-10 Model A the host agent binds `<drive>/felhom-data` directly
|
||||
> onto that mount, so the in-guest mount **already is** the `felhom-data` namespace root. Neither the
|
||||
> compose templates nor the path helpers add a `felhom-data` segment for a drive-resident app: app data
|
||||
> is `${HDD_PATH}/appdata/<app>` and backups `${HDD_PATH}/backups/...`, **single-nested**. Only the
|
||||
> SSD-only system-data fallback (a bare root, `inGuestDrive=false`) appends `felhom-data`. See
|
||||
> `NamespaceRoot(drivePath, inGuestDrive)` in `internal/appbackup/paths.go`.
|
||||
> Earlier catalog templates used `${HDD_PATH}/felhom-data/appdata/<app>`, which double-nested to
|
||||
> `.../felhom-data/felhom-data/...` on a Model-A drive; v0.52.0 dropped that segment in the catalog and
|
||||
> locks deploy↔backup path agreement with `internal/stacks/hddpath_agreement_test.go`.
|
||||
|
||||
Path computation is centralized in `backup/paths.go` via the `FelhomDataDir = "felhom-data"` constant:
|
||||
- `PrimaryResticRepoPath(drivePath)` → `<drive>/felhom-data/backups/primary/restic/`
|
||||
|
||||
Reference in New Issue
Block a user