pub fn summarize(query: &MonitorQuery, raw: &str) -> QuerySummaryExpand description
Produce a structured, render-ready summary of a parsed query.
The raw argument is the original query string, preserved verbatim in the
summary so the front-end can offer a “show raw” toggle.