gates / gates (push) Successful in 2m9s
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
121 lines
9.6 KiB
Markdown
121 lines
9.6 KiB
Markdown
# Release run 2026-11-15: releases 2b and 3 — hub, agent, controller, golden, installer
|
||
|
||
Source: `REPORT-night-build-2026-11-14.md` §2. Evidence: `documentation/audits/release-2b-3-2026-11-15/`,
|
||
`documentation/tests/golden-0.353.0-2026-11-15/`. Three stops were asked and answered (hub deploy: yes; agent vouch:
|
||
yes; golden vouch and installer tag: yes, yes). One more question was asked: to delete the old test host before the
|
||
fresh install (yes).
|
||
|
||
## 1. Claims in the prompt that turned out wrong
|
||
|
||
1. **„Make the CA copy wrong … read the operator alarm on the hub.”** No alarm can come from that. A wrong copy is
|
||
repaired by the agent at its start (seen on demo-hp). And a box whose trust does not work sends no report, so the
|
||
hub cannot name the cause (the open gap, R-1396 part 2). The alarm that names a cause WAS seen, from a real event
|
||
on Tester 1 (below).
|
||
2. **„The CA copy … readable by the agent only as designed.”** The design is mode 0644, owner root: a CA certificate
|
||
is public (`03-host-agent.md` §12a). Read so on all three boxes and on the fresh box.
|
||
3. **„You will get one test mail.”** There were two. The second was a false trust alarm from Tester 1 (below).
|
||
4. **„Scratch 9202 … the controller rc”, then the floor moves every box.** The scratch guest does not report to the
|
||
hub, so no floor moves it. It was put on 0.353.0 by hand.
|
||
|
||
The three claims the reviewer asked to try:
|
||
|
||
- „The hub's sweep deletes only rows whose owner is gone” — **true**. Read in source; on a copy of the database a
|
||
control query found 0 rows to delete whose owner exists. The live sweep deleted the same 26 rows as the preview.
|
||
- „A host clock can be staged wrong on Tester 1 and put right with no lasting effect” — **true, with two notes.**
|
||
With the old controller each step recreated one app (expected). Log lines of those minutes carry a time 150 s
|
||
behind. After each run the offset to DooPlex was +0.07 s.
|
||
- „The untagged installer can be used for one fresh install” — **true, with two hand steps**: the file was copied
|
||
in, and one line was added to name the not-yet-vouched golden.
|
||
|
||
## 2. Six lines
|
||
|
||
1. **The hub is live** (0.182.0, 09:48 CET). Its first sweep deleted 26 old update reports of 13 boxes that were
|
||
deleted earlier, and no household row.
|
||
2. **The three boxes moved to the CA copy: Tester 1 yes, demo-hp yes, the N100 yes** (the N100 by itself).
|
||
3. **The agent kept control through two new certificates on demo-hp**: the same process, no restart, no alarm.
|
||
4. **The clock alarm was seen and cleared; with the new controller no app was recreated.** A real restart of
|
||
Tester 1 is still read as a new boot.
|
||
5. **Every box is on controller 0.353.0** with the one-year header (26 of 26 public names).
|
||
6. **The golden is vouched: yes. The installer is tagged and published: yes.**
|
||
|
||
## 3. What was found and fixed on the way
|
||
|
||
| What | Where it was found | Fix |
|
||
|---|---|---|
|
||
| A power cut in the middle of the agent's config write left an empty file; the agent then does not start, and the hub cannot repair that box | Part 0, reading the write path | The old file goes into a journal first; the agent repairs the config at start. Tests cut the write at four steps; 9 mutations seen red (3 redone, said in the evidence). **Not proven with a real power cut** |
|
||
| Between the agent update and the root-files update a box said „trust problem”, and the hub mailed the operator. False: the pin worked | Tester 1, 10:04, with agent 0.175.0 | Agent 0.175.1: older root files are not a trust problem on a pinned box. The security review of that fix found a hole (the quiet path could hide a failed pin); narrowed, 7 mutations seen red (3 redone). Seen on demo-hp and the N100: no alarm |
|
||
|
||
Agent 0.175.0 was released, reached Tester 1 only, and is **not** vouched. Two agent releases in one session is one
|
||
more than the rule says; the second replaced the first before the vouch.
|
||
|
||
## 4. Versions, digests, CI by commit
|
||
|
||
| Part | Version | Digest | Built from | CI run (by commit) | Live since (CET) |
|
||
|---|---|---|---|---|---|
|
||
| Hub | 0.182.0 | image `sha256:4f8bf649ef85db56a727e77327f5ba7ebcceb739a453c81c5423517882ae4681` | `35c5b7ce` | 2673 success; the manifest commit `3fdfab09` 2674 success, read before the deploy | 09:48:59 |
|
||
| Agent | 0.175.1 | binary sha256 `38b1e2350de90a7940c16f8cd2a21d83fcd535410d1017a7df0fee14f0904612`; bundle `07ebf86362ed9d44776416bd5c2c4b6b629e44d34595a8120fd8fc3f4d9277ff` | `88d5d56` | 2678 success | vouched 11:07:35 |
|
||
| (Agent, not vouched) | 0.175.0 | binary `d1a30ed5…4b19a`; bundle `3b4a8b78…0d95` | `db01ae0` | 2671 success | Tester 1 only, 10:04–10:34 |
|
||
| Controller | 0.353.0, MinAgent 0.158.1 (not moved: the boot key is optional) | image `sha256:61cf2a8bfb82e02694bf85cca774bce2cbb9f947d395f91af7640aa5a5d944f0` | `ae07ed4` | 2681 success | per-box floors 11:08; global floor 11:26:53 |
|
||
| Golden | 0.353.0 | sha256 `86b5ba20a15ebd511db8828f51d38fb984f68efa23c4d4e89ae33aa195f19971` | controller 0.353.0 | — | vouched 11:52:54 |
|
||
| Installer | 1.37.0, tag `installer-v1.37.0` | file sha256 `93a021db17a98d1e5a31e1497481b41294319aa79ffecdb7038c697339f26e65` | `6174944f` | 2683 success; the pointer commit `f561c85b` 2685 success | published 12:02; read back from the public name with the same sha256 |
|
||
|
||
Does the controller wait for the agent's vouch? No: it works with the old agent. The clock-step fix needs both.
|
||
|
||
## 5. The register
|
||
|
||
250 rows before; **248 after**; opened 1 (one Proxmox call answers 500 during a fresh install and the agent logs no
|
||
error, R-1397); closed 3 (R-1380, R-1395, R-1050). Narrowed with what is live and what is tests only: R-1384, R-1383,
|
||
R-1375, R-1376, R-1379, R-1396.
|
||
`unproven.py --summary`: 32 walked, 15 partial, 4 built, 4 missing, 23 not walked — no number moved. The capability
|
||
map: no row moved (no row's status word changes by today's proofs; the candidates are the rows on trust in Proxmox
|
||
and on alarms — to read at the next map pass).
|
||
|
||
## 6. Machines changed and how each was left
|
||
|
||
| Machine | What changed | Left as |
|
||
|---|---|---|
|
||
| DooPlex | hub 0.182.0 (manifest, hub only); image builds; the bake in the drill VM; the installer publish | drill VM reverted before use and powered off; both copies of the hub database shredded after the read |
|
||
| Tester 1 | agent 0.175.0 then 0.175.1 and their root files; controller 0.353.0; the clock set 150 s back twice and put right; one restart | healthy, 10 containers, clock +0.07 s, time service active; one app was recreated three times (twice by the old controller's rule, once by the real restart) |
|
||
| demo-hp | agent 0.175.1 and root files; controller 0.353.0; two new Proxmox certificates (the node's certificate is new — by design of the proof); the CA copy made wrong and repaired, identical to the saved copy; two agent restarts; the scratch guest 9202 on rc.1 then 0.353.0 | healthy, 26 containers; VM 9386 and the installer ISO removed |
|
||
| The N100 | nothing by hand. It took agent 0.175.1, its root files and controller 0.353.0 by the product's own path | healthy, 9 containers, moved to the CA copy at 10:36:58 |
|
||
| ep0, the off-site provider | nothing | — |
|
||
|
||
Teardown, three layers: machine — VM 9386 destroyed with its disks; host — the ISO and the saved copy removed from
|
||
demo-hp; hub — **host `Tester4-2f0c25` and the appliance `ab0b8310-…` are left for the operator** (only he can
|
||
discard). The floors per box are cleared.
|
||
|
||
## 7. Proven by tests only
|
||
|
||
- The repair of a cut config write (no real power cut).
|
||
- A refused signed job told to the operator; a guest-power give-up told; a lost operator mail told; a skipped daily
|
||
check told.
|
||
- The off-site account path of D71 (no provider call was made).
|
||
- A warning 14 days before an end date (no date is that near).
|
||
- The clean-up detail sent by the NEW agent (no box removed a kernel after the update; the N100's cell shows the
|
||
night's removal, sent by the old agent).
|
||
|
||
## 8. Observations
|
||
|
||
- The false trust alarm at a box's update — FIXED in agent 0.175.1 (above).
|
||
- One Proxmox call answered 500 during the fresh install, with no ERROR line in the agent — FILED: R-1397.
|
||
- The hub's own alarm marks of a box deleted before the release are not swept (4 marks of one box) — on R-1376,
|
||
dated line.
|
||
- The scratch guest stayed on rc.1 under the global floor — NOT-A-FINDING: it does not report to the hub (R-1083).
|
||
- „Household cleared its mail address — deleted” in the hub's log at each controller start of Tester 1 —
|
||
NOT-A-FINDING: the same line is in the evidence of 2026-11-09 and 11-10; Tester 1 has no household address.
|
||
- The hub suppressed the second clock mail inside one hour — NOT-A-FINDING: the one-hour rule for one type.
|
||
- After a wrong CA copy, the right root is written first and the wrong one stays behind it until the next run —
|
||
NOT-A-FINDING: the design of the changeover (`03` §12a item 6); the next start dropped it.
|
||
- The fresh host's enrolment took 11 s at the hub („slow request”) — NOT-A-FINDING: the known first-enrolment cost
|
||
(key and tunnel setup); no failure.
|
||
- My own instruments were wrong three times and each was read again: a wait that printed nothing, a time computed
|
||
with `date -d … + 15 seconds`, a log search with the wrong word („orphan” for a line that says „Purged”).
|
||
|
||
## 9. Documents read and changed
|
||
|
||
Read: `03-host-agent.md` §12a; `05-hub-architecture.md` §14, §16.6; `08-alarm-ladder.md`; `11-os-updates.md`
|
||
§5.11–5.12; `09` §3 decisions 247, 249, 250, 303; `runbooks/publish-train-rules.md`; `RUNBOOK-manual-build.md` §4;
|
||
`audits/certpin-spike-2026-11-11/README.md`; the golden record of 2026-11-14.
|
||
Changed: `03-host-agent.md` §12a item 7 (the cut write). Instruction files changed: none.
|
||
System poster: no fact on the poster changed; no edit, no refresh asked.
|