pub async fn apply_command(cmd: AppCommand) -> Result<(), PublicError>Expand description
Apply an application-level command.
Public API entry point for mutating application state. This function:
- is safe to call from user canisters and endpoint code
- returns
PublicErrorsuitable for IC boundaries - delegates all orchestration to the internal workflow layer
Layering: user canister → api → workflow