pub fn payload_kind_for_hook(hook_name: &str) -> PayloadKindExpand description
Resolve a hook name to its payload kind.
The cmf. prefix is checked first: cmf.tool_pre_invoke must route to the
CMF message payload, not to the legacy tool payload whose name it contains.