Invariants / CN-OUTBOUND-RELAY-01

CN-OUTBOUND-RELAY-01

CN derived enforced

OutboundCommand is the sole channel between produce_mode and MuxPump's outbound encoder. The closed enum carries typed ChainSyncServerMsg / BlockFetchServerMsg variants — no Vec byte tunnel; no direct MuxTransportHandle::outbound write from produce_mode. MuxPump's session-aware encoder is the only producer of wire-byte streams.

Source

docs/planning/phase4-n-s-invariants.md §1 (I4); §2 (N4, N8); §3 (D3)

Cluster
PHASE4-N-S-B
Introduced in
PHASE4-N-S-B

Enforcement trace

Tests 2

  • outbound_command_peer_accessor_returns_target_peer
  • outbound_command_carries_typed_reply_not_raw_bytes

Cross-references