pub fn sanitize_agent_event(
provider: &dyn SecurityProvider,
event: &AgentEvent,
) -> AgentEventExpand description
Sanitize every data-bearing field of an agent event while preserving the identifiers and discriminants used to correlate the event stream.
Runtime boundaries call this immediately before events are observed,
persisted, or exposed to an SDK. Implementations of SecurityProvider
should therefore make SecurityProvider::sanitize_output idempotent.