pub async fn run_srv_diag(launcher_exe_dir: &Path) -> Result<(), String>Expand description
Phase E.7 — agentmux.exe --diag srv Tool client.
Connects to the srv pipe (\\.\pipe\agentmux-{hash}\srv-command),
registers as a Tool client, sends GetSrvSnapshot + GetEvents,
captures events for the same 2 s observation window as
--diag wrr, prints a human-readable summary, exits.
Provides operator visibility into the srv reducer’s canonical
state (workspaces / tabs / blocks / windows / saga lifecycle) +
recent event activity. Mirrors run_wrr_diag for the launcher;
the differences are the pipe path, the snapshot variant
(Event::SrvSnapshot), and the formatter for srv-specific event
kinds.