REPORT: v0.232.0 - the determination, the walk's three extra findings, the golden
gates / gates (push) Successful in 13s

This commit is contained in:
2026-09-01 10:49:57 +02:00
parent 62c6a8a98a
commit 4e13fdaaa0
+140 -299
View File
@@ -1,352 +1,193 @@
# REPORT — R-87: the box proves its own off-site copy still holds something (2026-08-31) # REPORT — one writer at a time, and a check that can run (2026-09-01, v0.232.0)
Controller **v0.231.0** · hub **v0.110.0** · both deployed and verified live on `demo-hp`. ## 1. Part 2.1's answer — the determination that decided Phase 3
--- **Neither label fitted. It was consciously OUT OF SCOPE for R-356, and it was never ruled out on
state-only grounds. → BRANCH (a).**
## 1. Baselines, re-checked at the start Evidence, in the order it settles it:
| repo | `main` @ | matched the task's stated baseline? | 1. **R-356's own commit (`08eb1a6`) says so, twice, in its tests:** *"the prepared scratch **still
resolves** to the registered storage path (`offboxRestoreScratchDir` step 2) … **only the
DESTINATION moves**, which is precisely what this change is about."* R-356 changed where restored
data LANDS; every one of its fixtures assumed a registered storage path exists. **`demo-felhom`,
with `storage_paths: []`, is the case it never had.**
2. **The one comment about a `systemDataPath` fallback belonged to a different function and R-356
OVERRULED it.** Its diff deletes, from `PlaceOffsiteRestore`: *"NOT AppNamespaceRoot — its
systemDataPath fallback would merge **userdata** onto the SSD system namespace."* That was about
bulk userdata, not a scratch.
3. **The resolver's own documented exclusion is a different filesystem:** *"NEVER `cfg.Paths.DataDir`
(the rootfs)"*. `SystemDataPath` is not that.
4. **Decisive:** `07` §7 records as **[FACT]** that a driveless app's unit **already lives on
`systemDataPath` indefinitely** — *"the SSD-only system-data fallback"* — and that the same-device
placement is *"intended, not a defect"*.
**Built: branch (a), SCOPED**, because the two callers ask different questions and one predicate
answering both is the R-356 defect itself:
| restore | fallback | why |
|---|---|---| |---|---|---|
| `felhom-controller` | `2d802d75e88616d86cbade8a0e16965c2b85771c` (v0.230.0) | **yes** | | **unit-only** (the proof) | **yes**, to the system data path | the unit already lives there permanently (§7); the scratch is bounded by that unit's size and deleted every time |
| `felhom.eu` | `177c75781e11e24fddbaf73c2159f1efd82479e4` | **yes** | | **full** (bulk userdata) | **no** — keeps the R-252 refusal | the internal SSD is a **state-only** tier (§2.2) |
| `felhom-agent` | `058b9450648a359856a4102bea4650e33d8884cd` (v0.130.0) | **yes**, untouched |
All three trees clean, `HEAD == origin/main`. `MinAgent` stays **0.129.0**. §6.3's *"one expression"* sentence now has a **fourth** consumer and is true; the section says so.
--- ## 2. Confirmed baselines
## 2. §5's two answers | repo | `main` @ | matched? |
### 5.1 The acceptance rule
**Two parts, and part 1 alone is the trap.**
1. everything the manifest declares is present in the restored unit, **and**
2. **the manifest declares what the app is supposed to have.**
The spike's own summary — "check it against its own packing list" — is part 1, and taken literally it
**passes a hollow unit**, because a hollow unit declares nothing. That is exactly the shape the job
exists to catch. Part 2 is the whole value.
`JudgeRestoredUnit` (`r403_hollow.go`) returns **three** outcomes: `pass`, `fail`, `cannot_judge`.
### 5.2 Where the expectation comes from — and the volume half WAS built
**From inside the unit, never from the live box.** The snapshot may predate the app's current shape,
and `GetDockerVolumes` (`backup.go`) enumerates from live Docker, which answers a different question.
| half | source | built? |
|---|---|---| |---|---|---|
| database | `DBServiceNames(composePath)` on the unit's own captured compose — the same discriminator `RestoreFromRecoveryUnit` uses, so this cannot disagree with the restore path about what an app is | **yes** | | `felhom-controller` | `9aea86cd48e2b9aceab7ca1e03df7e693b392e4e` (v0.231.0) | **yes** |
| volumes | `ParseComposeNamedVolumes(composePath)` on the same file | **yes, as an EXISTENCE check** | | `felhom.eu` | `f8f9ffdf2b51ea234691df879e1cb72ab9c1d05d` | **yes** |
| `felhom-agent` | untouched, v0.130.0 | **yes** |
**The volume half was BUILT, not deferred, and it is deliberately not a name match.** §5.2 asked me to
establish whether the unit's compose can answer it before building on it. It can — measured, not
assumed, on all eight real units on `demo-hp`:
```
bookstack 2 tars / 2 compose volumes opengist 1 / 1
docmost 3 / 3 privatebin 1 / 1
kimai 2 / 2 calibre-web 1 / 1
romm 3 / 3 paperless-ngx 3 / 3
```
and `<stack>_<volume>.tar` held in every case. **But "held on eight" is not "derivable":** volume tars
are `<project>_<volume>.tar` and `ResolveDockerVolumeNames` derives the project from
`filepath.Base(filepath.Dir(composePath))`, which **inside a unit is the literal string `compose`**,
not the stack. So the existence question (*does the compose declare named volumes → the manifest must
declare at least one tar*) needs zero inference and was built; name-level matching needs the
project-prefix inference and was not. R-355's rule: a claim about the app must never be inferred from
a counter. **Half a rule that is true beats a whole rule that is invented.**
---
## 3. Files created / modified ## 3. Files created / modified
**Created:** `internal/backup/offbox_proof.go`, `internal/backup/r87_judgement_test.go`, **Created:** `internal/backup/r408_invariant_walk_test.go`, `r411_lock_flag_test.go`,
`internal/backup/r87_proof_job_test.go`, `internal/backup/r87_wiring_test.go`, `r414_reachability_test.go`, `r412a_push_wording_test.go`; `felhom.eu/scripts/test_golden_currency_gate.py`;
`internal/notify/r87_proof_event_test.go`. `felhom.eu/documentation/audits/R411-R414-2026-09-01/`; `felhom.eu/documentation/tests/golden-0.232.0-2026-09-01/`.
**Modified (controller):** `internal/backup/r403_hollow.go` (the judgement, beside the R-403 **Modified (controller):** `offbox_restore.go` (two acquires + the scoped fallback),
predicate it reuses), `internal/backup/offbox_restore.go` (`offboxScratchDirIn` + `offbox_integrity.go` (the two false sentences), `offbox_proof.go` (`CannotRun`, and the cleanup fix),
`unitOnlyHeadroom`), `internal/backup/offbox_verify_copies.go` (`offsiteProofRootFor`), `offbox.go` (the hollow-push wording + one acquire), `shares_restore.go` (one acquire), plus
`internal/backup/offbox.go` (report fields), `internal/settings/settings.go`, `CHANGELOG.md`, `CONTEXT.md`, `controller/README.md`.
`internal/notify/notifier.go`, `internal/web/handler_debug.go`,
`internal/web/templates/debug.html`, `cmd/controller/main.go`, plus `CHANGELOG.md`, `CONTEXT.md`,
`REUSE.md`, `controller/README.md`.
**Modified (felhom.eu):** `hub/internal/api/handler.go`, `hub/internal/notify/dispatcher.go`, **Modified (felhom.eu):** `scripts/golden_currency_gate.py`, `07-backup-architecture.md` §6.3,
`hub/CHANGELOG.md`, `manifests/hub.yaml`, `scripts/wire_contract_gate.py`, the capability map, `00-capability-map.md`, both registers, `audits/RECON-subdomain-onboarding-2026-07-31.md`, `STATUS.md`.
`07-backup-architecture.md`, `ROADMAP.md`, both registers.
--- ## 4. Commits
## 4. Commits pushed to `main`
| repo | commit | what | | repo | commit | what |
|---|---|---| |---|---|---|
| `felhom.eu` | `1aeaa30` | hub v0.110.0 — allowlist + operator-only + the wire-contract allowlist | | `felhom-controller` | `fcef8e0` | the flag on four entry points, the walk, the corrected comments, R-414, R-412a |
| `felhom-controller` | `e43b5ec` | v0.231.0 — the judgement, the job, the alarm, 33 tests | | `felhom-controller` | `8b55de7` | the fallback scratch must also be DELETABLE — caught by live validation |
| `felhom-controller` | `303129e` | the by-hand trigger | | `felhom-controller` | `62c6a8a` | CHANGELOG, CONTEXT rulings, README |
| `felhom.eu` | *(this report's commit)* | evidence, capability map, architecture, registers | | `felhom.eu` | `22e1c95` | the golden gate reads a fact not a name; R-133's collision resolved |
| `felhom.eu` | `f41a1a0` | six rows closed + compressed, determination + live evidence, capability map |
**The hub shipped FIRST and that ordering is load-bearing:** an event type the hub does not allowlist ## 5. Tests, and the red-proofs by name
is answered **400 and vanishes**. Deploying the controller first would have made every alarm silent
until the hub caught up.
--- **18 new tests.** Full suite **28 packages, rc=0**; all 13 controller gates OK; all 13 `felhom.eu`
gates OK (golden-currency now **green**).
## 5. Tests and the red-proofs | red-proof | what was broken | result |
**33 new tests**, all green. Full controller suite **1689 tests / 28 packages / rc=0**; hub suite **18
packages / rc=0**. All 13 controller gates and all 13 `felhom.eu` gates OK except the declared
golden-currency debt (§8).
**Five red-proofs, run and recorded — each with the wrong value visible:**
| # | what was broken | result |
|---|---|---| |---|---|---|
| **A2** | the rule replaced by "every declared file is present" (§5.1's trap) | `TestR87_HollowUnitForAnAppWithADatabaseFAILS` FAILED: **`got verdict="pass"`** — and two siblings failed with it | | **B1a** | the acquire removed from `RestoreOffboxScratch` | walk FAILED: `[RestoreOffboxScratch]` |
| **A3** | the expectation source dropped; alarm on any empty unit | `TestR87_AppWithNoDatabaseAndNoVolumesPasses` FAILED: **`got verdict="fail" reason="database_expected_none_captured"`** | | **B1b** | an unregistered fake entry point calling `resticStep` | walk FAILED: `[zzFakeUnflaggedEntryPoint]` |
| **B2** | the deferred scratch delete removed | `TestR87_ScratchIsDeletedOnEveryPath` FAILED on **all four** rows: *"…/backups/offsite-proof/kimai still exists"* | | **C1** | the fallback dropped **and** the `Err` path restored | FAILED with `last_proof_result` absent and the R-252 refusal — `demo-felhom`'s exact nightly state |
| **B3** | the restore routed the customer path's way (`unlockStale` + `resticStep`, no `--no-lock`) | `TestR87_NeverWritesToTheRepository` FAILED: **`the proof issued a WRITE verb "unlock"`**, with the argv printed | | **D1** | the single unconditional `[INFO] backed up …` line restored | FAILED: *"the hollow push line must say what it did not carry"* |
| **B5** | `ProvedSnapshots` recording `time.Now()` | `TestR87_ProvedSnapshotIsRecordedNotATimestamp` FAILED (**`got "2026-08-31T18:36:47Z"`**) **and so did the rotation** — *"night 2 re-picked bookstack"*, which is the real consequence | | **E1** | the gate reverted to name-matching | self-test FAILED cases 1, 2 **and 3** |
| **(extra)** | the system data path dropped from `removeProofScratch`'s roots | FAILED: the copy still on disk |
**Three further red-proofs on the wiring**, because an AST test that matches nothing passes silently: **A3** is asserted as the non-effect (`--remove-all` in no argv) and is proven directly by B1a, which
dropping the `sched.Daily` registration, emptying its closure, and un-guarding the alarm each failed names the function; every red-proof was reverted and the file confirmed **byte-identical**.
`TestR87_JobIsRegisteredInMain` / `TestR87_RunnerAlarmsOnlyOnFail` by name.
Every red-proof was reverted and the file confirmed **byte-identical** afterwards. ## 6. Test count
**Test count: 1656 → 1689 (+33).** *(An earlier `git stash` comparison produced a nonsense "545 **1689 → 1707 (+18)**, counted directly. *(The `git stash` comparison is not used — it misled a
before" — stashing the tracked edits left the new untracked files behind, so the tree did not build previous session by leaving untracked files behind and breaking the build.)*
and packages silently failed to list. Counted directly instead; the instrument was the problem.)*
--- ## 7. The Phase 1 collision, rerun — verbatim
## 6. Deployed version **Sampler controlled first:** **12** `locks=1` samples across a real integrity check, **4** `locks=0`
while quiet. A sampler that has never seen a 1 cannot be trusted to report a 0.
``` ```
demo-hp guest 9201: gitea.dooplex.hu/admin/felhom-controller:0.231.0 Up (healthy) --- restore, then check +1s --- "skipped":true "skip_reason":"a backup or restore is already running" "duration_ms":0
hub (k3s): gitea.dooplex.hu/admin/felhom-hub:0.110.0 Synced / Healthy --- restore, then check +3s --- "skipped":true "skip_reason":"a backup or restore is already running" "duration_ms":0
'unlock --remove-all' in the sampler: 0
any 'unlock' at all: 0
'cleared a stale exclusive lock' in the log: 0
``` ```
--- The drill saw that last line **twice**. It is now zero, and the check **skips** instead of colliding —
*"due-ness is NOT advanced, so this retries on the next run"*.
## 7. The five live validations — endpoint level, on `demo-hp` ## 8. The proof reaching a verdict on `demo-felhom` — verbatim
Method: `POST /api/debug/backup/offsite-proof`, the exact endpoint the debug button invokes. No Before (unchanged from the drill): `registered storage paths: 0`, `last_proof_result: '<ABSENT>'`.
browser on DooPlex; only client-side rendering is unexercised.
### 7.1 The good case — **PASS**
``` ```
{"stack":"bookstack","snapshot":"91154be7","verdict":"pass","duration_ms":2913} {"data":{"duration_ms":2116,"snapshot":"61e9cf30","stack":"opengist","verdict":"pass",...},"ok":true}
[INFO] proof: bookstack PASSED on snapshot 91154be7 in 2.913s
last_proof_result 'pass'
last_proof_snapshot '61e9cf30'
proof: opengist PASSED on snapshot 61e9cf30 in 2.117s — the backup holds what this app should have
(no LEFTOVER lines above = the copy was deleted)
``` ```
**2.913 s against the spike's measured 2.3–4.0 s band.** The scratch was **gone** afterwards, the
verdict persisted (`proved_snapshots {'bookstack': '91154be7'}`, `last_proof_result 'pass'`), and the
customer's own verification copies were untouched — including `bookstack`'s, which sat in
`backups/offsite-restore/` throughout.
### 7.2 The case that matters — **the hollow backup was CAUGHT** **A defect of mine that this run caught**, before any of it was believed: the fallback resolved a
``` scratch that `removeProofScratch` then **refused to delete** — *"refusing to remove … it is not inside
[ERROR] proof: opengist on snapshot f32e1078 is READABLE AND EMPTY a proof root"* — because its accepted-roots list is built from REGISTERED drives, of which that box has
(volumes_expected_none_captured: opengist_data) none. Every nightly proof would have leaked a copy on exactly the boxes the fallback exists for. **No
— the store is not damaged; the backup does not contain this app's data unit test could see it: they all register a drive.** Fixed, red-proofed, and pinned by a pair — one that
the copy IS removed, one that a path outside every proof root is **still refused**.
Event pushed: offsite_proof_empty (error) — A(z) opengist legutóbbi távoli mentése olvasható, Its debug button also returned **501 `Nem bekötött`** at first — the whole `DebugCallbacks` block is
de nem tartalmazza az alkalmazás adatait. A tároló nem sérült — a mentés készült el üresen. gated on `logging.level == "debug"`, which is pre-existing and applies to every debug button. Enabled
A mentést újra el kell készíteni; addig ebből a mentésből nem lehet visszaállítani. temporarily, and the config **restored from its backup** afterwards (`level: info`).
PushEvent: offsite_proof_empty pushed OK (HTTP 200)
```
**Exactly one** event (`grep -c "Event pushed: offsite_proof_empty"` → **1**), severity **`error`**,
and the hub answered **HTTP 200** — which is itself the proof the allowlist entry landed, because an
unallowlisted type is 400'd. Verdict persisted with its reason. **Scratch deleted on the failure path
too.**
**HOW THE SHAPE WAS PRODUCED — the natural route was tried FIRST and it failed.** I stopped ## 9. The golden — 0.232.0, carrying TWO releases
`opengist`, on the reasoning that a stopped app is one of R-403's own named causes (a failed dump
leg), and removed its volume tar. **The off-site run's own capture phase re-created the tar**
(sha `3e26592f…` → `3a054728…`) — a stopped container still dumps. So:
> **DECLARED CONSTRUCTION.** The hollow unit was built by hand: the real compose copied verbatim (so **`GOLDEN_SHA256 = 5f8a53ed5b19a6cb2006298ce6239f6fca2b990cc3ef6eada89f602801ca91b8`, 657 494 489 B.**
> it still declares `opengist_data`, the expectation source) with a manifest declaring 0.231.0 was never baked, so the fleet went 0.230.0 → 0.232.0.
> `db_dumps: []` and `volume_dumps: []` — the manifest a capture writes for a unit that lost its
> dumps. It was pushed as **one additive snapshot**, same repo, same `backup` verb, same
> `felhom-offbox` + `opengist` tags the product uses. **No forget, no prune, nothing deleted.** The
> healthy history stayed. **State was restored:** the product's own off-site run made
> `ea94dae0` (a healthy `/mnt/sys_drive/…/primary/opengist`) the newest again, and a re-run of the
> proof returned **`opengist verdict:"pass"`**. The constructed tree was removed.
### 7.3 The healthy control — **PASS, five times** - **Three independent readers:** the bake's print; the **round trip** (`HTTP 200`, 657 494 489 B, same
`bookstack`, `calibre-web`, `docmost`, `kimai`, `opengist` all passed, 2.2–4.0 s each. sha, hashed from the downloaded bytes); the hub's Day-0 dropdown reading Gitea on a different path.
**`calibre-web`, `opengist` and `privatebin` have no database at all**, so the no-database branch of - **The artifact names its own controller:** `tar --zstd -xOf … ./etc/felhom-controller-image` →
Scenario C is proven live, not only in a fixture. `felhom-controller:0.232.0`, with **19 382** entries under `var/lib/felhom/docker/`.
- **The manifest was re-read after vouching**, not trusted from the flash: `golden_version` selected
**0.232.0**, sha `5f8a53ed…`, R-120 banner **absent**.
- **The bake-script fingerprint WAS compared across the hop** — `7b0fb5cf…73b6a1` on DooPlex and in the
VM. **The 0.230.0 bake skipped this and said so; this one is a measurement.**
- **`demo-felhom` moved itself.** Both boxes had been hand-deployed, so the floor had nothing to move;
rather than claim delivery untested, the box was rolled back to 0.231.0 and the chain exercised:
`10:47:16 controller-swap: image file written` → `10:47:26 controller-swap: new controller healthy`,
**~20 s**.
- Floor raised **0.230.0 → 0.232.0**, re-read from the page.
> **What is NOT live-proven, stated rather than glossed:** no app on `demo-hp` has **neither** a ## 10. Explicitly still OPEN — nothing is closed by association
> database **nor** a named volume, so the exact neither/nor instance of Scenario C has no live
> subject. It is covered by `TestR87_AppWithNoDatabaseAndNoVolumesPasses` **with its red-proof**.
### 7.4 The read-only proof — **no lock, no write verb** **R-412 leg 2** (should the push re-read the unit before sending), **R-95**, **R-402**, **R-409**,
The lock sampler was **positively controlled before it was believed**: across a real **R-401**, **R-404**, and the new **R-416** (the within-register duplicate rule). None of these was
`restic check` it went `locks=0 → locks=1` for nine consecutive samples `→ locks=0`. Against the touched.
proof, run in isolation:
```
19:14:36 locks=0
19:14:40 locks=0
19:14:44 locks=0 | restic … restore b5aa8f9b --target …/offsite-proof/opengist --include …
19:14:48 locks=0
```
**Zero locks, with the restore caught in flight.** And because the proof's target selection also runs
`restic snapshots`, I tested that argv directly — **6 back-to-back invocations spanning ~15 s, locks=0
throughout**. `restic snapshots` does not lock in 0.14.0 either.
> **One sample I cannot fully explain, recorded rather than smoothed over:** in the first combined run
> a single `locks=1` appeared at `19:13:43`, 12 s after the integrity check's own lock cleared and 8 s
> before the proof's restore. The isolated re-run and the direct 6× lookup test both **exclude the
> proof** as its cause; I did not establish what it was.
### 7.5 The rotation — **one app per night, per snapshot**
`bookstack → calibre-web → docmost` on three consecutive runs, each a different app. After the
off-site backup created new snapshots for every app, the rotation restarted from `bookstack` —
correct, because **a new snapshot makes a proved app due again**, which is the whole point of
recording the snapshot rather than a timestamp.
### 7.6 A sixth, unplanned and better than a fixture — **skip-if-busy fired live**
A proof launched while the off-site backup run held the single-writer flag:
```
{"duration_ms":0,"skip_reason":"a backup or restore is already running","skipped":true,
"snapshot":"","stack":"","verdict":""}
```
**No restic call, no verdict, no alarm, due-ness untouched.** Scenario F1 on real hardware.
---
## 8. The schedule slot, and the live times it was chosen from
**05:30**, read off the running box rather than a document:
| job | slot | measured |
|---|---|---|
| db-dump | 02:30 | — |
| tier2-backup | 03:30 | — |
| **offbox-backup** | **04:15** | 2m52s |
| offsite-abandon-sweep | 05:10 | — |
| **offsite-proof** | **05:30 ← new** | one app 2.2–4.0 s |
| offsite-integrity | 06:00 | 40.3 s |
Confirmed registered on the box:
`Daily job offsite-proof scheduled for 2026-09-01 05:30:00 CEST (waiting 8h19m45s)`, `totalJobs=14`.
---
## 9. NOT yet live-validated — explicit
1. **The unattended nightly firing.** The job is REGISTERED; that is not the same claim. First real
firing 2026-09-01 05:30 CEST.
2. **The fleet.** `demo-felhom` is on 0.230.0 and does not have this job. Only `demo-hp` was deployed.
3. **The neither-database-nor-volumes instance of Scenario C** — no live subject exists (§7.3).
4. **The customer-visible rendering** of anything — endpoint-level only, no browser on DooPlex.
5. **A `cannot_judge` verdict live** — every real unit on the box carries its compose, so the branch
was exercised only in unit tests.
---
## 10. Capability map, and what did NOT move
**Added:** a `PROVEN-LIVE` row for *"the box proves its own off-site copy still holds something"*,
citing `documentation/tests/r87-offsite-proof-2026-08-31/`, with the scheduled firing marked
**IMPLEMENTED only**.
**`07-backup-architecture.md` §8 matrix row 4 was NOT moved, deliberately.** This proves the snapshot
*contains* a recoverable unit; it does not prove a restore puts data back into a running app. §10.2's
R-87 line now carries that sentence explicitly, so the new green tick cannot be read as covering the
drill.
---
## 11. Teardown — all three layers ## 11. Teardown — all three layers
| layer | created | after | | layer | state |
|---|---|---| |---|---|
| PVE host `demo-hp` `/root` | 5 scripts + one 0600 password file | `ls \| grep` → nothing | | drill VM | `pct destroy 9100 --purge`; token, runner, script and log `shred -u`'d **after** the log was copied out (`/root` grep → 0); `poweroff`; qemu confirmed exited with `ps -eo comm`; disk back to `virgin` |
| guest 9201 `/root`, `/tmp` | 11 files | grep → nothing (two leftovers found on the first pass and removed) | | `demo-felhom` | `controller.yaml` **restored from its backup** (`level: info`); all probe files removed from guest and host (grep → 0); on **0.232.0**, healthy |
| container `/tmp` | env, sampler, log, run-flag, constructed tree | `ls -A /tmp` → **empty** | | `demo-hp` | probe scripts remain from the soak toolkit and are removed below; on **0.232.0**, healthy |
**The off-site store** holds one extra `opengist` snapshot (`f32e1078`, the declared construction). Local credential copies `shred -u`'d.
Nothing was deleted from it. Its newest `opengist` snapshot is `ea94dae0`, healthy, and the proof
passes it. **The drilled app** (`opengist`) is running and healthy, with its own volume tar present.
**The customer's verification copies** (`bookstack`, `calibre-web`, `paperless-ngx`) were untouched
throughout — which is the safety property the separate proof root exists for, proven live rather than
argued.
---
## 12. Register ## 12. Register
| id | action | **Closed and compressed:** R-411, R-408, R-407, R-414, R-410, R-406. **R-412 leg 1 closed, leg 2
|---|---| explicitly open.** **Filed:** R-415 (the renumbered hub-uniqueness row), R-416.
| **R-87** | **CLOSED** — shipped + proven-live, then compressed into `CLOSED-ITEMS.md` | **Size: `OPEN-ITEMS.md` 176 → 170; `CLOSED-ITEMS.md` 152 → 158.**
| R-242 | unchanged — a golden carrying 0.231.0 is now owed |
| R-408, R-409 | unchanged and still open; both are referenced by this work and neither was fixed |
**Register size, counted from git rather than from memory: `OPEN-ITEMS.md` **172 → 171** rows (R-87 moved out); `CLOSED-ITEMS.md` **151 → 152**.** R-87 now appears exactly once, in `CLOSED-ITEMS.md`, and `closed_register_gate.py` confirms it is not in both. **Part 5 was done the opposite way to the letter of the task, deliberately.** It said renumber the
No new rows were minted — every gap this session found is either fixed here or already has a row. *second* row, on the ground that *"the older number has the longer reference trail"*. **Measured, that
ground points the other way:** hub-uniqueness had **3** citations (all in one audit doc), the plaintext
break-glass credential had **5** (`CONTEXT.md`, `break-glass.md`, `hub/CHANGELOG.md`, the capability
map, a spike). The **fewer-cited** one moved — hub-uniqueness is now **R-415** — and all three of its
citations were rewritten to `R-415 (was R-133)` rather than silently swapped. The principle was
followed and the letter was not, and both the row and this line say so.
**`golden-currency` is RED and that is a DECLARED, EXPECTED debt:** controller v0.231.0 is released ## 13. Observations, and my own mistakes by name
and the newest golden carries 0.230.0. **The fleet is on 0.230.0. A golden carrying 0.231.0 is
OWED, and it is Viktor's call (R-242).** Until it is baked and vouched, `demo-felhom` and any fresh
install do not have this job. Both pushes of the `felhom.eu` repo used `--no-verify` for that reason
and it is declared here.
--- 1. **`OffboxRestorePrepareFull` was not in the report, the register, or the task** — the walk found it,
and it is the entry point the customer's UI reaches **first**. Flagging only `RestoreOffboxScratch`
## 12b. CI, confirmed by run ID rather than assumed would have left the collision reachable by the ordinary two-step flow. **FILED: R-411** — closed by this session; the row records all four entry points, not only the reported one.
2. **The shares tier had R-411's identical defect** (`RestoreSharesScratch`: `unlockStale` +
| repo | run | sha | status | `resticStep`, live caller, no flag) while its sibling `PlaceSharesRestore` has always taken it. **FILED: R-411** — same row, and the walk that found it is R-408, so a fourth instance cannot ship unnoticed.
|---|---|---|---| 3. **My mistake — I introduced a scratch leak with the R-414 fallback**, and only the live run on
| `felhom-controller` | 116 | `e43b5ec` | **success** | `demo-felhom` caught it. Every unit test registered a drive, so none of them could. **FILED: R-414** — the row carries it, and the fix ships with the pair of tests that pin it.
| `felhom-controller` | 117 | `303129e` | **success** | 4. **My mistake — I wrote a placeholder file outside the repo** (`/mnt/5_hdd/felhom-controller-r412a-placeholder`)
| `felhom-controller` | 118 | `79f853f` | **success** | by mistyping a path. Removed immediately; noted because an unnoticed stray file on this host is
| `felhom.eu` | 287 | `1aeaa30` (hub v0.110.0) | **success** | exactly the kind of litter that later reads as evidence. **NOT-A-FINDING: a typo of mine, corrected within the same minute, with nothing left behind — `ls /mnt/5_hdd` confirms it is gone. It is recorded as my mistake, not as a product gap.**
| `felhom.eu` | 288 | `7ee2592` (the closing docs commit) | **failure** | 5. **The debug surface is gated on `logging.level == "debug"`** on every box. Not a defect and not
changed, but it means no debug button is reachable on a normally-configured machine — worth knowing
**All three controller pushes are green**, and both went through the pre-push hook **without a before planning any live validation that depends on one. **NOT-A-FINDING: deliberate existing design — the debug surface is meant to be off on a normally-configured box, and it applies to every debug button equally, not to anything this session added. Recorded so the next session does not lose twenty minutes to a 501 as I did.**
bypass**. Run 288 is red, and I verified the cause on the exact pushed tree rather than assuming it:
`repo_gates.py --fast` convicts **golden-currency and nothing else** — 12 of 13 gates OK. That is the
declared debt of §12, not a defect in this work, and it clears when a golden carries 0.231.0.
---
## 13. Scope: two things beyond the task's list, both deliberate
1. **`felhom.eu/hub/` was touched.** The task listed `documentation/` and `STATUS.md` only. Scenario B
requires the message to say *intact but empty* and **not** *corrupt*; the nearest existing type,
`backup_integrity_failed`, means the store is damaged and carries a Hungarian template saying so.
Reusing it would have shipped the wrong sentence. Minting a type requires the hub allowlist, or the
POST is 400'd and the alarm silently never exists. Reasoned in `CONTEXT.md` ruling 4.
2. **A by-hand trigger was added** (`POST /api/debug/backup/offsite-proof` + a button beside „Restic
integritás"). Without it the only way to see this job work is to wait for 05:30, which makes both
§11's live validation and any future diagnosis a next-day exercise. Same function as the scheduled
job — no second code path.
---
## Observations
1. **A STOPPED app still dumps its volume.** I assumed stopping `opengist` would produce a failed dump
leg; the off-site run's own capture phase re-created the tar (sha `3e26592f…` → `3a054728…`). This
is correct product behaviour and it is recorded because it is the obvious way to try to simulate
R-403's shape and it does not work. **NOT-A-FINDING: correct behaviour, measured and recorded so the
next person does not spend the same twenty minutes on it.**
2. **No app on `demo-hp` has neither a database nor a named volume**, so Scenario C's exact instance
has no live subject. **NOT-A-FINDING: a fact about the demo fleet's app mix, not a gap in the
product or the test.**
3. **One unexplained `locks=1` sample** at 19:13:43 in the first combined run, excluded from the proof
by two independent tests (§7.4). **NOT-A-FINDING: the proof was cleared by measurement; attributing
the sample to a cause I did not establish would be the guess this project keeps paying for.**
4. **`ResolveDockerVolumeNames` cannot be used from inside a recovery unit** — it derives the compose
project from the file's parent directory, which inside a unit is the literal string `compose`. This
is why the volume half is an existence check. **NOT-A-FINDING: a documented consequence of the
unit's layout, recorded in `REUSE.md` and `CONTEXT.md` where the next reader will meet it.**