2026-05-20

The Live page, and how it actually stays live

The Live, Mechanisms and Observability pages this post mentions are no longer on the dashboard menu: find them under Settings > Experimental, labelled "numbers not verified", because Pinky has not checked those figures against its records. See the dashboard reference for the pages it serves.

Every other page in the local dashboard is a snapshot — rendered once per request, no JavaScript, nothing to keep in sync. The Live page (and a handful of others: Overview, Mechanisms, Observability, Sessions) is the deliberate exception, and it’s worth explaining why.

Server-sent events, not polling

Rather than the page re-fetching itself on a timer, the dashboard’s own local server pushes updates over a single open connection (SSE) as they happen. The shared client script patches just the numbers that changed, not the whole page.

Why this is safe to ship as JavaScript

Every other page in this dashboard holds to a “no script tag, ever” rule. The live pages are the one place that’s relaxed — but the replacement rule is stricter in a different way: same-origin only, enforced server-side, so “provably can’t leave the machine” still holds even though “provably can’t run code” no longer does.

What happens when the connection drops

A dashboard restart invalidates the session token the live connection was using. Rather than failing silently, the page patches in a plain-text disconnect notice — so you know to refresh instead of staring at numbers that quietly stopped updating.

← Back to blog