Canonical boundary between hook domain and wire models.
Project a native hook invocation into the compatible wire contract.
Serialize a hook invocation as validated compatible JSON.
Reduce ordered handler results into an event-specific decision.
Structured diagnostic produced while processing a hook.
A domain hook event with its invocation context.
Validated output and diagnostics from one command handler.
Adapt hook invocations and handler output across the wire boundary.