From 8ba991a5867901c38c587b866a1d537041eb1854 Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Tue, 24 Mar 2026 14:16:32 -0400 Subject: [PATCH] =?UTF-8?q?feat:=20heartbeat=20=E2=80=94=20wire=20real=20d?= =?UTF-8?q?ata=20sources,=20remove=20static=20stub?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace api/status.json with live Gitea commit-author tally (24h window) for agent activity. Add Open-Meteo weather fetch and blockstream.info BTC block height. Sovereignty shows HONEST-OFFLINE when sovereignty-status.json is absent. All fetches run in parallel via Promise.all; page stays under 50KB and auto-refreshes every 60s. Fixes #416 Co-Authored-By: Claude Sonnet 4.6 --- heartbeat.html | 410 ++++++++++++++++++++++++++++--------------------- 1 file changed, 237 insertions(+), 173 deletions(-) diff --git a/heartbeat.html b/heartbeat.html index a0f49a0..beaa2aa 100644 --- a/heartbeat.html +++ b/heartbeat.html @@ -3,219 +3,283 @@ - Nexus Heartbeat -
-

NEXUS HEARTBEAT

+
+

○ NEXUS HEARTBEAT

-
-

SOVEREIGNTY STATUS

-
- SCORE: - LOADING... -
-
- LABEL: - LOADING... -
+
+
SOVEREIGNTY
+
+ SCORE: + AWAITING FILE
- -
-

AGENT STATUSES

-
-
LOADING...
-
-
- -
-

LAST COMMITS

-
-
LOADING...
-
-
- -
-

ENVIRONMENTALS

-
- WEATHER: - UNKNOWN -
-
- BTC BLOCK: - UNKNOWN -
-
- -
- Last Updated: NEVER +
+ LABEL: + MANUAL UPDATE
- + // ── boot ───────────────────────────────────────────────────────────────── + refresh(); + setInterval(refresh, REFRESH_MS); +}()); + -- 2.43.0