night fixes 2026-10-05: R-867/R-95/R-863..R-869 closed, R-870..R-876 opened (R-876 P2: repair misses dpkg's journal); Part E crash record; Part F spike; golden 0.294.0; rulings 100-103, CC decisions 104-108; STATUS
gates / gates (push) Successful in 32s

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:
adminandClaude Opus 5.5 committed 2026-10-05 08:26:23 +02:00
1 parent 7221ee5cd6
commit 5fd2656021
55 files changed
+4856 -23

No files matched your search

@@ -741,6 +741,12 @@ its length, and both fixes cost something the household would notice — operato
days from the box's request (R-823)**; the household (a recovery on the box) or the operator can cancel in that
time; the hub deletes only `<repo>.orphaned-<…>`, never the live repository; every request, cancel and deletion is
an operator event. *Operator brief 2026-10-04 (Part E).* Built hub v0.128.0 + controller v0.290.0.
**Note 2026-10-05 (R-867, controller v0.294.0):** the clean-up windows that feed this deletion path now remove
honest old copies: the guard's "young" line is keep-daily CALENDAR days (decision 104), not a fixed 8-day age that
sat inside the keep window. Proven live by hand the same morning: demo-felhom window 5 (16 → 14, the 2 snapshots
predicted), demo-hp window 6 (145 → 127, the 18 predicted); hub count check quiet, key files clean, no mail.
The reviewer's own error is recorded: the 2026-10-04 brief set the 8-day line and said real deletion would start
around 11 October; it would not have. `audits/night-fixes-2026-10-05/partA/`.
### 2026-10-04 (day) — three operator rulings (recorded before the work)
@@ -809,6 +815,49 @@ 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 (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) —
filed like R-831: R-870 holds what was shown, where, and the rotation steps. *Operator ruling 2026-10-05.*
101. **The power cut in the middle of an OS update (night A1) runs by day, on demo-hp only**, while the operator is
awake to switch the box on. The crash command is allowed for demo-hp only; CC asks the operator before the crash.
*Operator ruling 2026-10-05.*
102. **Tester 2's box is a laptop that is switched off at night.** It is not broken; its absence every night is the
input to the "box off at night" spike (R-871). Recorded on its page in `runbooks/target-selection.md`.
*Operator ruling 2026-10-05.*
103. **If Tester 2 is online during the session, CC re-signs its agent update to the vouched agent** (act 1 of
decision 97) and reads it back. Nothing else on Tester 2; its one-time bundle step stays with the operator
(R-862). *Operator ruling 2026-10-05.*
### 2026-10-05 (day) — decided by CC — operator may reverse (night-fixes brief)
104. **What "young" means in the off-site guard (R-867).** Options: (a) an age in hours derived from keep-daily
(7 × 24 h minus a margin) — the margin is a guess and DST/clock shapes move it; (b) CALENDAR days, as restic
itself buckets a snapshot's day, compared with keep-daily — exactly the policy's own boundary. **Chosen (b)**:
it is the only line that provably never refuses the honest policy (the newest snapshot of any of the last N
calendar days is always kept by keep-daily N). Cost, recorded: the line no longer catches past-dated gap-fills
that steer a 7–8-day-old keep (the 8-day line did, while refusing every honest window) — that shape is R-822's
residual, bounded by the cap and the hub's count check. Controller v0.294.0.
105. **Which commands hold off the image clean-up (R-863).** Options: (a) only the deploy path (the measured case);
(b) every compose command that can pull — `up`, `pull`, `create`, `run` — through one lock in `dockerexec`.
**Chosen (b)**: a restore, an undo and the FileBrowser sync pull the same way, and one lock is one place to
keep right. The one-time clean-up is retried every 2 minutes (at most 30 times) instead of waiting for the
next start, and writes its marker only after a pass that ran. Controller v0.294.0.
106. **Where a killed pass's report waits (R-868).** Options: (a) the agent writes a "pass started" record and
reconstructs the outcome from the journal — brittle; (b) the ROOT wrapper writes its own report beside the plan
before printing it, and the agent deletes it once sent. **Chosen (b)**, with the root write hardened (the
directory opened O_NOFOLLOW and checked to be the agent's own, the file created O_EXCL|O_NOFOLLOW) and a
cross-process pass lock so a sender never takes a running pass's copy. Agent v0.144.0.
107. **The debug OS pass with the hub away (R-866).** Options: (a) the selftest falls back to the block the daemon
saved, and says so; (b) a documented way to trigger the daemon's own leg. **Chosen (a).** The DAEMON does not
load the saved block at its own start (one line why: that would change what a box does after a restart with
the hub away — today it reports only, the safe direction — and no brief asked for it). Agent v0.144.0.
108. **A second agent release in one session (v0.144.1), against "one release per repo".** Options: (a) keep
v0.144.0 and leave R-868 open — its fix was MEASURED not to work live (the wrapper died on a broken stderr pipe
before saving the report); (b) release v0.144.1 with the two live findings fixed and red-proofed. **Chosen (b)**:
shipping a fix proven not to work is worse than a second release; precedent decision 86. Cost: a second signed
agent update and bundle per box.
### 2026-10-04 (evening) — decided by CC unattended — operator may reverse (System page / Docker / crash-restart brief)
90. **How does a box tell a crash boot from a clean one?** Options: (a) `pstore` — measured on demo-hp: `efi_pstore` is on,