pub fn validate_event_kind(kind: EventKind) -> Result<(), &'static str>Expand description
Validate that an event kind is a recognized, defined variant.
This standalone function is intended to be called before storage operations to reject events with undefined (unregistered) kinds at the boundary, preventing garbage data from entering the DAG.