← Commit history

Verify AIFlow 0.1.90 native state notifications with zero idle reads and one retained dashboard tab

John Lauer ·459364cdc3 · ·parent 0ada72e
3 files changed +28
checkpoints/dashboard-notify90/native-watcher-test.jsonadded+1
@@ -0,0 +1 @@+{"result": "PASS", "idleSeconds": 15.53, "idleStateFileReads": 0, "subscribers": 2, "heartbeatWithoutReads": true, "externalWrite": true, "atomicRename": true, "partialWriteRecovery": true, "workflowUpdate": true, "httpControl": true, "concurrentMerge": true, "reconnectReplay": true}
checkpoints/dashboard-notify90/verification.jsonadded+21
@@ -0,0 +1,21 @@+{+  "version": "0.1.90",+  "pid": 3904840,+  "runId": "bfd48cdd114aa95e",+  "stateSource": "native-filesystem-events",+  "idleStateFileReads": 0,+  "heartbeatVerified": true,+  "observedSeconds": 15.13,+  "nativeInotifyFd": [+    "/proc/3904840/fd/4"+  ],+  "cliUpdateReceived": true,+  "watcherError": null,+  "sameDashboardTab": true,+  "dashboardTabId": "580acde7-5f40-41c2-95f8-1f792e85582f",+  "dashboardTabCount": 1,+  "sourceCommit": "e7808523ffedbc1ae75f236d4b97c74bd36fca6a",+  "binarySha256": "78d8256a36d77a686f27b19c85d6f9b17c6f1c3f1e57acec0550d4575170ffb1",+  "workspaceTestsPassed": 151,+  "browserVisualVerification": "Unavailable: Pup runtime respawn lost the existing session; no new browser window created. Existing Hydrogen tab identity and server SSE verified."+}
docs/dashboard-live-updates.md+6
@@ -7,3 +7,9 @@ Native review: two CLI updates changed caption and image while `performance.time [Recorded update](clips/dashboard-live-sse.mp4) · [Verification](../checkpoints/dashboard-sse89/verification.json) · [Source and MIT release](https://wiki.adom.inc/adom/adom-aiflow)  Source, registry, installed CLI and matching standalone download were checked separately. 151 workspace tests pass, along with CLI-to-SSE/reconnect and frontend tests. Installed Codex guidance includes the one-dashboard rule. Existing servers must be restarted by verified run identity after upgrading; installing a binary alone does not upgrade its running server.++## 0.1.90: remove server-side disk polling++The first SSE implementation still reread two state files per connected client every 250 ms. Version 0.1.90 replaces that loop with one native filesystem watcher per run and a shared state cache. CLI presentation writes wake clients directly; external edits and atomic replacements arrive through filesystem events. Idle heartbeats do not reread state files.++The installed live server was verified with a Linux inotify descriptor, zero additional state-file reads across a 15-second heartbeat, and a received CLI-to-SSE update. The existing Hydrogen dashboard tab ID remained unchanged and there is one AIFlow tab. The source, registry package, installed binary, and standalone Linux download were updated. Full browser visual re-verification was unavailable because the Pup runtime respawn lost the existing session; no additional browser window was opened. See [verification](../checkpoints/dashboard-notify90/verification.json) and [native integration test](../checkpoints/dashboard-notify90/native-watcher-test.json).