Narrows a core's envelope to its declared kind.
The single trusted assertion of the typed API: each command core is the sole producer of its kind, so the envelope it returns carries that kind's payload by construction. Centralized here so the facade methods stay cast-free.
The envelope a command core returned.
The same envelope, typed by its kind.
Narrows a core's envelope to its declared kind.
The single trusted assertion of the typed API: each command core is the sole producer of its kind, so the envelope it returns carries that kind's payload by construction. Centralized here so the facade methods stay cast-free.