Module wire_conversions

Module wire_conversions 

Source
Expand description

Bidirectional conversions between the wire-format types in nixfleet-proto::agent_event and the state-machine’s effect / event types. Both directions live in this crate (the state-machine) by the orphan rule: every conversion has a state-machine-local type on at least one side. Keeps nixfleet-proto free of state-machine awareness (proto is the leaf crate) and CP free of duplicate wire definitions (the architect’s d013 lift per RFC-0004 §2).