[control] Design review: Caddy differences per host in fallback_ready, active apply kind, hosts and watch end, capped device end date, CSR fingerprint for signing by hand, crash points exit without SIGABRT

This commit is contained in:
2026-11-08 11:21:43 +01:00
parent 3bf5fa0e1a
commit b24ffdf9db
9 changed files with 106 additions and 17 deletions
+9 -3
View File
@@ -526,9 +526,15 @@ Recorded by the Phase 3 implementation (branch `phase-3`); docs/api.md has the c
page, its button POSTs the download, so link previews cannot use it up; 10 min, one use,
PKCS#12 with a one-time password, `qr_svg` for `format = "qr"`); through edge on the admin
host, as a share link when that host has share links on (never listed in `GET /share-links`).
- **G18**: `GET/POST /engine` (shape in docs/api.md). Differences from §1.9: no `fallback_ready
{compared, matched}` (control cannot run the differential suite at runtime; it reports
`{built_at, current}`). Changes keep working while Caddy serves (Mark 2026-11-08): they are
- **G18**: `GET/POST /engine` (shape in docs/api.md). Difference from §1.9: control cannot run the
differential suite at runtime, so `fallback_ready {built_at, current, compared, matched,
differences[]}` counts *hosts*, not requests: `compared` hosts in the routes, `matched` those
with none of the suite's known differences (share links, forward-auth edge cases), and
`differences` says what differs in plain English (decision Q3: listed under "Show details").
`overview.active_apply` also carries `kind`, `hosts` and `watch_ends_at`, so the bar writes the
heading and counts down every second. `GET /certs` has `device_valid_until` (a year, capped at
the intermediate's end, Q7) and renewal requests carry `csr_sha256` (what
`openssl req -in X.csr -outform DER | openssl dgst -sha256` prints). Changes keep working while Caddy serves (Mark 2026-11-08): they are
loaded into Caddy and watched through it; only share links are off.
- **G19**: the UI shows "No websockets" only when off, and "Open to anyone" for `auth = none` (Q11).
- **PKI** (§1.7, §1.8, §3.6): built as drawn, with two differences while Custos lacks the