catch-up session 2026-10-05: design 07 §6.1.1 (a box that is not always on), 08 §6.4; rulings 109-111, CC decisions 112-118; R-871/R-873..R-877 closed, R-872 narrowed (dated check), R-878 opened; live evidence; STATUS
gates / gates (push) Successful in 33s
gates / gates (push) Successful in 33s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
1 parent
ff25f1076d
commit
9bb45eaaa2
34 files changed
+790
-18
No files matched your search
@@ -214,6 +214,7 @@ likewise silent. Evidence: `audits/DRILL-r361-2026-08-22/evidence/06-part3-decis
|
||||
| Always-on debug rings + on-demand log-bundle pulls with TTL/custody | controller v0.116, agent v0.83, hub v0.46 | **PROVEN-LIVE** | debug rings live-exercised `CAMPAIGN-3` fix-6 (1000-cap ring, ~55min horizon under load) | The **log-bundle-pull TTL/custody** half is changelog-only (no dedicated observability audit doc); ring persistence across restart is a known gap |
|
||||
| Operator alerting (Healthchecks → monitoring@felhom.eu) | k3s, Resend | **IMPLEMENTED** | operator infra, stated in production since 02-04; no corpus validation doc |
|
||||
| Backup-deadline alerting (`expected_backup_missed`) is ANCHORED — absence of signal is UNKNOWN, not failure | hub v0.75.0 | **IMPLEMENTED** | `audits/DIAG-backup-missed-2026-07-26.md` + red-proofs A/B/C + replay of the real 2026-07-26 03:00 reports (all three silent) | **No row status flips** — this signal had a FALSE-POSITIVE class (three instances: hub v0.12.0, v0.73.0, R-81), now anchored at first contact and read across retained host-report history. Still unit-proven only, not live-fired at a real deadline. The *underlying* PBS/offsite-DR tier gap it exposed is → R-82. | Per the status enum, no citation → not PROVEN-LIVE. Demoted pending an operator-cited live alert (candidate re-upgrade — see REPORT) |
|
||||
| A box that is not always on (off at its backup time) makes the missed night up once when it comes back; the household sees a banner; the operator gets the missed-backup alarm, down or not | controller v0.295.0, hub v0.134.0, agent v0.145.0 | **PARTIAL — the catch-up and the banner PROVEN-LIVE (9202 + demo-felhom; banner on 9202 by a hand-set ledger); R-872's alarm proven by tests, live at the next 05:00 (dated check); a host SUSPEND reasoned + unit-tested, not measured** | `audits/catchup-2026-10-05/partA/`, `partB/`; design `07` §6.1.1 | R-872 live; a suspend never measured |
|
||||
|
||||
## G. Fleet & operator (hub)
|
||||
|
||||
@@ -232,7 +233,7 @@ likewise silent. Evidence: `audits/DRILL-r361-2026-08-22/evidence/06-part3-decis
|
||||
| **The hub reports LOSS OF VISIBILITY into either off-site store (not just how full it is)** | hub **v0.106.0** (R-339) | **IMPLEMENTED — deliberately NOT proven-live** | Both box checkers count consecutive failed fetch windows and emit `pbsdr_box_unreachable` / `offsite_box_unreachable` (severity `warning`) past a default 3 windows (≈30–45 min), each with a paired `*_recovered` all-clear routed via `recoveredPairedDownTypes` — required because the recoveries are severity `info`, which `severityNotifies` drops. Scopes stay customer-less (`pbsdr-box` / `pool-box`) → operator channel only. Fill logic untouched: a degraded read still drives no band transition. Evidence: `internal/monitor/box_reachability_test.go` + the cross-package wiring test in `internal/notify/`, which asserts an actual operator mail rather than a map entry. **Filed BECAUSE of a measured gap**, not a hypothesis: the 2026-08-18 ep0 outage ran 9 h 37 m with the hub silent | **The gap that remains is R-340**, and it is not small: the ep0 read is the `usage` op, which rides the LOCAL API daemon — the daemon that incident explicitly cleared — so this check would have shown GREEN for that entire outage. It closes "ep0 is unreachable as a host"; it does not close what actually happened. **No live or constructed outage has exercised the emit path**, and one cannot be manufactured against ep0 (Tier 2, protected) |
|
||||
| Secrets hygiene: bearer in k8s Secret, no secrets in git, single-quote credential store | hub v0.53, conventions | **IMPLEMENTED** | 07-13 closing bundle | |
|
||||
| Operator login password changeable from UI | hub v0.54 | **IMPLEMENTED** | 07-13 | |
|
||||
| Box operating-system security updates (Proxmox host, guest Debian, Docker engine) | agent v0.143.0, hub v0.133.0 | **PARTIAL — the GUEST and HOST Debian fast lanes and the DOCKER engine slow lane are PROVEN-LIVE (2026-10-04), with the System page, the fleet view and the alarms; the KERNEL lane is MISSING** | Guest: `audits/os-guest-lane-2026-10-04/`. Host + fleet + alarms: `audits/os-host-lane-2026-10-04/`. Docker + System page + crash guard: `audits/os-docker-crash-2026-10-04/` — live-restore on with the same container ids on every box; Docker 29.8.2 on both demo boxes; operator-approved Docker release; a signed undo and a signed ring-1 step; a replay refused; the crash guard restarted demo-hp twice and kept it off the third time. Design `architecture/11-os-updates.md` §5.8, §5.9, §8 | **No automatic undo** (guest: last night's backup; host: by-hand runbook; Docker: a signed undo job); existing boxes get root-owned files by the signed config bundle since 2026-10-04 (R-840 CLOSED; a box from before agent 0.143.0 needs one by-hand bootstrap — Tester 2: R-862; `audits/r840-config-bundle-2026-10-04/`); test approvals now end with the test (R-859); the agent's sudoers is root-equivalent (R-861); the kernel lane (R-836); facts reach the hub late after a boot (R-853). **2026-10-05 (agent v0.144.1):** R8 measures the real download (R-865); a killed pass still reports (R-868, live); the debug pass runs with the hub away (R-866, live); **a power cut mid-update was proven by day on demo-hp — the box came back by itself in 37 s, but the next pass fails until `dpkg --configure -a` is run by hand (R-876, P2, open)** — `audits/night-fixes-2026-10-05/` |
|
||||
| Box operating-system security updates (Proxmox host, guest Debian, Docker engine) | agent v0.143.0, hub v0.133.0 | **PARTIAL — the GUEST and HOST Debian fast lanes and the DOCKER engine slow lane are PROVEN-LIVE (2026-10-04), with the System page, the fleet view and the alarms; the KERNEL lane is MISSING** | Guest: `audits/os-guest-lane-2026-10-04/`. Host + fleet + alarms: `audits/os-host-lane-2026-10-04/`. Docker + System page + crash guard: `audits/os-docker-crash-2026-10-04/` — live-restore on with the same container ids on every box; Docker 29.8.2 on both demo boxes; operator-approved Docker release; a signed undo and a signed ring-1 step; a replay refused; the crash guard restarted demo-hp twice and kept it off the third time. Design `architecture/11-os-updates.md` §5.8, §5.9, §8 | **No automatic undo** (guest: last night's backup; host: by-hand runbook; Docker: a signed undo job); existing boxes get root-owned files by the signed config bundle since 2026-10-04 (R-840 CLOSED; a box from before agent 0.143.0 needs one by-hand bootstrap — Tester 2: R-862; `audits/r840-config-bundle-2026-10-04/`); test approvals now end with the test (R-859); the agent's sudoers is root-equivalent (R-861); the kernel lane (R-836); facts reach the hub late after a boot (R-853). **2026-10-05 (agent v0.144.1):** R8 measures the real download (R-865); a killed pass still reports (R-868, live); the debug pass runs with the hub away (R-866, live); **a power cut mid-update was proven by day on demo-hp — the box came back by itself in 37 s, but the next pass fails until `dpkg --configure -a` is run by hand (R-876, P2, open)** — `audits/night-fixes-2026-10-05/`. **2026-10-05 afternoon (agent v0.145.0): R-876 FIXED and proven live — after a second crash mid-unpack the next pass repaired dpkg by itself (`REPAIR … journal=1`) and finished** — `audits/catchup-2026-10-05/partD/` |
|
||||
| **An ENGLISH-SPEAKING household's first hour: download, install, pair, bind, claim, two apps** | controller **v0.259.0** + hub **v0.119.0** + ISO 1.29.0 + the whole catalog | **PROVEN-LIVE on 0.258.0 with one blocker; THE BLOCKER IS FIXED AND PROVEN, THE WALK IS NOT REPEATED** | `audits/DRILL-first-hour-en-0258-2026-09-20.md` — a fresh install 2026-09-20, one intervention (R-494), stop rule not reached. Then `audits/i18n-closing-2026-09-21/live/` — the three blockers fixed and each proven on a live box or in the operator's inbox: the claim page answers English through the real cookie path; the Backup page's tier names follow the language; and the setup mail carries **four plain-ASCII English words** where the drill's carried `képző-szkítia-ásatás`, one day apart in the same inbox. | **R-596, R-597 and R-598 are CLOSED.** What this row still does NOT claim: **the fixed journey has not been walked end to end by a stranger on a fresh install.** Three fixes proven at the endpoint are not an hour proven by a person, and this project's own rule is that fixes are not a journey (see the recovery-journey row). **Also not walked:** the recovery code (needs ep0), backup/restore/remove/power-cut (proven 2026-09-14), and the two Backup-page *warnings* themselves — guest 9201 is healthy and a healthy box renders none, so they are covered by handler render tests, not live. **Verdict: nothing known now stands between an English-speaking tester and their box — and that is a different sentence from "the walk passed".** |
|
||||
| **A deletion of a customer's off-site history is NOTICED within a day** | hub **v0.111.0** (R-431) | **IMPLEMENTED — not yet PROVEN-LIVE** | 09-01 | `hub/internal/monitor/offsite.go` — third signal beside FILL and STALENESS. **On the hub deliberately:** a detector on the box is one the deletion can silence. Alarms when the reported count falls by more than HALF and by at least 5, guarded by `StatsKnown` (R-331), the declared `State` (R-204) and run success (R-100). **Threshold reasoned, not invented:** over 12 898 reports every decrease lands on ZERO and predates `stats_known`; in the 380-report `stats_known` window there are none. **ACCEPTANCE: 9 009 real points replayed → ZERO alarms** (`offsite_r431_test.go`, fixture committed). **What PROVEN-LIVE would need and this does NOT have:** a real drop observed on a live box producing a real mail — the live firing done at ship time was driven through the hub's own path with synthetic counts, which is an end-to-end delivery proof, not a proof that a genuine deletion is caught. |
|
||||
|
||||
|
||||
@@ -396,6 +396,80 @@ warning that should precede such a failure is R-685.
|
||||
`pct config 9201`, both hosts). So the whole-guest tiers carry the guest and **none of the customer's
|
||||
data drives** — 916 GB on demo-felhom, 938 GB on demo-hp.
|
||||
|
||||
### 6.1.1 A box that is not always on — the catch-up, the banner, the alarms (R-871..R-874)
|
||||
|
||||
> **Why this section exists (R-871):** until 2026-10-05 no architecture document covered a box that is OFF at its
|
||||
> window W. Tester 2 is a laptop switched off at night (operator, 2026-10-05). Measured (`audits/night-fixes-2026-10-05/
|
||||
> partF/FINDINGS.md`, and live on 9202 `audits/catchup-2026-10-05/partA-spike/`): the controller's daily jobs always
|
||||
> schedule the NEXT future time, so a missed 02:30/03:30/04:15 waited for the next night for ever; no alarm fired
|
||||
> while the box was down at 05:00; the household was mailed "your server cannot be reached" every night.
|
||||
|
||||
**[DESIGN — ruled 2026-10-05, `09` decision 109] A missed night runs ONCE when the box comes back.** Built controller
|
||||
v0.295.0 (`internal/nightchain`):
|
||||
|
||||
- **What a box does when it was off at W.** On a controller START and on a host RESUME, the controller asks its
|
||||
night ledger (`<data>/night-ledger.json`) which backup legs missed their last scheduled time. The ledger records when
|
||||
each leg last RAN TO ITS END — an attempt record, used only to decide "missed", never as evidence a backup exists
|
||||
(`R-100`'s rule). A leg that ran and failed was NOT missed: failures have their own alarms.
|
||||
- **What the catch-up runs:** the three BACKUP legs, in the night's order — database dump, second copy, off-site copy
|
||||
— through the SAME wrapped leg bodies the scheduled jobs run (`main.go` `withLeg`, `catchUpLegs`).
|
||||
- **What it does not run:** the app-update leg and every Docker step (they restart apps; they wait for a real night).
|
||||
The OS fast lane is the agent's and follows a whole-guest backup, not the catch-up (below).
|
||||
- **When:** 15 minutes after the trigger (apps settle; a box switched on and off again at once does nothing). A leg
|
||||
whose own next scheduled time is under 30 minutes away is left to its normal run.
|
||||
- **Only once:** several missed nights = one catch-up (the question is about the LAST scheduled time). A normal night
|
||||
followed by a daytime restart = none. A power cut in the middle of the chain = only the legs that did not end.
|
||||
- **Never two at once:** every leg, scheduled or catch-up, holds one lock; a second trigger while one is pending does
|
||||
nothing.
|
||||
- **The whole-guest backup.** It keeps its own agent-side behaviour (inside [W+2h, W+6h), or the 48 h safety valve —
|
||||
about one every 2 days for an evening-only box). **It CAN collide with a catch-up** (the valve fires on the first
|
||||
5-minute poll after a start), so each waits for the other: a scheduled quiesce defers while a catch-up runs
|
||||
(`quiesce` `SetCatchUpFn`), and a catch-up waits up to 2 h while a quiesce holds the apps.
|
||||
- **A suspended host** (a laptop lid): Go's timers run on CLOCK_MONOTONIC, which does not count suspended time, so
|
||||
the 02:30 timer would fire hours late — and would start the app-update leg at noon. Two rules: a daily job whose
|
||||
timer fires more than 60 minutes after its wall-clock time is SKIPPED (`scheduler.DailyLateLimit`), and a resume
|
||||
watch (wall clock vs monotonic clock, checked every minute) triggers the catch-up. *Reasoned from the Go and Linux
|
||||
clock semantics and unit-tested with injected clocks; not measured live (no suspend was allowed on a demo box).*
|
||||
- **The first start on this release** seeds the ledger: nothing before it counts as missed (no surprise catch-up on
|
||||
every box at the upgrade).
|
||||
- **What the household sees:** one timeline line — "Kimaradt mentés pótolva: a doboz ki volt kapcsolva 02:30-kor, a
|
||||
mentés most elkészült." / "Missed backup made now: the box was off at 02:30, so the backup ran when it came back on."
|
||||
(event `backup_catchup_done`, info: recorded, never mailed).
|
||||
|
||||
**[DESIGN — ruled 2026-10-05, `09` decision 110] The banner (the operator's idea).** On every page of a logged-in
|
||||
household: when the last daily backup (the database dump, and the off-site copy when configured) is over **26 h** old —
|
||||
when the last one was, "the box was off at backup time (02:30)" when the box's own record says so, and a suggested
|
||||
time. The record is the controller's system-metrics table (one sample a minute, kept 30 days): "on" at W = a sample
|
||||
within 5 minutes of it; "usually on" in an hour = on in it on at least 5 of the last 7 days. It **never changes the
|
||||
time** — a button opens the backup-time setting. The household can close it: it stays closed until the NEXT missed
|
||||
backup time (durable, in the ledger) and disappears by itself after a successful night.
|
||||
|
||||
*Decided by CC — operator may reverse* (`09` decisions 112–116): the 15-minute delay and 30-minute leave-to-normal
|
||||
line; the 60-minute late-fire limit; 26 h as the banner's line (one night + the chain's two hours, = the hub's
|
||||
`backupStaleAfter`); the suggestion = the LATEST hour H with H, H+1, H+2 usually on (a later evening disturbs least),
|
||||
none when the current window is already usually on; the catch-up's line on the household's timeline but no mail.
|
||||
|
||||
**The operator's side (hub v0.134.0, `08` §6.4).** R-872: a box DOWN at the 05:00 deadline is no longer skipped — it
|
||||
is judged on longer lines (48 h without a dump, 72 h without a whole-guest backup), so a box that died last night
|
||||
raises only its staleness alarm, and a box off at every deadline raises `expected_dbdump_missed` /
|
||||
`expected_backup_missed`. R-873: the household hears "your server cannot be reached" at most once per 7 days (the
|
||||
operator still gets every edge). R-874 (agent v0.145.0): the restore-test's first due-check runs 30 minutes after the
|
||||
agent starts, so a box with short power-on sessions is still restore-tested.
|
||||
|
||||
**[FACT, 2026-10-05] Proven live** (`audits/catchup-2026-10-05/partA/`): 9202 off across 09:35, on at 07:38 UTC → the
|
||||
catch-up at 07:53:09 made the dump (21 s); a crash of its host mid-wait → at the next start ONE new catch-up made all
|
||||
three legs (22 s); demo-felhom's controller off across 10:07 → the dump made at 08:25:03, 15 min after the start, and
|
||||
the household's timeline line reached the hub. **What the household may notice:** the dump leg stops an app with a
|
||||
volume for its copy — measured 1 s for opengist (182.5 KB), the same as at night; a large volume takes longer, in the
|
||||
day (R-878).
|
||||
|
||||
**Edge cases, stated.** A box on only in the day with W at night: the catch-up makes the backups every day it is
|
||||
switched on (after 15 min); the banner suggests an evening time once a pattern exists. A box switched on during the
|
||||
chain: legs already past are made up, legs still ahead run normally. A box whose controller restarts in the day after
|
||||
a normal night: nothing. A box off for weeks: one catch-up when it returns; the hub's staleness alarm has been
|
||||
running all along. An upgrade from an older release: the ledger is seeded, the first missed night after it is the
|
||||
first one made up.
|
||||
|
||||
### 6.2 Coverage per app class — and an unresolved count
|
||||
|
||||
**[FACT]** Of 53 catalog templates, **52 keep data in Docker named volumes**; exactly **13** carry a
|
||||
|
||||
@@ -340,6 +340,26 @@ one info line beside `host_crash_restart`; `operatorOnlyEvents`, pinned by
|
||||
|
||||
---
|
||||
|
||||
## 6.4 A box that is not always on: the missed-backup deadline and the household's outage mail [DESIGN, hub v0.134.0, 2026-10-05]
|
||||
|
||||
Design home: `07` §6.1.1 (`09` decisions 109–110; CC decisions 115–116, *operator may reverse*).
|
||||
|
||||
- **R-872 — a box DOWN at the 05:00 deadline is judged, not skipped.** The check used to skip every customer whose node
|
||||
is `down` ("they already have staleness events"), so a box down at EVERY deadline — a laptop off at night — was
|
||||
never judged (measured 2026-10-05: `1 skipped (down)`). Now a down box is judged on longer lines:
|
||||
`expected_dbdump_missed` after **48 h** without a `db_dump_completed`, `expected_backup_missed` after **72 h**
|
||||
without a whole-guest backup in any retained host report — never for a box first seen less than 48 h ago. A box that
|
||||
died last night still raises only its staleness alarm. A `disabled` box is still skipped (R-321). Pinned by
|
||||
`monitor/r872_down_box_test.go`.
|
||||
- **R-873 — "your server cannot be reached" reaches the HOUSEHOLD at most once per 7 days** (`node_stale`,
|
||||
`node_down`, `host_stale`, `host_down`, read from the persisted notification log, so a hub restart does not reset
|
||||
it). The operator still gets every edge. The recovery mail stays paired with a down mail the household actually
|
||||
received (§6.2's pairing), so a held-back down mail also holds back its recovery. Pinned by
|
||||
`notify/r873_liveness_weekly_test.go`.
|
||||
- `backup_catchup_done` (info) is the box's "missed backup made now" line: recorded, never mailed.
|
||||
|
||||
---
|
||||
|
||||
## 7. The intent test [DESIGN, R-386 — CLOSED controller v0.223.0]
|
||||
|
||||
**"The customer stopped this" is asked of the FIELD THAT RECORDS IT, never inferred from the state.**
|
||||
|
||||
@@ -815,6 +815,44 @@ its length, and both fixes cost something the household would notice — operato
|
||||
1.30.0, agent 0.142.0 and the re-made golden; it lacks only agent 0.142.1's wrapper fix (R-858). *Operator ruling
|
||||
2026-10-04 ~18:49.*
|
||||
|
||||
### 2026-10-05 (08:42) — three operator rulings (recorded before the work; the catch-up brief)
|
||||
|
||||
109. **R-871, option A: a missed night runs once when the box comes back.** A box that was off during its backup time
|
||||
makes the missed backups soon after it is switched on; updates that restart apps still wait for a real night.
|
||||
**Rejected:** B — "the box must stay on at night", with an alarm only. *Operator ruling 2026-10-05.*
|
||||
110. **The household is told on its dashboard** (the operator's idea): a banner the household can close, shown when a
|
||||
daily backup was missed — when the last backup was, that the box was off during the backup time, and a suggested
|
||||
different time. It never changes the time by itself. *Operator ruling 2026-10-05.*
|
||||
111. **Tester 2: read only.** If it is online, CC re-signs its agent update (decision 97, act 1) and reads it back.
|
||||
Nothing else. *Operator ruling 2026-10-05.*
|
||||
|
||||
### 2026-10-05 (day, catch-up brief) — decided by CC — operator may reverse
|
||||
|
||||
112. **When the catch-up runs (R-871).** Options: (a) at once after the box comes back — a box switched on and off
|
||||
again starts a dump each time; (b) 15 minutes later, re-checking first. **Chosen (b)**, as the brief proposed;
|
||||
a leg due within 30 minutes is left to its normal run. `07` §6.1.1.
|
||||
113. **What a host suspend does to the night (R-871).** Options: (a) only a controller start triggers the catch-up —
|
||||
a suspended laptop's 02:30 timer then fires hours late (Go timers run on CLOCK_MONOTONIC) and starts the
|
||||
app-update leg at noon; (b) skip any daily job that fires over 60 minutes late and trigger the catch-up from a
|
||||
resume watch. **Chosen (b).** Reasoned and unit-tested with injected clocks; not measured live.
|
||||
114. **The banner's line and its suggestion (decision 110).** Options for the line: 24 h (a slow night flickers it),
|
||||
26 h (one night + the chain's two hours, = the hub's `backupStaleAfter`), 48 h (two missed nights before a word).
|
||||
**Chosen 26 h.** Suggestion: the latest hour H with H, H+1, H+2 usually on (on ≥ 5 of the last 7 days); none
|
||||
when the current window is already usually on (a new time would not help).
|
||||
115. **R-872's lines for a box that is down at the deadline.** Options: (a) judge a down box like an up one — a box
|
||||
that died last night raises a backup alarm on top of its staleness alarm; (b) 48 h without a dump / 72 h
|
||||
without a whole-guest backup (the agent's own 48 h valve + a day). **Chosen (b).** hub v0.134.0, `08` §6.4.
|
||||
116. **R-873's rule.** Options: (a) household liveness mail only after 24 h down — a real outage reaches the household
|
||||
a day late; (b) at most once per 7 days to the household, the operator every edge. **Chosen (b)** (the brief's
|
||||
first example): the first outage of a week still reaches the household at once. hub v0.134.0, `08` §6.4.
|
||||
117. **R-874's first restore-test check after start.** Options: at start (a crash loop hammers a failing tier — the
|
||||
earned restraint), 30 minutes after start, or keep one interval (6 h — a short-session box never reaches it).
|
||||
**Chosen 30 minutes.** agent v0.145.0.
|
||||
118. **R-876's repair trigger.** Options: (a) always run `dpkg --configure -a` (R-845's speed lost on every clean
|
||||
pass); (b) read `--audit` AND the update journal in ONE `sh -c` call, repair when either shows something, and as
|
||||
a belt repair + retry once when apt itself says "dpkg was interrupted". **Chosen (b)**: a clean pass still costs
|
||||
one call (pinned by a test). agent v0.145.0.
|
||||
|
||||
### 2026-10-05 (06:49) — four operator rulings (recorded before the work; the night-fixes brief)
|
||||
|
||||
100. **Tester 1's Cloudflare tokens, shown in the 2026-10-04 night session's output, are NOT rotated** (option B) —
|
||||
|
||||
@@ -639,6 +639,19 @@ Agent v0.144.0 + v0.144.1 (wrapper and agent; `09` decisions 106–108). Evidenc
|
||||
(runbook `crash-guard.md`), then the next pass installed the 12. Operator mail `os_update_failed` (true); no
|
||||
household mail; the household's timeline showed "Controller elindult".
|
||||
|
||||
### 8.5 The self-repair after a power cut as BUILT (2026-10-05, agent v0.145.0) `[FACT]`
|
||||
|
||||
- **R-876 fixed.** The wrapper reads `dpkg --audit` AND dpkg's update journal (`/var/lib/dpkg/updates/`) in ONE call
|
||||
and repairs when either shows something; as a belt, when apt itself says "dpkg was interrupted", it repairs and
|
||||
retries once (`09` decision 118). A clean pass still costs one call (R-845's speed, pinned by a test).
|
||||
- **Proven live** (operator's go, demo-hp, `audits/catchup-2026-10-05/partD/`): 13 guest packages rolled back, crash
|
||||
at 07:56:03 UTC during dpkg's unpack, back by itself (new boot 07:56:41, guard armed, 1 unclean boot in the window);
|
||||
at boot `--audit` clean, journal 1 file, the same shape as §8.4. **The next pass, with nobody touching the box:**
|
||||
`REPAIR configured=0 journal=1`, then `DONE rc=0 upgraded=12`, healthy; the guest's package list equals the one
|
||||
before the rollback. No mail (the pass did not fail); the household's timeline: "Controller elindult".
|
||||
- **R-874.** The agent's restore-test due-check runs 30 minutes after start (then every interval), so a box with short
|
||||
power-on sessions is restore-tested (`09` decision 117).
|
||||
|
||||
## 9. Where the rest lives
|
||||
|
||||
- The finding: **R-812** (`backlog/OPEN-ITEMS.md`). The intention: **R-808** (`backlog/ROADMAP.md`).
|
||||
|
||||
Reference in new issue
Block a user