pub fn summarize(ctx: &FileContext) -> ContextSummaryExpand description
Project a full FileContext into a serde-serializable summary.
The summary is lossy (signatures rendered as strings, private fns dropped, type bodies reduced to field/variant names). It’s designed for JSON emission — playground Context panel, future LSP metadata.