pub fn parse_dispatch_public_reason(text: &str) -> Result<&str, String>Expand description
Validate one $dispatchPublic reason string: nonempty and already trimmed.
The strict contract (annotations.capnp; v16 ยง6) is a canonical, reviewable reason. Surrounding whitespace is a schema error, never silently rewritten: the reason recorded in the generated inventory is the exact declared text.