The scene
A health centre runs a Jengu edge appliance in a comms cupboard: a Pi with an NVMe disk, the official power supply, a network cable. The box has worked unattended for months, and it will keep working unattended for years — through a failure that needs it rebuilt, and through the releases that will move underneath it.
The practice has a receptionist, three GPs, and a head nurse who is "the person who restarts the router". There is no monitor attached to the box, no keyboard in the building that fits it, and nobody who has ever seen a Linux prompt. Every guarantee below exists because that is who is standing next to the hardware.
The rescue
The customer organisation admin — off-site — opens the Device Hub's edge page and downloads the organisation's installer. The download is a folder of files extracted onto any USB stick; the admin uses the one in their drawer, writes it, and sends it over with the morning courier. The stick carries a time-boxed authorisation minted at download: it proves this installer is genuine and recent, and it will expire — a stick found in a car park months later is a brick.
The nurse's entire procedure:
- Insert the stick into the box.
- Pull the power cable, plug it back in.
- Wait.
What the platform guarantees underneath — each the answer to a way this exact procedure has failed on real hardware:
- The stick gets power at boot. The appliance EEPROM assumes a full-current supply, so the stick enumerates during cold boot instead of silently losing to a boot-time USB power cap.
- The firmware waits for the stick. A nurse who replugs the cable quickly leaves the stick's controller un-reset, and it can take longer to enumerate than the firmware's default discovery window — the boot would silently move on. The appliance EEPROM extends the window so a slow stick is still discovered rather than losing the race to the resident system.
- The stick's system is the one that boots. The resident NVMe still looks like a perfectly bootable Alpine system; the installer evicts it from every discovery decision — overlay, package repository, kernel modules — so the rescue cannot frankenboot into the broken installation it came to replace.
- The box rejoins as itself. The hardware id is the identity: a known box on a valid installer token rebinds unattended to its existing fleet entry — name, department binding, devices, module enablement all survive; only the secret rotates. No cloud-side click is needed for a rescue; a first-ever enrolment still gets its human approval.
- No console at any point. The installer's packages provision their own services and system accounts, and a boot with no per-device configuration lands in enrolment-only mode — nothing in the first boot assumes a pre-prepared system or a person at a keyboard.
- Pull the stick and it comes up working, by itself. The box keeps its USB-first boot order (that is what let the stick boot in the first place, and it stays the recovery entry point). After the install the courier does not reboot into itself — it waits for the nurse to pull the stick, then warm-reboots into the freshly installed NVMe slot on its own. No second power-cycle, no timing games — and because the courier only ever reboots into the slot (never into itself), the box can never spin in an install loop.
- The fleet tells a remote operator which box is waiting. When the rescue is driven from afar — nobody standing at the Pi — the fleet page shows the box, by name, as "running on its installation medium — pull the stick to enter working mode," refreshed while it waits and cleared once it comes back up in working mode. The prompt only appears for a box the fleet already knows (a re-rescue of an enrolled box), so even when several boxes are being worked at once the operator is told exactly which stick to pull, never an anonymous one.
- Failure is visible, not silent. If the boot goes wrong the screen says so (the boot transcript is kept), and the cloud distinguishes "installer issued but never presented" from "nothing ever happened".
The admin watches the fleet page: the box reappears, same name, online. The stick goes back in the drawer.
The healthy-box variant
Months later the same box needs a clean reinstall — nothing is
broken, the software should simply be laid down fresh. Nobody
weakens the boot order for that: the nurse inserts the stick into
the running box, the fleet row grows an "Installer inserted"
badge, and the admin clicks Reinstall from inserted stick. The
cloud lends the stick exactly one boot (the firmware's one-shot
boot-order override, consumed on use); the box reinstalls, rebinds
to its own fleet entry, and the next boot returns to the internal
disk by itself — even with the stick still in the slot. The row's boot-medium chip is
the receipt: usb exactly once, then nvme again.
The courier variant
The stick the courier drops off is getting lighter. The original
rescue medium carried a whole operating system; the courier is a
netinstall medium — boot files and the signed enrolment data, nothing
more. Inserted and powered on, it provisions the disk and fetches the
system as packages from the organisation's cloud, laying it into a fresh
slot; there are no installed-system bytes on the stick to go stale, and
which OS the box gets is decided cloud-side. Its rescue sequence is
fixed — capture what was there, reinstall, restore /data, rejoin —
and it will not touch anything destructively before the capture is
safely taken. It captures the resident /data to the box's own backup
partition first, reinstalls the system fresh from the cloud into a slot
(leaving the backup and data partitions untouched), and puts /data
back — in place when it survived, from the just-taken capture when it
did not. So a populated box — the real rescue case — comes back with
its local store intact and no clicks; a blank box it installs end to
end all the same, rejoining under its own token. The same capture runs before an
in-place system update — a failed capture aborts the update.
Keeping the fleet current
Months later nothing is broken, and the box is simply behind. A new release is pinned for the customer organisation, and it has to reach every clinic without anyone visiting one.
From the edge's drill-down panel the admin sees the installed version against the organisation's pinned release (the declared target — git config owns which release a customer organisation should run). When they differ and the edge is reachable, the panel offers a single Update action to that release. There is deliberately no commit step and no countdown: the health-gate decides, edge-side, and the panel simply reflects the outcome — updating, then up to date or fell back with the reason. A stale or double click cannot stack a second update: the launch gate is re-derived server-side, and an update already in flight is refused.
Undo without pressure lives in the same panel: restore a chosen backup bundle — the deliberate rollback, distinct from the automatic fall-back.
How the instruction reaches the box
The Update button does not talk to the edge. It queues a fleet task, and the box collects it on its own poll — the only direction that works behind a clinic's NAT, where nothing outside can open a connection inwards. The admin's click, the box's collection and the box's report are three separate moments, and the panel is honest about which have happened.
That separation is also where the channel can fail quietly. A task
queued and acknowledged but never collected leaves the panel
truthfully reporting a request nobody received. This happened: on
bench-pi-1 (2026-07-25) an apk-upgrade never arrived at an online,
heartbeating edge, because the task's for reference held a fleet id
FHIR storage's reference search could not match and the poll endpoint's
catch turned the failure into a healthy-looking empty list. Every leg
was unit-tested; the whole had never worked, which meant no fleet
task — reboot, upgrade, rollback, reinstall — had ever been delivered
in the field. So the platform's promise is the round trip, not the
click: a task queued for an enrolled edge is delivered to that edge's
poll and its completion lands on the task record, and queueing for an
edge the fleet does not know fails loudly rather than handing back
a success handle to a task nobody will ever collect.
The box too old to be spoken to
A box that has been offline for a long upgrade cycle may speak a
connectivity protocol a major version behind the cloud's. It is not
turned away and it is not humoured: the handshake answers
UPDATE_REQUIRED, naming the bundle coordinate to fetch and the
target protocol, and closes the incompatible channel rather than
degrading into a half-working session where some frames are
understood and others are silently dropped. The box then pulls the
named bundle over HTTP — outside the broken channel — swaps it,
self-checks its new uplink, and reconnects speaking the compatible
protocol. It self-heals over the wire; nobody drives to the site and
nothing is re-imaged.
Why this story matters
This work began with the opposite experience. A real appliance was rebuilt, restarted, and quietly came back running the old software — and finding that out took an engineer with deep knowledge of the device. Every guarantee above was written in response to that failure, and proved on real hardware before it became a promise.
Why the update reads the way it does
The superseded single-slot model asked the admin to confirm before an auto-revert timer expired — a race the off-site admin could lose. The A/B gate removes the race: safety is automatic and local, so the cloud never prompts for a commit. The UI's job is to make the automatic outcome legible, nothing more. The cloud observes the gate; it never drives it.