pub fn format_event(event: &Event<'_>) -> String
Formats a runtime event emitted during agent turn or gate execution.