pub fn command_type(case_ref: &CaseRef, command: &Value) -> StringExpand description
A stable label for an erased command, for the journal’s command_type.
Erased commands are the JSON a domain’s own enum serializes to, so the externally tagged single-key object and the unit-variant string both name their variant; anything else is labelled by the workflow alone rather than by a guess.