Migrate dashboard data APIs to State Store read contracts #1152
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: sam/archie#1152
Reference in new issue
Block a user
Replace webui task, capture, mapping, binding, log, and health data paths that still depend on concrete internal/store objects with the State Store read contracts. Preserve pagination, filtering, event joins, authorization, protocol status/headers, and combined dashboard views. Add local-adapter and remote/bufconn coverage for each endpoint family.
Close reason
Test-only, committed as 306886b. Added remote/bufconn coverage that stands up a real SQLite store behind staterpc.RegisterServer and dials it, asserting task (list + timeline over Server.Handler()), summary, mappings and bindings serve over the wire. Log/health asserted as deliberate degradation (no State Store contract; nil LogFeed/health registry). The test surfaced that server-side Deps must wire Captures/Mappings/Bindings/BindingDispatcher or those list endpoints fail closed with err*Unavailable. Full task check green on the host. Interface relocation (webui dragging sqlite via package atomicity) deliberately deferred to 8cda.5.6, which audits the deletion gate.
Imported from beads
archie-core-8cda.5.3· GitHub #767 · type task · priority P3 · created 2026-09-06 · closed 2026-09-08