Expand description
Health, diagnostics, LAN instances, discovery, WPS publish. Split out of server/mod.rs unchanged (SPEC_LARGE_FILE_MODULE_ANALYSIS_2026_09_30.md ยง4.1).
Functionsยง
- handle_
diag_ ๐sagas - Saga durability PR 2 โ operator visibility into the durable saga
log. Returns the most-recent 50 saga lifecycle rows + an in-flight
count derived from
unresolved_sagas. - handle_
discovery ๐ GET /agentmux/discoveryโ a unified, agent-facing view of what exists and what is reachable across the muxbus delivery tiers, so an agent can resolve a target before sending. Aggregates:- handle_
lan_ ๐instances - handle_
wps_ ๐publish - Auth-gated MPS publish endpoint
(SPEC_STREAMING_BASH_RUNNER_2026_05_11.md ยง3.2).
agentmux-bashwrapPOSTs here while running a Bash command; we forward to the in-process MPS broker so subscribed frontends receive the event. A client event declared inmps_events(client_events!) must carry its payload type, or it is refused with 400; any other eventmps_eventsdeclares is srvโs alone, and refused with 400. - health_
handler ๐ - stub_
501 ๐