pub fn export_event(event: &LeanCtxEvent) -> Option<Value>Expand description
Project a runtime event onto the OCP Part 5 wire shape.
Only the seven governance-relevant kinds standardized in the OCP
event-type registry are exported; product telemetry returns None.
(Internal EventKind tags are PascalCase; the wire format is
snake_case — that mapping is exactly why this adapter exists.)