One authenticated connection per device
None of this exists without a live path to the device. The console and the client hold one authenticated WebSocket per device. The handshake is signed with ML-DSA and has ten seconds to complete, with a replay window of plus or minus 30 seconds. After that it is a ping every 30 seconds, a 90 second read deadline, and a certificate check every 30 seconds. Eight message types, five close codes, one connection per device.
That last one is quieter than it sounds and matters more. One connection per device means there is no second, older session still hanging around and still taking orders.