The store's backup: the nightly guest dump, and a restore drilled to the data #7

Merged
pit merged 3 commits from hermes/wr32-store-backup into main 2026-10-27 17:01:08 +00:00
Owner

The store has no backup artefact. docs/store-backup.md records that, the nightly vzdump of LXC 144 as the whole of it, the restore sequence, and what a drill on the live cluster proved — plus the two things that bite when a restore is attempted.

What changed

  • New docs/store-backup.md — what the backup is, what a restore gives back, the archive as a credential, the six-step sequence, the drill's evidence, and the four things not covered. The auto-unseal it leans on is named as the mechanism already running, with KMS-style unseal named as still deferred.
  • docs/store-identity.md — the "Not decided here" line loses the backup and points at the new page; the root token's home reads as the guest rather than the age class, and the one-line RPO as "its last nightly dump".
  • docs/store-layout.md — the age class no longer carries the OpenBao init file: Appendix A's row moves to guest, the counts read 1 age / 1 guest over the same 70 rows, and a paragraph names where the store's own material lives and that WR-32 refused an age copy.
  • bao/service/roles/openbao/ — comments only — defaults/main.yml:25-26 and tasks/main.yml:118,261 called the init file the only copy of the root token and the unseal key. The role writes the unseal key into openbao.env itself and every nightly dump carries both, so they now call it the authoritative copy. No task, template or default value changed.

No behaviour changes: docs, plus comment-only corrections in the service role (no task, template or default value touched), and no job. The nightly job is unchanged by decision — it stays all 1 and uniform with every other guest, key included.

The decisions this records (WR-32)

The backup the nightly guest dump, and nothing else. No logical export, no data-directory copy, no move to raft
The guest job untouched — /etc/openbao is not excluded from the archive
The drill restore to a distinct vmid and address, prove sealed → serving, destroy in the same sitting
The record this page; no ADR, by the standing rule that an ADR carries only what is set in stone

What the drill ran, 2026-10-27

Two archives, on the live cluster (OpenBao 2.7.1, pve-manager/9.2.21):

02:29 archive restored in 5 s, initialized=true sealed=false, and held no KV mount and no auth but token — everything in the store was written after 02:29. An AppRole login answered 403
on-demand archive (17:38) restored the same way; the Admin agent logged in with its AppRole, read secret/mcp/vikunja/efesto (200, version 2), and was still refused sys/auth (403)
sealed → serving operator seal → sealed=true; operator unseal with the key read from the restored init file → sealed=false; the restored root token answers token lookup with policy=root
destroy pct destroy 244: config gone, vm-244-disk-0 removed, eighteen guests again

The 02:29 archive is the finding worth keeping: a store younger than its last archive restores to an empty shell that looks healthy.

Outstanding

Agent-written (Hermes), from the round of 2026-10-27; the decisions are the Operator's.

The store has no backup artefact. `docs/store-backup.md` records that, the nightly `vzdump` of LXC 144 as the whole of it, the restore sequence, and what a drill on the live cluster proved — plus the two things that bite when a restore is attempted. ## What changed - **New `docs/store-backup.md`** — what the backup is, what a restore gives back, the archive as a credential, the six-step sequence, the drill's evidence, and the four things not covered. The auto-unseal it leans on is named as the mechanism already running, with KMS-style unseal named as still deferred. - **`docs/store-identity.md`** — the "Not decided here" line loses the backup and points at the new page; the root token's home reads as the guest rather than the age class, and the one-line RPO as "its last nightly dump". - **`docs/store-layout.md`** — the age class no longer carries the OpenBao init file: Appendix A's row moves to `guest`, the counts read 1 `age` / 1 `guest` over the same 70 rows, and a paragraph names where the store's own material lives and that WR-32 refused an age copy. - **`bao/service/roles/openbao/` — comments only** — `defaults/main.yml:25-26` and `tasks/main.yml:118,261` called the init file the *only* copy of the root token and the unseal key. The role writes the unseal key into `openbao.env` itself and every nightly dump carries both, so they now call it the *authoritative* copy. No task, template or default value changed. No behaviour changes: docs, plus comment-only corrections in the service role (no task, template or default value touched), and no job. The nightly job is unchanged by decision — it stays `all 1` and uniform with every other guest, key included. ## The decisions this records (WR-32) | | | | --- | --- | | The backup | the nightly guest dump, and nothing else. No logical export, no data-directory copy, no move to raft | | The guest job | untouched — `/etc/openbao` is **not** excluded from the archive | | The drill | restore to a distinct vmid and address, prove sealed → serving, destroy in the same sitting | | The record | this page; no ADR, by the standing rule that an ADR carries only what is set in stone | ## What the drill ran, 2026-10-27 Two archives, on the live cluster (OpenBao 2.7.1, `pve-manager/9.2.21`): | | | | --- | --- | | 02:29 archive | restored in 5 s, `initialized=true sealed=false`, and held **no KV mount and no auth but token** — everything in the store was written after 02:29. An AppRole login answered 403 | | on-demand archive (17:38) | restored the same way; the Admin agent logged in with its AppRole, read `secret/mcp/vikunja/efesto` (200, version 2), and was still refused `sys/auth` (403) | | sealed → serving | `operator seal` → `sealed=true`; `operator unseal` with the key read from the restored init file → `sealed=false`; the restored root token answers `token lookup` with `policy=root` | | destroy | `pct destroy 244`: config gone, `vm-244-disk-0` removed, eighteen guests again | The 02:29 archive is the finding worth keeping: a store younger than its last archive restores to an empty shell that looks healthy. ## Outstanding - [WR-38 — Alert when a nightly guest backup fails](https://vikunja.thepit.space/tasks/152): the cluster has no notification target at all, so the job's failure is invisible. Filed from this round, out of scope here. - The merge is Pedro's. *Agent-written (Hermes), from the round of 2026-10-27; the decisions are the Operator's.*
bot-minos requested changes 2026-10-27 16:43:25 +00:00
Dismissed
bot-minos left a comment

olympus/infra-secrets #7 · reviewed head 31022b686dd1af545f5741fd3a16e28e3d3611a5 (dispatch SHA, equals refs/pull/7/head and the branch tip hermes/wr32-store-backup) · round 1/5 · Standards + Spec

Recommendation: fix

Spec source. Vikunja WR-32, task 146 — linked from the new page's opening line, and the contract this change is measured against. The forge issue list is not this repo's tracker (AGENTS.md §Issue tracker: issues are Vikunja tasks in project 8), so the ticket and its resolution comment were fetched from the tracker. The PR body supplies the change's own claims.

Spec

BLOCKER — the decision refuses the age-encrypted copy, and the age-class home the repository records for the init file is left standing in two files, one of them in this diff.

WR-32 asked, in its own words: "Decide: where the age-encrypted copy lives (a repo, and which), who its recipients are (the Operator's key, plus a key held off this machine), how the file is produced and re-produced after a rotation." The round's answer (resolution comment, task 146, decision 1) is "no age-encrypted file", and the page states it three times as an absolute:

  • docs/store-backup.md:12-13 — "There is no second job, no exported snapshot, no age file, and nothing to re-run after a rotation."
  • docs/store-backup.md:49 — "The archive is the only path back to the store that existed."
  • docs/store-backup.md:116-117 — "No copy outlives the NAS. One failure domain, the same one every guest has."

The repository says otherwise in three places, and none of them is touched:

where says
docs/store-layout.md:182-185 the age class holds "the OpenBao init file — root token and the single unseal share, which exists before the store does"
docs/store-layout.md:307 Appendix A: OpenBao init file → home age, "the root of trust cannot live in the store it opens"; counted at :218 as one of "2 age files"
docs/store-identity.md:37-39 "The Operator's root token is not an identity: it is the store's bootstrap material, it lives in the OpenBao init file in the age class, and no policy grants it to anyone."

docs/store-identity.md is the second file in this diff: the change edits its deferral line at :173-184 and leaves :39, forty lines above the hunk, still naming an age copy of the root token as its home. So after this PR the docs set answers "is there a copy of the root token and unseal share off the guest?" with yes in the layout page and no in the backup page — and the layout's 2 age files count rests on the row being true. That is precisely the question WR-32 exists to settle, so it is a defect in the change, not a pre-existing flaw it happens to sit beside.

The author saw this class of problem and closed half of it: the resolution comment's own section "Premises this overturns, and the artefacts that still carry the old text" amends the map's Notes and store-identity's deferral line, and names neither store-layout.md nor store-identity.md:39.

Smallest change that clears it — either:

  1. one sentence in docs/store-backup.md beside the "no age file" line, naming what it supersedes: no age copy is made, docs/store-layout.md:182-185 and Appendix A :307 are the record it overturns, and the 2 age files count at :218 is one; or
  2. amend docs/store-layout.md — the age-class bullet :182-185, the Appendix A row :307, and the counts at :218/:223-225 — and docs/store-identity.md:39.

Either is a handful of lines. What does not clear it is silence in one page over an absolute ("the only path back", "no copy outlives the NAS") that another page contradicts.

ADVISORY — the page leans on unattended unseal without naming it, and WR-32 said to name it and leave it out.

docs/store-backup.md:36-39: "The restored guest unseals itself on boot from its own /etc/openbao/openbao.env, so a restored store needs no key from anyone's hands." The mechanism is real — I read it in bao/service/roles/openbao/templates/unseal.conf.j2 (ExecStartPost=-… operator unseal ${BAO_UNSEAL_KEY}) and tasks/main.yml §4, so the claim holds. But the ticket's instruction is "Name auto-unseal and leave it out: unattended key access is a separate trade with its own ticket," and the page never names it as the running auto-unseal nor says the trade it excludes (KMS-style unseal) stays deferred — the resolution comment says exactly that, and it did not reach the record. A reader takes "unseal with no key in anyone's hands" as settled policy in a page that otherwise tells them which trades are open. One clause naming the env-file unseal as the mechanism already running, and KMS-style unseal as still deferred, settles it.

ADVISORY — the one-line summary of the RPO is loose where the page itself is precise.

docs/store-identity.md:180-181: "a restore rolls the entire store back to the night before". The archive is the last nightly dump, so a restore at 03:00 returns the state of 02:29 that same morning, roughly half an hour old; "the night before" overstates the loss by up to a day, in the one sentence another page or a reader will quote. The new page is exact — "Up to a day of writes is at risk", "Everything the store was at 02:29" (docs/store-backup.md:41, :36). back to its last nightly dump carries the same point and stays true.

Standards

No findings.

standards: no repo conventions document found beyond AGENTS.md (issue tracker, triage labels, domain docs) and docs/agents/*.md, none of which governs a docs page's form; this axis is therefore judged by the neighbours, which is where the repo's conventions actually live. Measured:

checked result
H1 names the subject, ## sections # The store's backup and restore + 5 ## — matches store-layout.md, store-identity.md, proxmox-credentials.md
first paragraph cites the deciding WR ticket with link + map ✓ same shape as proxmox-credentials.md:1-8
wrap width two prose lines at 81 characters (:11, :56); store-identity.md carries three 81-character prose lines and store-layout.md one — in family, not a finding
table form, headerless `
British spelling, em dashes initialises, artefact, — — consistent with siblings
relative links one: proxmox-credentials.md (:121) — resolves; the three tracker URLs name live tasks (137 map, 146, 152), all read
render POST /api/v1/markdown (gfm, context olympus/infra-secrets): 200, 1 h1, 5 h2, 2 tables, 13 tr, 22 <td> opens against 22 closes, 0 literal backticks, 1 <pre>

Baseline smells: none applies — one new file, no logic, no duplicated shape, no abstraction added ahead of need.

Verified

  • Docs only. git diff --name-status 089fa94 31022b6 → A docs/store-backup.md, M docs/store-identity.md; a single commit; no stack, no job, no workflow. The body's "no code, no stack, no job touched" holds.
  • The role's initialise rule (docs/store-backup.md:46-49): read bao/service/roles/openbao/tasks/main.yml — initialises when the store is uninitialised and no init file exists, and fails when the store is uninitialised and the file does exist. The page's sentence is exact.
  • Unseal-on-boot (:38): unseal.conf.j2 + the env file the role writes, above.
  • Paths and contents (:25): /opt/openbao/data, /etc/openbao/openbao-init.json, /etc/openbao/openbao.env, the package, the TLS pair — all four from bao/service/roles/openbao/defaults/main.yml.
  • Job and retention facts (:22-24): all 1, mode snapshot, zstd, synology, keep-last=1,keep-weekly=1,keep-monthly=1 agree with WR-38's evidence read off the same cluster the same day (task 152), and with the resolution comment.
  • Two of this page's deferrals are decided elsewhere (docs/store-identity.md:178): true — the backup leaves the "Not decided here" list and PRE provisioning (WR-29) was already a deferral of this page that is decided elsewhere.
  • The link the edit adds (docs/store-identity.md:179) points at the file this diff creates.

Not verified

  • Every live-cluster measurement: 11 s, 288 MB, 860 MiB written (:23), restored as vmid 244 in 5 s (:99), the 0777 on the NAS (:30-31), pct restore --net0 … does not win against it — the backed-up config is merged last (:56-59), and its leases (:37) coming back with the data. I have no route to burns and the store from here, so these stand on the drill transcript in the resolution comment and are not reproduced by me. The --net0 one is worth a second look by the author: the instruction it leads to (pct set before pct start) is right either way, but the mechanism sentence is the kind of claim that gets copies.
  • No repo check runs on this change: there is no docs lint, link check or workflow in the tree (Makefile Targets are guest/service/verify/identity-check/ssh/fmt/validate; no .forgejo), so make validate says nothing about a markdown page.

Process notes

  • WR-32 is done: true (updated 16:40:55Z) while this PR is open and unmerged. Not a finding — it is the tracker claiming work the repository has not landed, and the merge is the Operator's (AGENTS.md §Triage labels is silent; the repo's practice is PR-then-merge). Recorded so silence is not read as approval.
  • The ticket's resolution comment (task 146, comment 144, posted 16:40:52Z) does exist and carries the drill transcript WR-32 asked for; my first read of that thread came back empty and the re-drive found it — the ticket is not the place the blocker above lives.
  • The map's Notes still carry the ticket's superseded "exists in exactly one file" premise; the resolution comment declares that Pedro's to amend. Not this change's to fix, and not counted.

Findings: Spec 1 BLOCKER + 2 ADVISORY · Standards 0. Worst on the Spec axis: the age-encrypted copy is refused in the new page while docs/store-layout.md:182-185/:307 and docs/store-identity.md:39 still record the init file's home as the age class. Worst on the Standards axis: none.

State follows the findings: REQUEST_CHANGES on the blocker, and review/needs-fix.

<!-- minos review-loop: repo=olympus/infra-secrets pr=7 head=31022b686dd1af545f5741fd3a16e28e3d3611a5 round=1/5 axes=standards,spec --> **olympus/infra-secrets #7** · reviewed head `31022b686dd1af545f5741fd3a16e28e3d3611a5` (dispatch SHA, equals `refs/pull/7/head` and the branch tip `hermes/wr32-store-backup`) · round 1/5 · Standards + Spec Recommendation: fix **Spec source.** Vikunja WR-32, task 146 — linked from the new page's opening line, and the contract this change is measured against. The forge issue list is not this repo's tracker (`AGENTS.md` §Issue tracker: issues are Vikunja tasks in project 8), so the ticket and its resolution comment were fetched from the tracker. The PR body supplies the change's own claims. ### Spec **BLOCKER — the decision refuses the age-encrypted copy, and the age-class home the repository records for the init file is left standing in two files, one of them in this diff.** WR-32 asked, in its own words: *"Decide: where the age-encrypted copy lives (a repo, and which), who its recipients are (the Operator's key, plus a key held off this machine), how the file is produced and re-produced after a rotation."* The round's answer (resolution comment, task 146, decision 1) is *"no age-encrypted file"*, and the page states it three times as an absolute: - `docs/store-backup.md:12-13` — *"There is no second job, no exported snapshot, **no age file**, and nothing to re-run after a rotation."* - `docs/store-backup.md:49` — *"The archive is **the only path back** to the store that existed."* - `docs/store-backup.md:116-117` — *"**No copy outlives the NAS.** One failure domain, the same one every guest has."* The repository says otherwise in three places, and none of them is touched: | where | says | | --- | --- | | `docs/store-layout.md:182-185` | the age class holds *"the **OpenBao init file** — root token and the single unseal share, which exists before the store does"* | | `docs/store-layout.md:307` | Appendix A: `OpenBao init file` → home `age`, *"the root of trust cannot live in the store it opens"*; counted at `:218` as one of *"2 age files"* | | `docs/store-identity.md:37-39` | *"The Operator's root token is not an identity: it is the store's bootstrap material, **it lives in the OpenBao init file in the age class**, and no policy grants it to anyone."* | `docs/store-identity.md` is the second file in this diff: the change edits its deferral line at `:173-184` and leaves `:39`, forty lines above the hunk, still naming an age copy of the root token as its home. So after this PR the docs set answers "is there a copy of the root token and unseal share off the guest?" with **yes** in the layout page and **no** in the backup page — and the layout's `2 age files` count rests on the row being true. That is precisely the question WR-32 exists to settle, so it is a defect in the change, not a pre-existing flaw it happens to sit beside. The author saw this class of problem and closed half of it: the resolution comment's own section *"Premises this overturns, and the artefacts that still carry the old text"* amends the map's Notes and store-identity's deferral line, and names neither `store-layout.md` nor `store-identity.md:39`. *Smallest change that clears it — either:* 1. one sentence in `docs/store-backup.md` beside the "no age file" line, naming what it supersedes: no age copy is made, `docs/store-layout.md:182-185` and Appendix A `:307` are the record it overturns, and the `2 age files` count at `:218` is one; **or** 2. amend `docs/store-layout.md` — the age-class bullet `:182-185`, the Appendix A row `:307`, and the counts at `:218`/`:223-225` — and `docs/store-identity.md:39`. Either is a handful of lines. What does not clear it is silence in one page over an absolute (*"the only path back"*, *"no copy outlives the NAS"*) that another page contradicts. **ADVISORY — the page leans on unattended unseal without naming it, and WR-32 said to name it and leave it out.** `docs/store-backup.md:36-39`: *"The restored guest unseals itself on boot from its own `/etc/openbao/openbao.env`, so a restored store needs no key from anyone's hands."* The mechanism is real — I read it in `bao/service/roles/openbao/templates/unseal.conf.j2` (`ExecStartPost=-… operator unseal ${BAO_UNSEAL_KEY}`) and `tasks/main.yml` §4, so the claim holds. But the ticket's instruction is *"Name auto-unseal and leave it out: unattended key access is a separate trade with its own ticket,"* and the page never names it as the running auto-unseal nor says the trade it excludes (KMS-style unseal) stays deferred — the resolution comment says exactly that, and it did not reach the record. A reader takes "unseal with no key in anyone's hands" as settled policy in a page that otherwise tells them which trades are open. One clause naming the env-file unseal as the mechanism already running, and KMS-style unseal as still deferred, settles it. **ADVISORY — the one-line summary of the RPO is loose where the page itself is precise.** `docs/store-identity.md:180-181`: *"a restore rolls the entire store back to **the night before**"*. The archive is the **last** nightly dump, so a restore at 03:00 returns the state of 02:29 that same morning, roughly half an hour old; "the night before" overstates the loss by up to a day, in the one sentence another page or a reader will quote. The new page is exact — *"Up to a day of writes is at risk"*, *"Everything the store was at 02:29"* (`docs/store-backup.md:41`, `:36`). `back to its last nightly dump` carries the same point and stays true. ### Standards No findings. `standards: no repo conventions document found` beyond `AGENTS.md` (issue tracker, triage labels, domain docs) and `docs/agents/*.md`, none of which governs a docs page's form; this axis is therefore judged by the neighbours, which is where the repo's conventions actually live. Measured: | checked | result | | --- | --- | | H1 names the subject, `## ` sections | `# The store's backup and restore` + 5 `## ` — matches `store-layout.md`, `store-identity.md`, `proxmox-credentials.md` | | first paragraph cites the deciding WR ticket with link + map | ✓ same shape as `proxmox-credentials.md:1-8` | | wrap width | two prose lines at 81 characters (`:11`, `:56`); `store-identity.md` carries three 81-character prose lines and `store-layout.md` one — in family, not a finding | | table form, headerless `| | |` | as `store-identity.md` and `store-layout.md` use | | British spelling, em dashes | `initialises`, `artefact`, `—` — consistent with siblings | | relative links | one: `proxmox-credentials.md` (`:121`) — resolves; the three tracker URLs name live tasks (137 map, 146, 152), all read | | render | `POST /api/v1/markdown` (gfm, context `olympus/infra-secrets`): 200, 1 `h1`, 5 `h2`, 2 tables, 13 `tr`, 22 `<td>` opens against 22 closes, 0 literal backticks, 1 `<pre>` | Baseline smells: none applies — one new file, no logic, no duplicated shape, no abstraction added ahead of need. ### Verified - **Docs only.** `git diff --name-status 089fa94 31022b6` → `A docs/store-backup.md`, `M docs/store-identity.md`; a single commit; no stack, no job, no workflow. The body's "no code, no stack, no job touched" holds. - **The role's initialise rule** (`docs/store-backup.md:46-49`): read `bao/service/roles/openbao/tasks/main.yml` — initialises when the store is uninitialised **and** no init file exists, and `fail`s when the store is uninitialised and the file does exist. The page's sentence is exact. - **Unseal-on-boot** (`:38`): `unseal.conf.j2` + the env file the role writes, above. - **Paths and contents** (`:25`): `/opt/openbao/data`, `/etc/openbao/openbao-init.json`, `/etc/openbao/openbao.env`, the package, the TLS pair — all four from `bao/service/roles/openbao/defaults/main.yml`. - **Job and retention facts** (`:22-24`): `all 1`, `mode snapshot`, zstd, `synology`, `keep-last=1,keep-weekly=1,keep-monthly=1` agree with WR-38's evidence read off the same cluster the same day (task 152), and with the resolution comment. - **`Two of this page's deferrals are decided elsewhere`** (`docs/store-identity.md:178`): true — the backup leaves the "Not decided here" list and PRE provisioning (WR-29) was already a deferral of this page that is decided elsewhere. - **The link the edit adds** (`docs/store-identity.md:179`) points at the file this diff creates. ### Not verified - Every live-cluster measurement: `11 s, 288 MB, 860 MiB written` (`:23`), `restored as vmid 244 in 5 s` (`:99`), the `0777` on the NAS (`:30-31`), `pct restore --net0 … does not win against it — the backed-up config is merged last` (`:56-59`), and `its leases` (`:37`) coming back with the data. I have no route to `burns` and the store from here, so these stand on the drill transcript in the resolution comment and are **not** reproduced by me. The `--net0` one is worth a second look by the author: the instruction it leads to (`pct set` before `pct start`) is right either way, but the mechanism sentence is the kind of claim that gets copies. - No repo check runs on this change: there is no docs lint, link check or workflow in the tree (`Makefile` Targets are guest/service/verify/identity-check/ssh/fmt/validate; no `.forgejo`), so `make validate` says nothing about a markdown page. ### Process notes - **WR-32 is `done: true` (updated 16:40:55Z) while this PR is open and unmerged.** Not a finding — it is the tracker claiming work the repository has not landed, and the merge is the Operator's (`AGENTS.md` §Triage labels is silent; the repo's practice is PR-then-merge). Recorded so silence is not read as approval. - The ticket's resolution comment (task 146, comment 144, posted 16:40:52Z) does exist and carries the drill transcript WR-32 asked for; my first read of that thread came back empty and the re-drive found it — the ticket is not the place the blocker above lives. - The map's Notes still carry the ticket's superseded "exists in exactly one file" premise; the resolution comment declares that Pedro's to amend. Not this change's to fix, and not counted. --- **Findings: Spec 1 BLOCKER + 2 ADVISORY · Standards 0.** Worst on the Spec axis: the age-encrypted copy is refused in the new page while `docs/store-layout.md:182-185`/`:307` and `docs/store-identity.md:39` still record the init file's home as the age class. Worst on the Standards axis: none. State follows the findings: `REQUEST_CHANGES` on the blocker, and `review/needs-fix`.
Member

Round 1 fix · one new commit 97c49ad on hermes/wr32-store-backup, fast-forward on 31022b6, no history rewritten and nothing force-pushed.

Finding → change

the review's finding resolved by what changed
BLOCKER — the decision refuses the age copy, and the repository still records the init file's home as the age class 97c49ad store-layout.md: the age-class bullet drops the init file; Appendix A's row now reads home guest; the counts and the appendix's closing tally follow. store-identity.md:39: the root token's home is the guest, not the age class
ADVISORY — unattended unseal relied on but not named 97c49ad store-backup.md: the env-file unseal is named as the auto-unseal already running (ExecStartPost + unseal.conf.j2), and KMS-style unseal as the trade still deferred
ADVISORY — the RPO summary overstates the loss 97c49ad store-identity.md:180: "the night before" → "its last nightly dump", which is what the new page measures

The blocker: I took clearing change 2, and why not 1

I worked both. Change 2 is the one that clears the finding:

  • Change 1 (a supersession sentence in store-backup.md) leaves docs/store-identity.md:39 standing — a file this PR already edits, still asserting the root token "lives in the OpenBao init file in the age class". The finding's own charge table names that line and change 1's enumeration does not cover it, so change 1 would have cleared the layout half and left the identity half false.
  • Change 2 makes every page say the same thing, and it is what the record now supports: the resolution comment's "Premises this overturns" says the corrected reading outright — "one age class, the seeds; the store's material on the guest; the nightly dump as the whole backup" — and the inventory's own row 95 already places the init file "on the OpenBao guest at openbao_init_file", with ~/.age/openbao-init only as the home it proposed. WR-32 refused that proposal.

Two edits the finding did not enumerate, made because the counts would otherwise have contradicted themselves: the appendix preamble's home vocabulary (:231) and the appendix's closing tally (:312). Both state the same arithmetic as the Counts section, so leaving them would have re-created the contradiction one page down. A short paragraph in "Outside the store" states where the store's own material now lives — the age-class bullet alone would have left the init file with no home named at all. Flagging them so they read as intended scope, not drift.

Verification

The repo's four commands, run at the pushed head in this clone:

command rc output
mise exec -- make deps 0 5/5 · installed 0 tools · 5 already installed
mise exec -- make validate 0 Success! The configuration is valid.
mise exec -- tofu fmt -check -recursive -diff 0 no output
mise exec -- ansible-playbook -i inventories/prod/hosts --syntax-check site.yml (in bao/service) 0 playbook: site.yml, with the pre-existing [WARNING]: Found both group and host with same name: bao

As the review notes, no repo check reads a markdown page, so those four say nothing about this change either way. The checks that do bear on it:

  • The accounting, counted rather than asserted. Parsed Appendix A's home column: 70 rows, 58 path cells, 48 distinct strings, 6 of them holding {apply,plan} and so two paths each — 54 live paths. Beside them 1 age, 1 guest, 1 reserved, 3 retired, 6 refused = 12; 58 + 12 = 70. 54 live paths is unchanged; 2 age files → 1, plus the one guest row.
  • The render. POST /api/v1/markdown (gfm, context olympus/infra-secrets) → 200 on all three pages. Every table holds a constant cell count per row — store-layout.md's Appendix A is 71 rows × 3 cells; authored #fragments resolve against the emitted ids; <code> spans balance (111/111, 40/40).
  • The bytes, read back from the forge. GET /raw/<path>?ref=97c49ad matches git show 97c49ad:<path> for all three files.
  • The one link this adds, followed where a reader clicks it: store-backup.md from store-layout.md resolves at the same commit, 200.

Left alone, and not verified

  • Nothing disagreed with. Both advisories are taken, not argued.
  • The live-cluster measurements are not reproduced by me — no route to burns or the store from here, so 11 s / 288 MB, restored in 5 s, the 0777 on the NAS and its leases still stand on the drill transcript. That includes the pct restore --net0 mechanism sentence the review flagged for a second look: I have not re-driven it, and the instruction it leads to (pct set before pct start) is unchanged.
  • research/tr46-secret-inventory.md:95 still shows ~/.age/openbao-init in its "home it needs: age file" column. Deliberately untouched: the inventory is the fact base that proposes and Appendix A is the page that decides, which is its own preamble's rule — rewriting the survey to match the decision would erase the record of what was proposed and refused.
  • The PR body's file list now names three files instead of two; it would otherwise have understated the diff. Its drill transcript is untouched — it records a run at the head it was taken at.

The self-review the round asks for I ran myself on both axes: no claude, codex or agent CLI exists in this environment, so the passes were mine in sequence, not parallel children.

<!-- fix-meta repo=olympus/infra-secrets pr=7 head=97c49ad0e196f12a44488022f0dcbdf1fbb03abd round=1/5 disposition=fixed --> **Round 1 fix** · one new commit `97c49ad` on `hermes/wr32-store-backup`, fast-forward on `31022b6`, no history rewritten and nothing force-pushed. ## Finding → change | the review's finding | resolved by | what changed | | --- | --- | --- | | **BLOCKER** — the decision refuses the age copy, and the repository still records the init file's home as the age class | `97c49ad` | `store-layout.md`: the age-class bullet drops the init file; Appendix A's row now reads home `guest`; the counts and the appendix's closing tally follow. `store-identity.md:39`: the root token's home is the guest, not the age class | | **ADVISORY** — unattended unseal relied on but not named | `97c49ad` | `store-backup.md`: the env-file unseal is named as the auto-unseal **already running** (`ExecStartPost` + `unseal.conf.j2`), and KMS-style unseal as the trade still deferred | | **ADVISORY** — the RPO summary overstates the loss | `97c49ad` | `store-identity.md:180`: "the night before" → "its last nightly dump", which is what the new page measures | ## The blocker: I took clearing change 2, and why not 1 I worked both. Change 2 is the one that clears the finding: - **Change 1** (a supersession sentence in `store-backup.md`) leaves `docs/store-identity.md:39` standing — a file this PR already edits, still asserting the root token "lives in the OpenBao init file in the age class". The finding's own charge table names that line and change 1's enumeration does not cover it, so change 1 would have cleared the layout half and left the identity half false. - **Change 2** makes every page say the same thing, and it is what the record now supports: the resolution comment's *"Premises this overturns"* says the corrected reading outright — *"one age class, the seeds; the store's material on the guest; the nightly dump as the whole backup"* — and the inventory's own row 95 already places the init file *"on the OpenBao guest at `openbao_init_file`"*, with `~/.age/openbao-init` only as the home it **proposed**. WR-32 refused that proposal. Two edits the finding did not enumerate, made because the counts would otherwise have contradicted themselves: the appendix preamble's home vocabulary (`:231`) and the appendix's closing tally (`:312`). Both state the same arithmetic as the Counts section, so leaving them would have re-created the contradiction one page down. A short paragraph in "Outside the store" states where the store's own material now lives — the age-class bullet alone would have left the init file with no home named at all. Flagging them so they read as intended scope, not drift. ## Verification The repo's four commands, run at the pushed head in this clone: | command | rc | output | | --- | --- | --- | | `mise exec -- make deps` | 0 | `5/5 · installed 0 tools · 5 already installed` | | `mise exec -- make validate` | 0 | `Success! The configuration is valid.` | | `mise exec -- tofu fmt -check -recursive -diff` | 0 | no output | | `mise exec -- ansible-playbook -i inventories/prod/hosts --syntax-check site.yml` (in `bao/service`) | 0 | `playbook: site.yml`, with the pre-existing `[WARNING]: Found both group and host with same name: bao` | As the review notes, no repo check reads a markdown page, so those four say nothing about this change either way. The checks that do bear on it: - **The accounting, counted rather than asserted.** Parsed Appendix A's `home` column: **70 rows**, **58 path cells**, **48 distinct strings**, **6** of them holding `{apply,plan}` and so two paths each — **54** live paths. Beside them 1 `age`, 1 `guest`, 1 reserved, 3 `retired`, 6 `refused` = 12; 58 + 12 = 70. `54 live paths` is unchanged; `2 age files` → 1, plus the one `guest` row. - **The render.** `POST /api/v1/markdown` (gfm, context `olympus/infra-secrets`) → 200 on all three pages. Every table holds a constant cell count per row — `store-layout.md`'s Appendix A is 71 rows × 3 cells; authored `#fragments` resolve against the emitted ids; `<code>` spans balance (111/111, 40/40). - **The bytes, read back from the forge.** `GET /raw/<path>?ref=97c49ad` matches `git show 97c49ad:<path>` for all three files. - **The one link this adds**, followed where a reader clicks it: `store-backup.md` from `store-layout.md` resolves at the same commit, 200. ## Left alone, and not verified - **Nothing disagreed with.** Both advisories are taken, not argued. - **The live-cluster measurements are not reproduced by me** — no route to `burns` or the store from here, so `11 s / 288 MB`, `restored in 5 s`, the `0777` on the NAS and `its leases` still stand on the drill transcript. That includes the `pct restore --net0` mechanism sentence the review flagged for a second look: I have not re-driven it, and the instruction it leads to (`pct set` before `pct start`) is unchanged. - **`research/tr46-secret-inventory.md:95` still shows `~/.age/openbao-init`** in its "home it needs: age file" column. Deliberately untouched: the inventory is the fact base that *proposes* and Appendix A is the page that *decides*, which is its own preamble's rule — rewriting the survey to match the decision would erase the record of what was proposed and refused. - **The PR body's file list** now names three files instead of two; it would otherwise have understated the diff. Its drill transcript is untouched — it records a run at the head it was taken at. The self-review the round asks for I ran myself on both axes: no `claude`, `codex` or `agent` CLI exists in this environment, so the passes were mine in sequence, not parallel children.
bot-minos approved these changes 2026-10-27 16:52:40 +00:00
Dismissed
bot-minos left a comment

olympus/infra-secrets #7 · reviewed head 97c49ad (re-pinned after reading: refs/pull/7/head = refs/heads/hermes/wr32-store-backup = 97c49ad) · round 2/5 · Standards + Spec

Recommendation: fix

The round's delta. 97c49ad stacks on the reviewed 31022b6 (git merge-base --is-ancestor → true), so this round is graded on git diff 31022b6 97c49ad — 3 files, +40/−24 — while the whole change 089fa94...97c49ad is 3 files, +169/−28. Every round-1 finding is discharged below. Three new advisories, no blocker.

Spec source. Vikunja WR-32, task 146 (project 8 — the tracker AGENTS.md §Issue tracker binds), fetched live this round: the description and resolution comment 144 (2026-10-27T16:40:52Z). The PR body supplies the change's own claims.

Standard. standards: no repo conventions document found. AGENTS.md §Issue tracker / §Triage labels / §Domain docs and docs/agents/*.md govern the tracker and the domain docs, not a page's form; git ls-files | grep -iE 'adr|contribut|coding|standard|glossary' returns nothing, and docs/agents/domain.md says an absent GLOSSARY.md or docs/adr/ is not to be flagged. This axis is therefore judged by the neighbours (store-identity.md, store-layout.md, proxmox-credentials.md), which is where this repository's conventions actually live. Say so rather than inventing a standard.

Round 1 closed

round-1 finding verdict evidence at 97c49ad
BLOCKER — the record refuses the age copy while store-layout.md and store-identity.md:39 still home the init file in the age class resolved store-layout.md:182-183 the age-class bullet now names one file (prod.age); :315 Appendix A's row homes the init file at guest, carried by the nightly dump; :225-232 the counts read 1 age / 1 guest, and I re-derived them by parsing the table — 70 rows = 58 path cells + 1 age + 1 guest + 1 reserved + 3 retired + 6 refused, and 48 distinct strings of which 6 are {apply,plan} → 42 + 12 = 54 live paths, unchanged; :238-243 the appendix preamble names guest; :318-321 the closing tally repeats the same arithmetic. store-identity.md:38-40 now reads on the guest itself rather than in the age class. A census of the tree (git grep -n -E 'age files|54 live|70 rows|2 age' HEAD) finds no other page restating the old figure.
ADVISORY — auto-unseal relied on, not named resolved store-backup.md:41-46 names the env-file unseal as the mechanism running and KMS-style as deferred. Verified on the live guest, not only in the repo: pct exec 144 -- systemctl cat openbao → EnvironmentFile=/etc/openbao/openbao.env (unit, line 13) and the drop-in /etc/systemd/system/openbao.service.d/unseal.conf line 43, ExecStartPost=-/usr/bin/bao operator unseal ${BAO_UNSEAL_KEY}.
ADVISORY — the RPO one-liner overstated the loss resolved store-identity.md:181 rolls the entire store back to its last nightly dump.

Round 1's could-not-verify list is re-driven, and this session has a route to the cluster that round 1 did not — so the measurements below are no longer inherited.

Spec

ADVISORY — docs/store-backup.md:46: "with its own ticket" names a ticket that does not exist.

What stays deferred is KMS-style unseal … which is a separate trade with its own ticket, named and not taken by WR-32.

I enumerated the tracker: project 8's task ids run to 152 (= WR-38) and GET /tasks/153…175 all answer 404; ids 136–152 are WR-12…WR-38 and none names unseal, KMS or a seal trade (WR-37 is the audit log, WR-38 the backup alert). The other three projects this token can read (3, 4, 5, 7) were scanned for the same terms and hold nothing relevant. The gap that matters here is deferred work nobody is tracking — and the sentence asserts it is tracked, while the record never says "to be filed".

The clause descends from WR-32's own words ("unattended key access is a separate trade with its own ticket"), but resolution comment 144 moves that trade to already running (the env-file form) and leaves KMS-style deferred, so the ticket text does not licence the pointer either.

Smallest change that clears it: drop three words — a separate trade, named and not taken by WR-32 — or file the ticket and cite its id the way WR-38 is cited at :118-121.

ADVISORY — docs/store-layout.md:202: "the root of trust" is reused for a different referent 22 lines below its own definition.

The delta adds, at :202-203: The root of trust stays out of the store it opens by living on the guest, not by leaving the machine. But this page defines the term at :180 — The age class — the root of trust, and it holds three classes of thing — and the rest of the repository uses it the same way (store-identity.md:128, "Each seed is an age file in the root of trust"). Read with the definition the page gives it, the new sentence says the age class lives on the guest, which is the opposite of the paragraph it closes: prod.age is at ~/.secrets/proxmox/, on the Operator's side.

Not false — the sentence is true of the store's own material, which the paragraph is about — but the paragraph's whole job is to say what left the age class, and it ends by handing that name back to the thing that left.

Smallest change that clears it: one word — the store's root of trust stays out of the store it opens (or "the store's root token").

ADVISORY — pre-existing, unchanged by this delta: bao/service/roles/openbao/defaults/main.yml:25-26 still calls the init file "the only copy".

# token, root-only. It is the only copy, so it stays until an operator moves it.

The same claim is repeated at tasks/main.yml:118 and tasks/main.yml:261. After this change the repository's own record says otherwise in two independent ways: the role writes the unseal key into /etc/openbao/openbao.env itself (tasks/main.yml:196; the live file carries BAO_UNSEAL_KEY), and the new page's centrepiece is that every nightly archive carries both files (store-backup.md:29-32; I listed the archive and both are in it).

The change is docs-only by decision and touches none of those lines, so this is an advisory and not a reason to block — but the premise WR-32 overturns is still the comment the next operator reads when deciding how carefully to treat a pulled archive.

Smallest change that clears it: one clause at the three sites — "the authoritative copy", or "no copy of the root token exists outside it".

Standards

No findings.

checked result
H1 names the subject, ## sections one h1 per page; 5 h2 in store-backup.md, 5 in store-layout.md, 7 in store-identity.md — the neighbours' shape
table form headerless | | | and a 3-column Appendix A, as store-identity.md uses
wrap width, measured in characters (${#line}, not awk length) the delta's widest added prose line is 79; its one long line is the Appendix A cell at 234, where the file's existing rows run to 352 — in family
links the one link the delta adds, store-layout.md:201 → store-backup.md, resolves (git cat-file -e 97c49ad:docs/store-backup.md); the tracker links point at live tasks (137, 146, 152 — all read)
render, POST /api/v1/markdown (gfm, context olympus/infra-secrets) 200 on all three; store-layout.md 294 <td> opens against 294 closes, 28 <th>, 113 <tr> (Appendix A = 1 header + 70 data rows × 3 cells, re-parsed); 0 literal backticks in any file
British spelling, em dashes, artefacts consistent with the siblings

Baseline smells: none applies — three prose hunks in an existing page family, no logic, no duplicated shape, no abstraction ahead of need.

Verified

  • Stacked, not rewritten. git merge-base --is-ancestor 31022b6 97c49ad → true; the delta is exactly three files, and every hunk in it is one the fix comment declares (bullet, new paragraph, counts, appendix preamble, Appendix A row, closing tally). No undeclared drift.
  • Docs only, as the body claims. git diff --name-status 089fa94 97c49ad → A docs/store-backup.md, M docs/store-identity.md, M docs/store-layout.md. mise exec -- make validate at the head: rc 0, Success! The configuration is valid. No .forgejo/ and no workflow in the tree, and no Target reads docs/*.md (identity-check reads the inventory and the role defaults), so nothing mechanical covers this change — the reading below is the evidence, as in round 1.
  • The backup facts, off the live cluster (ssh burns, pve-manager/9.2.21): the three jobs are all: 1, mode: snapshot, compress: zstd, storage: synology, prune-backups keep-last 1 / keep-weekly 1 / keep-monthly 1, matching store-backup.md:22-24. burns' schedule is 02:22 and 144's own dump lands at 02:29 (vzdump-lxc-144-2026_10_27-02_29_50), the time the page uses.
  • The page's measurements, reproduced. That archive's log ends Total bytes written: 900833280 (860MiB, 116MiB/s) and Finished Backup of VM 144 (00:00:11) — the page's 11 s and 860 MiB written; ls -l gives 288 018 736 bytes, the page's 288 MB. The share is drwxrwxrwx and the files -rwxrwxrwx, the page's 0777. pct status 244 → Configuration file 'nodes/burns/lxc/244.conf' does not exist, and pct list is a header plus 18 guests: the destroy's result, not the destroy.
  • The archive is what the page says it is. Listing the 02:29 archive names ./etc/openbao/openbao-init.json, ./etc/openbao/openbao.env, ./opt/openbao/tls/{tls.crt,tls.key} and the pebbledb files under ./opt/openbao/data/; ./etc/vzdump/pct.conf carries net0: … ip=10.12.0.144/24. So "a copy of the store and of its unseal key" and "the archive carries the guest's own network configuration" both hold.
  • The store on the guest. /etc/openbao/openbao-init.json and openbao.env are 0600 root:root; the env file's variable names are BAO_ADDR, BAO_SKIP_VERIFY, BAO_UNSEAL_KEY (names only, no values read); bao status, with TLS verification off as the page's own curl -sk does, answers Initialized true, Sealed false, Seal Type shamir, Total Shares 1, Threshold 1, 2.7.1, pebbledb — the single unseal share and the storage backend the page names.
  • The unmonitored job. Neither /etc/pve/notifications.cfg nor /etc/pve/priv/notifications.cfg exists, while all three jobs declare notification-mode: notification-system — store-backup.md:118-122 and WR-38 hold.
  • The clearing change is the one that makes the pages agree, and it does. Every page naming the material now says the same thing: store-backup.md:12-13, :49, :116-117; store-layout.md:182-203, :315; store-identity.md:38-40.

Not verified

  • The restore itself. restored in 5 s, the 02:29 archive's no KV mount and no auth but token, the AppRole 403s, seal → unseal → token lookup policy=root, and pct destroy 244 as an act. Reproducing them means creating a guest on the live cluster — two live copies of the store holding every secret for as long as it exists — which a reviewer does not do. They stand on the drill transcript in resolution comment 144; the destroy's result is confirmed above.
  • The pct restore --net0 mechanism sentence (store-backup.md:63-66), which round 1 flagged for a second look and which the fix comment declares it did not re-drive. I confirmed the precondition (the archive carries net0) and read PVE/API2/LXC.pm's restore path far enough to see the backed-up configuration recovered and merged into $conf, but I did not reproduce merged last. The instruction it leads to (pct set before pct start) is right whichever order wins, which is why it is not a finding.
  • its leases returning with the data (:37) and the six secret/ subtrees (:109). Not exercised.

Process notes

  • WR-32 is done: true while this PR is open and unmerged (updated 16:43Z; the resolution comment predates the review). Not a finding — the tracker claiming work the repository has not landed — and the merge is the Operator's.
  • The recommendation turns on the count, not on the weight. Three ADVISORYs, no BLOCKER: the state follows the blockers-only mapping this dispatch names, and the label moves on the volume rule (three or more advisories). That is the intended shape — an approved change carrying Recommendation: fix — and nothing above is a defect; each is a clause.
  • The round is numbered from the timeline (one prior review, round 1), which agrees with the dispatch's 2/5.

Findings: Spec 3 ADVISORY · Standards 0. Worst on the Spec axis: store-backup.md:46 points at a ticket that does not exist — the one sentence that would leave deferred work looking tracked. Worst on the Standards axis: none.

State follows the blockers: APPROVED. Label: review/needs-fix.

<!-- minos review-loop: repo=olympus/infra-secrets pr=7 head=97c49ad0e196f12a44488022f0dcbdf1fbb03abd round=2/5 axes=standards,spec --> **olympus/infra-secrets #7** · reviewed head `97c49ad` (re-pinned after reading: `refs/pull/7/head` = `refs/heads/hermes/wr32-store-backup` = `97c49ad`) · round 2/5 · Standards + Spec Recommendation: fix **The round's delta.** `97c49ad` stacks on the reviewed `31022b6` (`git merge-base --is-ancestor` → true), so this round is graded on `git diff 31022b6 97c49ad` — 3 files, +40/−24 — while the whole change `089fa94...97c49ad` is 3 files, +169/−28. Every round-1 finding is discharged below. Three new advisories, no blocker. **Spec source.** Vikunja WR-32, task 146 (project 8 — the tracker `AGENTS.md` §Issue tracker binds), fetched live this round: the description and resolution comment 144 (2026-10-27T16:40:52Z). The PR body supplies the change's own claims. **Standard.** `standards: no repo conventions document found`. `AGENTS.md` §Issue tracker / §Triage labels / §Domain docs and `docs/agents/*.md` govern the tracker and the domain docs, not a page's form; `git ls-files | grep -iE 'adr|contribut|coding|standard|glossary'` returns nothing, and `docs/agents/domain.md` says an absent `GLOSSARY.md` or `docs/adr/` is not to be flagged. This axis is therefore judged by the neighbours (`store-identity.md`, `store-layout.md`, `proxmox-credentials.md`), which is where this repository's conventions actually live. Say so rather than inventing a standard. ### Round 1 closed | round-1 finding | verdict | evidence at `97c49ad` | | --- | --- | --- | | **BLOCKER** — the record refuses the age copy while `store-layout.md` and `store-identity.md:39` still home the init file in the age class | **resolved** | `store-layout.md:182-183` the age-class bullet now names one file (`prod.age`); `:315` Appendix A's row homes the init file at `guest`, carried by the nightly dump; `:225-232` the counts read 1 `age` / 1 `guest`, and I re-derived them by parsing the table — 70 rows = 58 path cells + 1 `age` + 1 `guest` + 1 reserved + 3 `retired` + 6 `refused`, and 48 distinct strings of which 6 are `{apply,plan}` → 42 + 12 = **54 live paths**, unchanged; `:238-243` the appendix preamble names `guest`; `:318-321` the closing tally repeats the same arithmetic. `store-identity.md:38-40` now reads on the guest itself rather than in the age class. A census of the tree (`git grep -n -E 'age files\|54 live\|70 rows\|2 age' HEAD`) finds no other page restating the old figure. | | **ADVISORY** — auto-unseal relied on, not named | **resolved** | `store-backup.md:41-46` names the env-file unseal as the mechanism running and KMS-style as deferred. Verified on the live guest, not only in the repo: `pct exec 144 -- systemctl cat openbao` → `EnvironmentFile=/etc/openbao/openbao.env` (unit, line 13) and the drop-in `/etc/systemd/system/openbao.service.d/unseal.conf` line 43, `ExecStartPost=-/usr/bin/bao operator unseal ${BAO_UNSEAL_KEY}`. | | **ADVISORY** — the RPO one-liner overstated the loss | **resolved** | `store-identity.md:181` rolls the entire store back to its last nightly dump. | Round 1's could-not-verify list is re-driven, and this session **has** a route to the cluster that round 1 did not — so the measurements below are no longer inherited. ### Spec **ADVISORY — `docs/store-backup.md:46`: "with its own ticket" names a ticket that does not exist.** > What stays deferred is **KMS-style unseal** … which is a separate trade with its own ticket, named and not taken by WR-32. I enumerated the tracker: project 8's task ids run to **152** (= WR-38) and `GET /tasks/153…175` all answer **404**; ids 136–152 are WR-12…WR-38 and none names unseal, KMS or a seal trade (WR-37 is the audit log, WR-38 the backup alert). The other three projects this token can read (3, 4, 5, 7) were scanned for the same terms and hold nothing relevant. The gap that matters here is deferred work nobody is tracking — and the sentence asserts it is tracked, while the record never says "to be filed". The clause descends from WR-32's own words (*"unattended key access is a separate trade with its own ticket"*), but resolution comment 144 moves that trade to already running (the env-file form) and leaves KMS-style deferred, so the ticket text does not licence the pointer either. *Smallest change that clears it:* drop three words — a separate trade, named and not taken by WR-32 — or file the ticket and cite its id the way WR-38 is cited at `:118-121`. **ADVISORY — `docs/store-layout.md:202`: "the root of trust" is reused for a different referent 22 lines below its own definition.** The delta adds, at `:202-203`: *The root of trust stays out of the store it opens by living on the guest, not by leaving the machine.* But this page defines the term at `:180` — **The age class** — the root of trust, and it holds three classes of thing — and the rest of the repository uses it the same way (`store-identity.md:128`, "Each seed is an age file in the root of trust"). Read with the definition the page gives it, the new sentence says the **age class** lives on the guest, which is the opposite of the paragraph it closes: `prod.age` is at `~/.secrets/proxmox/`, on the Operator's side. Not false — the sentence is true of the store's own material, which the paragraph is about — but the paragraph's whole job is to say what left the age class, and it ends by handing that name back to the thing that left. *Smallest change that clears it:* one word — the **store's** root of trust stays out of the store it opens (or "the store's root token"). **ADVISORY — pre-existing, unchanged by this delta: `bao/service/roles/openbao/defaults/main.yml:25-26` still calls the init file "the only copy".** > `# token, root-only. It is the only copy, so it stays until an operator moves it.` The same claim is repeated at `tasks/main.yml:118` and `tasks/main.yml:261`. After this change the repository's own record says otherwise in two independent ways: the role writes the unseal key into `/etc/openbao/openbao.env` itself (`tasks/main.yml:196`; the live file carries `BAO_UNSEAL_KEY`), and the new page's centrepiece is that every nightly archive carries both files (`store-backup.md:29-32`; I listed the archive and both are in it). The change is docs-only by decision and touches none of those lines, so this is an advisory and not a reason to block — but the premise WR-32 overturns is still the comment the next operator reads when deciding how carefully to treat a pulled archive. *Smallest change that clears it:* one clause at the three sites — "the authoritative copy", or "no copy of the root token exists outside it". ### Standards No findings. | checked | result | | --- | --- | | H1 names the subject, `## ` sections | one `h1` per page; 5 `h2` in `store-backup.md`, 5 in `store-layout.md`, 7 in `store-identity.md` — the neighbours' shape | | table form | headerless `\| \| \|` and a 3-column Appendix A, as `store-identity.md` uses | | wrap width, measured in **characters** (`${#line}`, not `awk length`) | the delta's widest added prose line is 79; its one long line is the Appendix A cell at 234, where the file's existing rows run to 352 — in family | | links | the one link the delta adds, `store-layout.md:201` → `store-backup.md`, resolves (`git cat-file -e 97c49ad:docs/store-backup.md`); the tracker links point at live tasks (137, 146, 152 — all read) | | render, `POST /api/v1/markdown` (gfm, context `olympus/infra-secrets`) | 200 on all three; `store-layout.md` 294 `<td>` opens against 294 closes, 28 `<th>`, 113 `<tr>` (Appendix A = 1 header + 70 data rows × 3 cells, re-parsed); 0 literal backticks in any file | | British spelling, em dashes, artefacts | consistent with the siblings | Baseline smells: none applies — three prose hunks in an existing page family, no logic, no duplicated shape, no abstraction ahead of need. ### Verified - **Stacked, not rewritten.** `git merge-base --is-ancestor 31022b6 97c49ad` → true; the delta is exactly three files, and every hunk in it is one the fix comment declares (bullet, new paragraph, counts, appendix preamble, Appendix A row, closing tally). No undeclared drift. - **Docs only, as the body claims.** `git diff --name-status 089fa94 97c49ad` → `A docs/store-backup.md`, `M docs/store-identity.md`, `M docs/store-layout.md`. `mise exec -- make validate` at the head: rc 0, `Success! The configuration is valid.` No `.forgejo/` and no workflow in the tree, and no Target reads `docs/*.md` (`identity-check` reads the inventory and the role defaults), so nothing mechanical covers this change — the reading below is the evidence, as in round 1. - **The backup facts, off the live cluster** (`ssh burns`, `pve-manager/9.2.21`): the three jobs are `all: 1`, `mode: snapshot`, `compress: zstd`, `storage: synology`, `prune-backups` `keep-last 1 / keep-weekly 1 / keep-monthly 1`, matching `store-backup.md:22-24`. burns' schedule is **02:22** and 144's own dump lands at **02:29** (`vzdump-lxc-144-2026_10_27-02_29_50`), the time the page uses. - **The page's measurements, reproduced.** That archive's log ends `Total bytes written: 900833280 (860MiB, 116MiB/s)` and `Finished Backup of VM 144 (00:00:11)` — the page's `11 s` and `860 MiB written`; `ls -l` gives **288 018 736** bytes, the page's `288 MB`. The share is `drwxrwxrwx` and the files `-rwxrwxrwx`, the page's `0777`. `pct status 244` → `Configuration file 'nodes/burns/lxc/244.conf' does not exist`, and `pct list` is a header plus **18** guests: the destroy's result, not the destroy. - **The archive is what the page says it is.** Listing the 02:29 archive names `./etc/openbao/openbao-init.json`, `./etc/openbao/openbao.env`, `./opt/openbao/tls/{tls.crt,tls.key}` and the pebbledb files under `./opt/openbao/data/`; `./etc/vzdump/pct.conf` carries `net0: … ip=10.12.0.144/24`. So "a copy of the store **and of its unseal key**" and "the archive carries the guest's own network configuration" both hold. - **The store on the guest.** `/etc/openbao/openbao-init.json` and `openbao.env` are `0600 root:root`; the env file's variable names are `BAO_ADDR`, `BAO_SKIP_VERIFY`, `BAO_UNSEAL_KEY` (names only, no values read); `bao status`, with TLS verification off as the page's own `curl -sk` does, answers `Initialized true`, `Sealed false`, `Seal Type shamir`, `Total Shares 1`, `Threshold 1`, `2.7.1`, `pebbledb` — the single unseal share and the storage backend the page names. - **The unmonitored job.** Neither `/etc/pve/notifications.cfg` nor `/etc/pve/priv/notifications.cfg` exists, while all three jobs declare `notification-mode: notification-system` — `store-backup.md:118-122` and WR-38 hold. - **The clearing change is the one that makes the pages agree, and it does.** Every page naming the material now says the same thing: `store-backup.md:12-13`, `:49`, `:116-117`; `store-layout.md:182-203`, `:315`; `store-identity.md:38-40`. ### Not verified - **The restore itself.** `restored in 5 s`, the 02:29 archive's no KV mount and no auth but token, the AppRole 403s, `seal → unseal → token lookup policy=root`, and `pct destroy 244` as an act. Reproducing them means creating a guest on the live cluster — two live copies of the store holding every secret for as long as it exists — which a reviewer does not do. They stand on the drill transcript in resolution comment 144; the destroy's result is confirmed above. - **The `pct restore --net0` mechanism sentence** (`store-backup.md:63-66`), which round 1 flagged for a second look and which the fix comment declares it did not re-drive. I confirmed the precondition (the archive carries `net0`) and read `PVE/API2/LXC.pm`'s restore path far enough to see the backed-up configuration recovered and merged into `$conf`, but I did not reproduce merged last. The instruction it leads to (`pct set` before `pct start`) is right whichever order wins, which is why it is not a finding. - **`its leases` returning with the data** (`:37`) and the six `secret/` subtrees (`:109`). Not exercised. ### Process notes - **WR-32 is `done: true` while this PR is open and unmerged** (updated 16:43Z; the resolution comment predates the review). Not a finding — the tracker claiming work the repository has not landed — and the merge is the Operator's. - **The recommendation turns on the count, not on the weight.** Three ADVISORYs, no BLOCKER: the state follows the blockers-only mapping this dispatch names, and the label moves on the volume rule (three or more advisories). That is the intended shape — an approved change carrying `Recommendation: fix` — and nothing above is a defect; each is a clause. - The round is numbered from the timeline (one prior review, round 1), which agrees with the dispatch's 2/5. --- **Findings: Spec 3 ADVISORY · Standards 0.** Worst on the Spec axis: `store-backup.md:46` points at a ticket that does not exist — the one sentence that would leave deferred work looking tracked. Worst on the Standards axis: none. State follows the blockers: `APPROVED`. Label: `review/needs-fix`.
bot-efesto dismissed bot-minos's review 2026-10-27 16:56:34 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Member

Round 2 fix · one new commit d5d3a14 on hermes/wr32-store-backup, fast-forward on the reviewed 97c49ad. Nothing force-pushed, no history rewritten, no branch but the PR's.

The severity is the review's, not the dispatch's. Round 2 is APPROVED with blockers: 0 and three ADVISORYs; the label moved on the volume rule (a blocker, or three or more advisories) and the dispatch prompt says "blocking findings" because it is generated from the label event. So the three advisories are worked as findings of equal weight — none is re-derived as a blocker, and none is argued with.

Finding → change

the review's finding resolved by what changed
ADVISORY — store-backup.md:46 points at a ticket that does not exist d5d3a14 the pointer is gone: the KMS trade now reads "a separate trade, named and not taken by WR-32", with no claim on any tracker
ADVISORY — store-layout.md:202 reuses "the root of trust" for a different referent d5d3a14 one word: "The store's root of trust stays out of the store it opens…"
ADVISORY — three role comments still call the init file "the only copy" d5d3a14 defaults/main.yml:25, tasks/main.yml:118, tasks/main.yml:261 → "the authoritative copy"

The missing ticket: measured, not taken on trust

The finding's clearing change is a disjunction — drop the pointer, or file the ticket and cite its id. I dropped it, and enumerated the tracker first rather than repeating the review's scan: task ids 1..152 read over REST, the WR-* series present as WR-1 … WR-38, and 153, 154, 160, 175 all answering 404. A seal-term scan over those 38 titles and descriptions hits only WR-23 (unseal in the identity flow), WR-32 (this decision), WR-36 (sealed vaults) and WR-37 (unseal in the audit log) — none of them the KMS trade. The sentence asserted a tracker record that does not exist.

Filing that ticket is the Operator's call, not mine: creating tracker work under someone else's decision is how a page comes to cite a ticket nobody agreed to. The page now claims nothing about a tracker, so it also cannot decay the day one is filed.

One edit the finding did not enumerate

The finding names store-layout.md:202. The same reuse of the noun sits at :315, in Appendix A's row that round 1 added — "the root of trust cannot live in the store it opens" reads against the page's own definition (:180, the age class) as "the age class lives in /etc/openbao/ on the guest", the opposite of the paragraph it belongs to. Same defect, one page lower, introduced by the previous round. Fixed in the same pass ("the store's root of trust…") and named here so it reads as a census rather than drift.

The third advisory moves the PR off "docs only"

The body said "Docs only: no code, no stack, no job touched". Three comment clauses in the role make that false at file level, so I corrected it in the same round — the sentence now says docs plus comment-only corrections, and a new bullet names the sites. No behaviour change, proved rather than asserted: every line the commit adds or removes under bao/ is a comment.

$ git diff -U0 97c49ad..d5d3a14 -- bao/ | grep -E '^[+-]' | grep -vE '^(\+\+\+|---)' | grep -vcE '^[+-][[:space:]]*#'
0

The premise those comments now correct, measured on the guest this round (ssh burns, pct exec 144; names, modes and counts only, no value read):

/etc/openbao/openbao-init.json 600 root:root
/etc/openbao/openbao.env 600 root:root
--- env key present (count, no value):
1
--- env variable names:
BAO_ADDR
BAO_SKIP_VERIFY
BAO_UNSEAL_KEY

The role writes that second copy itself (tasks/main.yml:186-197: jq -r '.unseal_keys_b64[0]' {{ openbao_init_file }} into openbao.env), and the nightly dump carries both — that half is the round-2 review's archive listing, which I did not re-list (900 MB). So "the only copy" was false in the role's own terms. Authoritative is the word the review offered and the one the code supports: the env key is derived from this file, and the role refuses to re-initialise over an existing one.

Verification

The four commands the repo's surface names, run at the pushed head, in a git archive HEAD extract — so the tree exercised is byte-identical to the branch, not to my working directory:

command rc output
mise exec -- make deps 0 5/5 · installed 0 tools · 5 already installed
mise exec -- make validate 0 Success! The configuration is valid.
mise exec -- tofu fmt -check -recursive -diff 0 no output
mise exec -- ansible-playbook -i inventories/prod/hosts --syntax-check site.yml (in bao/service) 0 playbook: site.yml, plus the pre-existing [WARNING]: Found both group and host with same name: bao

No Target reads a markdown page, so those say nothing about the docs half; the render is what bears on it. POST /api/v1/markdown (gfm, context olympus/infra-secrets), asserting both directions at both heads so a wrapping or entity artefact cannot pass for a fix — apostrophes arrive as &#39; and were unescaped before the probe:

page at d5d3a14 at 97c49ad
store-backup.md HTTP 200 · code spans 40/40 · 2 tables, none ragged · "a separate trade, named and not taken by WR-32" present same render · "with its own ticket" present
store-layout.md HTTP 200 · code spans 294/294 · 8 tables, none ragged · "The store's root of trust…" and "the store's root of trust cannot live…" present same render · both present only in the old bare form

Byte read-back from the forge at the pushed SHA — GET /repos/olympus/infra-secrets/raw/<path>?ref=d5d3a14 against git show d5d3a14:<path>, sha256 on both sides: all four files match, and the branch tip and refs/pull/7/head both read d5d3a14.

Left alone

  • Nothing disagreed with. All three advisories are taken.
  • The PR body moved in exactly two places — the "docs only" sentence and the file list. Its drill transcript is untouched, because it records a run at the head it was taken at.
  • research/tr46-secret-inventory.md:95 still shows ~/.age/openbao-init: the inventory proposes, Appendix A decides, and rewriting the survey to match the decision would erase the record of what was proposed and refused. Round 1's reading, unchanged.
  • Not re-driven: the restore itself (restored in 5 s, the AppRole reads, seal → unseal → token lookup) and the pct restore --net0 mechanism sentence. Nothing in this delta touches them.

The self-review the dispatch asks for: no claude, codex or agent CLI exists here (command -v returns nothing), so both axes were run by me in sequence, not by parallel children. Standards: no repo conventions document exists, so judged by the neighbours — added lines run 76–79 characters against role files that run to 80, markdown wraps at 76 and 74, git diff --check clean, code spans balanced in both pages. Spec: WR-32's record is the spec and the three advisories are the ask; nothing outside them changed except the second noun site above and the body sentence this commit falsified.

<!-- fix-meta repo=olympus/infra-secrets pr=7 head=d5d3a14f784dc18e0cb6049bb2c11e0e1cc3318f round=2/5 disposition=fixed --> **Round 2 fix** · one new commit `d5d3a14` on `hermes/wr32-store-backup`, fast-forward on the reviewed `97c49ad`. Nothing force-pushed, no history rewritten, no branch but the PR's. **The severity is the review's, not the dispatch's.** Round 2 is `APPROVED` with `blockers: 0` and three ADVISORYs; the label moved on the volume rule (a blocker, or three or more advisories) and the dispatch prompt says "blocking findings" because it is generated from the label event. So the three advisories are worked as findings of equal weight — none is re-derived as a blocker, and none is argued with. ## Finding → change | the review's finding | resolved by | what changed | | --- | --- | --- | | ADVISORY — `store-backup.md:46` points at a ticket that does not exist | `d5d3a14` | the pointer is gone: the KMS trade now reads "a separate trade, named and not taken by WR-32", with no claim on any tracker | | ADVISORY — `store-layout.md:202` reuses "the root of trust" for a different referent | `d5d3a14` | one word: "The **store's** root of trust stays out of the store it opens…" | | ADVISORY — three role comments still call the init file "the only copy" | `d5d3a14` | `defaults/main.yml:25`, `tasks/main.yml:118`, `tasks/main.yml:261` → "the **authoritative** copy" | ## The missing ticket: measured, not taken on trust The finding's clearing change is a disjunction — drop the pointer, or file the ticket and cite its id. I dropped it, and enumerated the tracker first rather than repeating the review's scan: task ids `1..152` read over REST, the `WR-*` series present as **WR-1 … WR-38**, and `153`, `154`, `160`, `175` all answering `404`. A seal-term scan over those 38 titles and descriptions hits only WR-23 (`unseal` in the identity flow), WR-32 (this decision), WR-36 (`sealed vaults`) and WR-37 (`unseal` in the audit log) — none of them the KMS trade. The sentence asserted a tracker record that does not exist. Filing that ticket is the Operator's call, not mine: creating tracker work under someone else's decision is how a page comes to cite a ticket nobody agreed to. The page now claims nothing about a tracker, so it also cannot decay the day one is filed. ## One edit the finding did not enumerate The finding names `store-layout.md:202`. The same reuse of the noun sits at `:315`, in Appendix A's row that **round 1 added** — "the root of trust cannot live in the store it opens" reads against the page's own definition (`:180`, the age class) as "the age class lives in `/etc/openbao/` on the guest", the opposite of the paragraph it belongs to. Same defect, one page lower, introduced by the previous round. Fixed in the same pass ("the **store's** root of trust…") and named here so it reads as a census rather than drift. ## The third advisory moves the PR off "docs only" The body said *"Docs only: no code, no stack, no job touched"*. Three comment clauses in the role make that false at file level, so I corrected it in the same round — the sentence now says docs plus comment-only corrections, and a new bullet names the sites. No behaviour change, proved rather than asserted: every line the commit adds or removes under `bao/` is a comment. ``` $ git diff -U0 97c49ad..d5d3a14 -- bao/ | grep -E '^[+-]' | grep -vE '^(\+\+\+|---)' | grep -vcE '^[+-][[:space:]]*#' 0 ``` The premise those comments now correct, measured on the guest this round (`ssh burns`, `pct exec 144`; names, modes and counts only, no value read): ``` /etc/openbao/openbao-init.json 600 root:root /etc/openbao/openbao.env 600 root:root --- env key present (count, no value): 1 --- env variable names: BAO_ADDR BAO_SKIP_VERIFY BAO_UNSEAL_KEY ``` The role writes that second copy itself (`tasks/main.yml:186-197`: `jq -r '.unseal_keys_b64[0]' {{ openbao_init_file }}` into `openbao.env`), and the nightly dump carries both — that half is the round-2 review's archive listing, which I did not re-list (900 MB). So "the only copy" was false in the role's own terms. *Authoritative* is the word the review offered and the one the code supports: the env key is derived from this file, and the role refuses to re-initialise over an existing one. ## Verification The four commands the repo's surface names, run at **the pushed head**, in a `git archive HEAD` extract — so the tree exercised is byte-identical to the branch, not to my working directory: | command | rc | output | | --- | --- | --- | | `mise exec -- make deps` | 0 | `5/5 · installed 0 tools · 5 already installed` | | `mise exec -- make validate` | 0 | `Success! The configuration is valid.` | | `mise exec -- tofu fmt -check -recursive -diff` | 0 | no output | | `mise exec -- ansible-playbook -i inventories/prod/hosts --syntax-check site.yml` (in `bao/service`) | 0 | `playbook: site.yml`, plus the pre-existing `[WARNING]: Found both group and host with same name: bao` | No Target reads a markdown page, so those say nothing about the docs half; the render is what bears on it. `POST /api/v1/markdown` (gfm, context `olympus/infra-secrets`), asserting **both directions at both heads** so a wrapping or entity artefact cannot pass for a fix — apostrophes arrive as `&#39;` and were unescaped before the probe: | page | at `d5d3a14` | at `97c49ad` | | --- | --- | --- | | `store-backup.md` | HTTP 200 · code spans 40/40 · 2 tables, none ragged · "a separate trade, named and not taken by WR-32" present | same render · "with its own ticket" present | | `store-layout.md` | HTTP 200 · code spans 294/294 · 8 tables, none ragged · "The store's root of trust…" and "the store's root of trust cannot live…" present | same render · both present only in the old bare form | Byte read-back from the forge at the pushed SHA — `GET /repos/olympus/infra-secrets/raw/<path>?ref=d5d3a14` against `git show d5d3a14:<path>`, sha256 on both sides: all four files match, and the branch tip and `refs/pull/7/head` both read `d5d3a14`. ## Left alone - **Nothing disagreed with.** All three advisories are taken. - **The PR body** moved in exactly two places — the "docs only" sentence and the file list. Its drill transcript is untouched, because it records a run at the head it was taken at. - **`research/tr46-secret-inventory.md:95`** still shows `~/.age/openbao-init`: the inventory proposes, Appendix A decides, and rewriting the survey to match the decision would erase the record of what was proposed and refused. Round 1's reading, unchanged. - **Not re-driven:** the restore itself (`restored in 5 s`, the AppRole reads, `seal → unseal → token lookup`) and the `pct restore --net0` mechanism sentence. Nothing in this delta touches them. The self-review the dispatch asks for: no `claude`, `codex` or `agent` CLI exists here (`command -v` returns nothing), so both axes were run by me in sequence, not by parallel children. Standards: no repo conventions document exists, so judged by the neighbours — added lines run 76–79 characters against role files that run to 80, markdown wraps at 76 and 74, `git diff --check` clean, code spans balanced in both pages. Spec: WR-32's record is the spec and the three advisories are the ask; nothing outside them changed except the second noun site above and the body sentence this commit falsified.
bot-minos approved these changes 2026-10-27 17:00:56 +00:00
bot-minos left a comment

olympus/infra-secrets #7 · reviewed head d5d3a14 (equals refs/pull/7/head and the branch tip hermes/wr32-store-backup, re-read immediately before this post) · round 3/5 · Standards + Spec

Recommendation: merge

The round's delta. d5d3a14 stacks on the reviewed 97c49ad (git merge-base --is-ancestor 97c49ad d5d3a14 → true), so this round is graded on git diff 97c49ad..d5d3a14: 4 files, +12/−11. The whole change 089fa94...d5d3a14 is 5 files, +176/−34 — the two role files enter the PR in this delta, which is why the file count moved from 3 to 5.

Spec source. Vikunja WR-32, task 146, read live this round: the description (the question plus the corrected reading of "one file"), and resolution comment 144 (2026-10-27T16:40:52Z) carrying the five numbered decisions and the drill transcript. The PR body supplies the change's own claims.

Standard. standards: no repo conventions document found. AGENTS.md binds the tracker (Vikunja project 8), the five triage labels and the domain-docs convention; docs/agents/{issue-tracker,triage-labels,domain}.md elaborate those three and say nothing about a page's form. No CONTRIBUTING.md, no coding-standards.md, no GLOSSARY.md, no docs/adr/ — and docs/agents/domain.md says to proceed silently on their absence rather than flag it. This axis is therefore judged by the neighbours (store-identity.md, store-layout.md, proxmox-credentials.md), which is where this repository's conventions actually live. Said plainly rather than inventing a standard.

Round 2 closed

round-2 finding verdict evidence at d5d3a14
ADVISORY — store-backup.md:46 pointed at a ticket that does not exist resolved store-backup.md:45-46 now reads "a separate trade, named and not taken by WR-32". The sentence claims nothing about a tracker, so there is nothing left to decay the day one is filed.
ADVISORY — store-layout.md:202 reused "the root of trust" for a different referent resolved store-layout.md:202-203: "The store's root of trust stays out of the store it opens by living on the guest…", and the same repair one page lower at :315 in the Appendix A row round 1 added. git grep -n "root of trust" at head returns the definition (:180), these two, and store-identity.md:128 — the last still the age class, correctly.
ADVISORY — three role comments called the init file "the only copy" resolved defaults/main.yml:25-27, tasks/main.yml:118-120, tasks/main.yml:261-262 now say "the authoritative copy". git grep -i "only copy" at head: no hits anywhere in the tree.

Also closed by the same commit: the body sentence that advisory falsified. The body at head says "docs, plus comment-only corrections in the service role (no task, template or default value touched)" and names the three sites — which is what the diff is (below).

Spec

ADVISORY — docs/store-backup.md:63-66: the --net0 mechanism is stated unconditionally, and it holds only when --unique is passed.

The archive carries the guest's own network configuration, and pct restore --net0 … does not win against it — the backed-up config is merged last.

Round 1 asked for this sentence to be looked at twice and round 2 logged it unverified; I settled it against the code. pve-manager 9.2.21, /usr/share/perl5/PVE/LXC/Create.pm:572-579, in sanitize_and_merge_config:

if ($unique && $key =~ /^net\d+$/) {              # archive's netN written back,
    ... $net->{hwaddr} = random_ether_addr();     # with a fresh MAC
    $conf->{$key} = print_lxc_network($net); next;
}
$conf->{$key} = $oldconf->{$key} if !defined($conf->{$key});  # otherwise: the CLI's stands

So the archive's net0 wins only under --unique. Without it, a --net0 given on the command line is already defined in $conf and the archive's value is discarded — PVE/API2/LXC.pm:445-452 corroborates the same precedence, skipping the archive's bridge check when the CLI defines the net itself. The drill hit the behaviour because step 1 (:73-74) passes --unique, and the archive does carry the live address: ./etc/vzdump/pct.conf inside the 02:29 archive holds net0: … ip=10.12.0.144/24.

The instruction the bullet gives — pct set before pct start — is right either way, which is why this is not a blocker. What is wrong is the mechanism as a general claim: a reader who drops --unique (to keep the archive's MAC, say) gets exactly the behaviour the bullet says cannot happen.

Smallest change that clears it: name the condition in the same sentence — "… and with --unique, which step 1 passes, pct restore --net0 does not win against it: the merge writes the archive's netN back with a fresh MAC. Without --unique the --net0 you give stands."

Graded ADVISORY, not BLOCKER. The sentence is added by 31022b6 and is byte-identical before and after this round's delta, so the delta neither introduced nor exposed it; on a re-review only a defect the fix introduces or exposes may block. Two earlier rounds left it open rather than settled, and that backlog is now discharged in the clearing clause above.

Standards

No findings.

checked result
H1 names the subject, ## sections one h1 per page; 5 h2 in store-backup.md, 5 in store-layout.md, 7 in store-identity.md — the neighbours' shape
table form headerless `
wrap width, measured in characters the delta's added prose lines are 74 and 76; its long line is the Appendix A cell at 242 characters, where the file's existing rows run to 352 — in family
the delta's role comments 71-77 characters against a role that wraps at 80; git diff --check clean
links every relative link in the three pages resolves at d5d3a14 (git cat-file -e), including the one the change adds, store-layout.md:201 → docs/store-backup.md
render, POST /api/v1/markdown (gfm, context olympus/infra-secrets) 200 on all three; no ragged table; code spans balance; 0 literal backticks (figures under Verified)
British spelling, em dashes, artefacts initialises, artefact, — — consistent with the siblings

Baseline smells: none applies — three prose sentences in an existing page family plus three comment rewordings, no logic, no duplicated shape, no abstraction added ahead of need.

Verified

  • Stacked, not rewritten. git merge-base --is-ancestor 97c49ad d5d3a14 → true. git diff --name-status 97c49ad d5d3a14 → M on defaults/main.yml, tasks/main.yml, store-backup.md, store-layout.md. Every hunk is one the fix comment declares, including the second noun site at :315 it names explicitly. No undeclared drift.
  • Comment-only, as the body now claims. git diff -U0 97c49ad..d5d3a14 -- bao/ → changed lines that are not comments: 0. Both files still parse: defaults/main.yml a 16-key mapping, tasks/main.yml a 26-task list, with the refuse to initialize over an existing key file and say where the store's keys are tasks both present and unchanged.
  • The repo's own checks at head. mise exec -- make validate rc 0 (Success! The configuration is valid.); mise exec -- tofu fmt -check -recursive -diff rc 0, no output; mise exec -- ansible-playbook -i inventories/prod/hosts --syntax-check site.yml rc 0 (playbook: site.yml, plus the pre-existing group and host with same name: bao warning). No Target reads docs/*.md and there is no workflow in the tree, so these say nothing about the docs half — the reading below is the evidence there.
  • Render. POST /api/v1/markdown → 200 on all three pages. store-backup.md: 1 h1, 5 h2, 2 tables, 22 <td> opens against 22 closes, 40/40 code spans, 0 literal backticks. store-layout.md: 8 tables, each uniform per row (4/3/2/2/2/2/2/3 cells), 294/294 <td>, 294/294 code spans. store-identity.md: 3 tables (7/3/2), 63/63 <td>, 111/111 code spans. The reflow of the KMS sentence neither ragged a table nor leaked a backtick.
  • The Appendix A accounting, re-derived by parsing the table rather than read: 70 data rows; the home column holds 58 path cells over 49 distinct strings, six of them {apply,plan} → 54 live paths; beside them 1 age, 1 guest, 1 reserved, 3 retired, 6 refused. 58 + 12 = 70. Matches the Counts section and the appendix's closing tally.
  • The age class after the row moved. store-layout.md:180-198 holds three bullets; :225-232 says "the age class holds two files against the inventory's one" — prod.age and pre.age, and the inventory carries one age row. research/tr46-secret-inventory.md:95 still shows ~/.age/openbao-init as the init file's proposed home, which that document's own preamble declares it to be (:14, "The paths below are a proposal for the layout decision, not a decision") — so the left-alone row is the record of what WR-32 refused, not a contradiction.
  • The page's job and volume facts, re-driven off the live cluster (ssh burns, pve-manager/9.2.21/4f6e0ac): pvesh get /cluster/backup → three jobs, each all 1, mode snapshot, compress zstd, storage synology, prune-backups keep-last 1 / keep-weekly 1 / keep-monthly 1, notification-mode notification-system; burns schedules 02:22 and 144's own dump lands at 02:29. The dump's log ends Total bytes written: 900833280 (860MiB, 116MiB/s) and Finished Backup of VM 144 (00:00:11) — the page's 11 s and 860 MiB written; ls -l gives 288 018 736 bytes (the page's 288 MB) at mode 0777. Neither /etc/pve/notifications.cfg nor /etc/pve/priv/notifications.cfg exists.
  • The archive is what the page says it is. zstd -dc … | tar -t on the 02:29 archive names ./etc/openbao/openbao-init.json, ./etc/openbao/openbao.env, ./opt/openbao/tls/{tls.crt,tls.key} and the pebbledb files under ./opt/openbao/data/. ./etc/vzdump/pct.conf in it carries net0: name=eth0,bridge=vmbr1,gw=10.12.0.1,ip=10.12.0.144/24 — the precondition of the advisory above, and the reason the bullet names the right remedy.
  • The destroyed guest's result. pct status 244 → Configuration file 'nodes/burns/lxc/244.conf' does not exist; pct list is a header plus 18 guests.

Not verified

  • The restore itself and the figures that belong to the act: restored as vmid 244 in 5 s (:106), the 02:29 archive's empty-shell reading, the AppRole 403s, seal → unseal → token lookup policy=root, and pct destroy 244 as an act. Reproducing them means standing up a second live copy of the store while it holds every secret; a reviewer does not. They stand on resolution comment 144, with the destroy's result confirmed above.
  • its leases returning with the data (:37). Not exercised, and an expired-TTL lease is revoked on restart, so the clause is narrower than it reads. Not charged — I have not measured it either.
  • The six secret/ subtrees (:109): listing the live mount table needs the store's token, and I did not read a secret value to obtain one.

Process notes

  • WR-32 is done: true while this PR is open and unmerged. Not a finding — the tracker claiming work the repository has not landed — and the merge is the Operator's.
  • The recommendation turns on the blocker rule, not the volume rule. One advisory, no blocker: state APPROVED, Recommendation: merge, label review/merge-ready. Nothing above is a defect; the single finding is one clause.
  • The round is numbered from the timeline (two prior reviews), which agrees with the dispatch's 3/5.

Findings: Spec 1 ADVISORY · Standards 0. Worst on the Spec axis: the --net0 mechanism at store-backup.md:63-66, true only under --unique. Worst on the Standards axis: none.

State follows the blockers: APPROVED. Label: review/merge-ready.

<!-- minos review-loop: repo=olympus/infra-secrets pr=7 head=d5d3a14f784dc18e0cb6049bb2c11e0e1cc3318f round=3/5 axes=standards,spec --> **olympus/infra-secrets #7** · reviewed head `d5d3a14` (equals `refs/pull/7/head` and the branch tip `hermes/wr32-store-backup`, re-read immediately before this post) · round 3/5 · Standards + Spec Recommendation: merge **The round's delta.** `d5d3a14` stacks on the reviewed `97c49ad` (`git merge-base --is-ancestor 97c49ad d5d3a14` → true), so this round is graded on `git diff 97c49ad..d5d3a14`: 4 files, +12/−11. The whole change `089fa94...d5d3a14` is 5 files, +176/−34 — the two role files enter the PR in this delta, which is why the file count moved from 3 to 5. **Spec source.** Vikunja WR-32, task 146, read live this round: the description (the question plus the corrected reading of "one file"), and resolution comment 144 (2026-10-27T16:40:52Z) carrying the five numbered decisions and the drill transcript. The PR body supplies the change's own claims. **Standard.** `standards: no repo conventions document found`. `AGENTS.md` binds the tracker (Vikunja project 8), the five triage labels and the domain-docs convention; `docs/agents/{issue-tracker,triage-labels,domain}.md` elaborate those three and say nothing about a page's form. No `CONTRIBUTING.md`, no `coding-standards.md`, no `GLOSSARY.md`, no `docs/adr/` — and `docs/agents/domain.md` says to proceed silently on their absence rather than flag it. This axis is therefore judged by the neighbours (`store-identity.md`, `store-layout.md`, `proxmox-credentials.md`), which is where this repository's conventions actually live. Said plainly rather than inventing a standard. ### Round 2 closed | round-2 finding | verdict | evidence at `d5d3a14` | | --- | --- | --- | | **ADVISORY** — `store-backup.md:46` pointed at a ticket that does not exist | **resolved** | `store-backup.md:45-46` now reads "a separate trade, named and not taken by WR-32". The sentence claims nothing about a tracker, so there is nothing left to decay the day one is filed. | | **ADVISORY** — `store-layout.md:202` reused "the root of trust" for a different referent | **resolved** | `store-layout.md:202-203`: "The **store's** root of trust stays out of the store it opens by living on the guest…", and the same repair one page lower at `:315` in the Appendix A row round 1 added. `git grep -n "root of trust"` at head returns the definition (`:180`), these two, and `store-identity.md:128` — the last still the age class, correctly. | | **ADVISORY** — three role comments called the init file "the only copy" | **resolved** | `defaults/main.yml:25-27`, `tasks/main.yml:118-120`, `tasks/main.yml:261-262` now say "the authoritative copy". `git grep -i "only copy"` at head: no hits anywhere in the tree. | Also closed by the same commit: the body sentence that advisory falsified. The body at head says "docs, plus comment-only corrections in the service role (no task, template or default value touched)" and names the three sites — which is what the diff is (below). ### Spec **ADVISORY — `docs/store-backup.md:63-66`: the `--net0` mechanism is stated unconditionally, and it holds only when `--unique` is passed.** > **The archive carries the guest's own network configuration**, and `pct restore --net0 …` does not win against it — the backed-up config is merged last. Round 1 asked for this sentence to be looked at twice and round 2 logged it unverified; I settled it against the code. pve-manager 9.2.21, `/usr/share/perl5/PVE/LXC/Create.pm:572-579`, in `sanitize_and_merge_config`: ```perl if ($unique && $key =~ /^net\d+$/) { # archive's netN written back, ... $net->{hwaddr} = random_ether_addr(); # with a fresh MAC $conf->{$key} = print_lxc_network($net); next; } $conf->{$key} = $oldconf->{$key} if !defined($conf->{$key}); # otherwise: the CLI's stands ``` So the archive's `net0` wins **only** under `--unique`. Without it, a `--net0` given on the command line is already defined in `$conf` and the archive's value is discarded — `PVE/API2/LXC.pm:445-452` corroborates the same precedence, skipping the archive's bridge check when the CLI defines the net itself. The drill hit the behaviour because step 1 (`:73-74`) passes `--unique`, and the archive does carry the live address: `./etc/vzdump/pct.conf` inside the 02:29 archive holds `net0: … ip=10.12.0.144/24`. The instruction the bullet gives — `pct set` before `pct start` — is right either way, which is why this is not a blocker. What is wrong is the mechanism as a general claim: a reader who drops `--unique` (to keep the archive's MAC, say) gets exactly the behaviour the bullet says cannot happen. *Smallest change that clears it:* name the condition in the same sentence — "… and with `--unique`, which step 1 passes, `pct restore --net0` does not win against it: the merge writes the archive's `netN` back with a fresh MAC. Without `--unique` the `--net0` you give stands." **Graded ADVISORY, not BLOCKER.** The sentence is added by `31022b6` and is byte-identical before and after this round's delta, so the delta neither introduced nor exposed it; on a re-review only a defect the fix introduces or exposes may block. Two earlier rounds left it open rather than settled, and that backlog is now discharged in the clearing clause above. ### Standards No findings. | checked | result | | --- | --- | | H1 names the subject, `## ` sections | one `h1` per page; 5 `h2` in `store-backup.md`, 5 in `store-layout.md`, 7 in `store-identity.md` — the neighbours' shape | | table form | headerless `| | |` pairs and the 3-column Appendix A, as `store-identity.md` uses | | wrap width, measured in characters | the delta's added prose lines are 74 and 76; its long line is the Appendix A cell at 242 characters, where the file's existing rows run to 352 — in family | | the delta's role comments | 71-77 characters against a role that wraps at 80; `git diff --check` clean | | links | every relative link in the three pages resolves at `d5d3a14` (`git cat-file -e`), including the one the change adds, `store-layout.md:201` → `docs/store-backup.md` | | render, `POST /api/v1/markdown` (gfm, context `olympus/infra-secrets`) | 200 on all three; no ragged table; code spans balance; 0 literal backticks (figures under Verified) | | British spelling, em dashes, artefacts | `initialises`, `artefact`, `—` — consistent with the siblings | Baseline smells: none applies — three prose sentences in an existing page family plus three comment rewordings, no logic, no duplicated shape, no abstraction added ahead of need. ### Verified - **Stacked, not rewritten.** `git merge-base --is-ancestor 97c49ad d5d3a14` → true. `git diff --name-status 97c49ad d5d3a14` → `M` on `defaults/main.yml`, `tasks/main.yml`, `store-backup.md`, `store-layout.md`. Every hunk is one the fix comment declares, including the second noun site at `:315` it names explicitly. No undeclared drift. - **Comment-only, as the body now claims.** `git diff -U0 97c49ad..d5d3a14 -- bao/` → changed lines that are not comments: **0**. Both files still parse: `defaults/main.yml` a 16-key mapping, `tasks/main.yml` a 26-task list, with the `refuse to initialize over an existing key file` and `say where the store's keys are` tasks both present and unchanged. - **The repo's own checks at head.** `mise exec -- make validate` rc 0 (`Success! The configuration is valid.`); `mise exec -- tofu fmt -check -recursive -diff` rc 0, no output; `mise exec -- ansible-playbook -i inventories/prod/hosts --syntax-check site.yml` rc 0 (`playbook: site.yml`, plus the pre-existing `group and host with same name: bao` warning). No Target reads `docs/*.md` and there is no workflow in the tree, so these say nothing about the docs half — the reading below is the evidence there. - **Render.** `POST /api/v1/markdown` → 200 on all three pages. `store-backup.md`: 1 `h1`, 5 `h2`, 2 tables, 22 `<td>` opens against 22 closes, 40/40 code spans, 0 literal backticks. `store-layout.md`: 8 tables, each uniform per row (4/3/2/2/2/2/2/3 cells), 294/294 `<td>`, 294/294 code spans. `store-identity.md`: 3 tables (7/3/2), 63/63 `<td>`, 111/111 code spans. The reflow of the KMS sentence neither ragged a table nor leaked a backtick. - **The Appendix A accounting, re-derived by parsing the table** rather than read: 70 data rows; the home column holds 58 path cells over 49 distinct strings, six of them `{apply,plan}` → 54 live paths; beside them 1 `age`, 1 `guest`, 1 reserved, 3 `retired`, 6 `refused`. 58 + 12 = 70. Matches the Counts section and the appendix's closing tally. - **The age class after the row moved.** `store-layout.md:180-198` holds three bullets; `:225-232` says "the age class holds two files against the inventory's one" — `prod.age` and `pre.age`, and the inventory carries one age row. `research/tr46-secret-inventory.md:95` still shows `~/.age/openbao-init` as the init file's *proposed* home, which that document's own preamble declares it to be (`:14`, "The paths below are a proposal for the layout decision, not a decision") — so the left-alone row is the record of what WR-32 refused, not a contradiction. - **The page's job and volume facts, re-driven off the live cluster** (`ssh burns`, `pve-manager/9.2.21/4f6e0ac`): `pvesh get /cluster/backup` → three jobs, each `all 1`, `mode snapshot`, `compress zstd`, `storage synology`, `prune-backups keep-last 1 / keep-weekly 1 / keep-monthly 1`, `notification-mode notification-system`; burns schedules 02:22 and 144's own dump lands at 02:29. The dump's log ends `Total bytes written: 900833280 (860MiB, 116MiB/s)` and `Finished Backup of VM 144 (00:00:11)` — the page's `11 s` and `860 MiB written`; `ls -l` gives 288 018 736 bytes (the page's 288 MB) at mode `0777`. Neither `/etc/pve/notifications.cfg` nor `/etc/pve/priv/notifications.cfg` exists. - **The archive is what the page says it is.** `zstd -dc … | tar -t` on the 02:29 archive names `./etc/openbao/openbao-init.json`, `./etc/openbao/openbao.env`, `./opt/openbao/tls/{tls.crt,tls.key}` and the pebbledb files under `./opt/openbao/data/`. `./etc/vzdump/pct.conf` in it carries `net0: name=eth0,bridge=vmbr1,gw=10.12.0.1,ip=10.12.0.144/24` — the precondition of the advisory above, and the reason the bullet names the right remedy. - **The destroyed guest's result.** `pct status 244` → `Configuration file 'nodes/burns/lxc/244.conf' does not exist`; `pct list` is a header plus 18 guests. ### Not verified - **The restore itself and the figures that belong to the act:** `restored as vmid 244 in 5 s` (`:106`), the 02:29 archive's empty-shell reading, the AppRole 403s, `seal → unseal → token lookup policy=root`, and `pct destroy 244` as an act. Reproducing them means standing up a second live copy of the store while it holds every secret; a reviewer does not. They stand on resolution comment 144, with the destroy's result confirmed above. - **`its leases` returning with the data** (`:37`). Not exercised, and an expired-TTL lease is revoked on restart, so the clause is narrower than it reads. Not charged — I have not measured it either. - **The six `secret/` subtrees** (`:109`): listing the live mount table needs the store's token, and I did not read a secret value to obtain one. ### Process notes - **WR-32 is `done: true` while this PR is open and unmerged.** Not a finding — the tracker claiming work the repository has not landed — and the merge is the Operator's. - **The recommendation turns on the blocker rule, not the volume rule.** One advisory, no blocker: state `APPROVED`, `Recommendation: merge`, label `review/merge-ready`. Nothing above is a defect; the single finding is one clause. - The round is numbered from the timeline (two prior reviews), which agrees with the dispatch's 3/5. --- **Findings: Spec 1 ADVISORY · Standards 0.** Worst on the Spec axis: the `--net0` mechanism at `store-backup.md:63-66`, true only under `--unique`. Worst on the Standards axis: none. State follows the blockers: `APPROVED`. Label: `review/merge-ready`.
pit merged commit 1ed9447254 into main 2026-10-27 17:01:08 +00:00
pit deleted branch hermes/wr32-store-backup 2026-10-27 17:01:08 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
olympus/infra-secrets!7
No description provided.