Teaching a live-boot audit station to explain itself
One "not connected" message covered six faults with six different fixes, so the check was made to walk the layers and name the first that fails — and the sharpest case was a dead CMOS battery putting the clock years out, which breaks HTTPS because the certificate reads as not-yet-valid and the connection is refused before any data flows, surfacing as the same bare negative with no error text.
What was done
The web app's dark-to-light conversion was finished in one pass across the remaining 24 pages, deliberately as a single commit so the app was never visibly half-converted, with the chart palette validated for contrast rather than picked by eye. Separately, the station's "not connected" message was replaced: one bare negative had been covering six faults with six different fixes, so the check now walks the layers and names the first that fails. The sharpest case was the clock - a live-booted machine with a dead CMOS battery believes it is years ago, which breaks HTTPS because the certificate reads as not-yet-valid and the connection is refused before any data flows, surfacing as the same empty negative. Three commits followed on the clock alone, plus one undoing a fix that had made the web server wait on the clock sync and blank the kiosk.
power on
|
[ address ]--no--> "no address - cable or DHCP"
|
[ gateway ]--no--> "cannot leave this network"
|
[ internet]--no--> ping filtered? retry TCP 443
|
[ DNS ]--no--> set? answering? different fix
|
[ clock ]--no--> "WRONG by N days (breaks HTTPS)"
| ?--> NOT CHECKED (not a failure)
v
[ server ]------> the only step that decides usableOne negative became a ladder that names the first failing layer
Status
Shipped, 26–27 July 2026.
Two separate pieces of work on the same two days.
The web app: dark to light converted the navigation and Lots page; completed the
remaining 24 pages in one pass.
Doing it as one commit for 24 pages was deliberate. A theme conversion done page by page leaves the app visibly half-converted for as long as it takes, and every shared component has to work in both themes meanwhile.
The chart palette was validated for contrast rather than picked by eye — the same discipline that later became the WCAG 2.2 AA pass in August.
The station: five ways of not working, made distinguishable
The kiosk worked on the bench and failed in the field for reasons nobody could see. This is the work that made failures legible.
Network check: name the broken layer instead of "not connected". The old message covered no cable, no DHCP lease, no gateway, no DNS, no route to the internet and an unreachable API. Six faults with six different fixes, reported identically. The check now walks the layers and names the first that fails.
** — the clock.** A live-booted machine with a dead CMOS battery believes it is years ago, and a wrong clock breaks HTTPS: the server's certificate reads as not-yet-valid, the connection is refused before any data flows, and it surfaces as a bare "not connected" with no error text. Three commits: sync the clock, actually fix it, and make the fix permanent for machines whose battery is dead. This is why the station carries an offline time floor and a one-click Fix clock now.
never block the web server on the clock sync. The fix for the clock introduced a worse fault: the server waited for the sync, and if it hung the kiosk showed a blank screen. A diagnostic that can hang the thing it is diagnosing.
** — audit the whole startup path.** Two deliberate passes over everything between power-on and a usable interface, on the principle that anything that can block the interface eventually will.
make Settings actually save, and never lose a record offline. Two faults in one commit, both silent: settings that appeared to save and did not, and audit records lost when the station went offline.
warn when a machine has already been audited into this batch. A duplicate audit is easy to do and hard to notice.
Why it matters
Every one of these is the same class of problem: the station knew something and was not saying it. The pattern of naming the failing layer, rather than reporting a generic negative, is what the false-absence work formalised two months later.
What was deliberately not built
No remote diagnostics or phone-home. The station explains itself on its own screen, to the person standing in front of it.
Open questions
The network check was rebuilt again in September to judge the station by whether it can reach Xorkbench, rather than treating every layer as a failure in its own right — it had been crying wolf on stations that were working.
The code
The layer ladder, and why a check that could not run is not reported as the failure (tools/gui/server.py, net_check)
steps.append(("Default gateway", bool(gw),
gw or "none - cannot leave this network"))
# ... reach the router, reach the internet, DNS set, DNS answers ...
# A clock that is days out makes every HTTPS call fail with an empty error.
drift = abs(time.time() - email.utils.mktime_tz(email.utils.parsedate_tz(real)))
if drift > 300:
clock_ok = False
clock_detail = "%s - WRONG by %d days (breaks HTTPS)" % (now, drift // 86400)
steps.append(("System clock", clock_ok, clock_detail, clock_unverified))
verdict = "Everything reachable."
for name, ok, _detail, unverified in steps:
# A step that could not be RUN is not a failure, and naming it as the
# first one would send the operator after the wrong fault.
if not ok and not unverified:
verdict = "First failure: %s" % name
breaktools/gui/server.py — an excerpt, trimmed to the technique it illustrates.
Not shown. The API-reachability step and the live connectivity poller are left out of the excerpt because they carry the configured server URL. The time-reference host and the public resolver addresses used as internet probes are also elided, as is the clock-fix path itself.
A published copy. Commit references and internal identifiers have been removed and the operator is not named; the engineering, the counts and the stated limits are unchanged.