channel

fun channel(tag: Byte): Seam

A Seam view of a dedicated mux channel carved over the same session seam as transport — the factory the federated placement uses to obtain the two side channels its routing needs. Passing the whole factory (rather than pre-provisioning named seams) keeps the binding one field and lets a placement provision only the channels it actually reads.

Because every channel is carved over the same session mux as transport, a channel view's selfId/peer ids are byte-identical to the ids the Raft NodeIds derive from — the two Task-1-review identity contracts (a node's channel PeerId string equals its Raft NodeId string; a roster/relay frame's sender is the byte-identical peer id its NodeId derives from) hold structurally for whatever tag a placement requests.

Only the federated placement (ConsensusPlacement.federatedCore) requests channels:

  • channel(RAFT_RELAY_CHANNEL) — the cross-server Raft relay channel its routing decorator carries frames over.

  • channel(CORE_ROSTER_CHANNEL) — the cross-server learner-roster exchange each core server unicasts its local roster over, so the leader admits from the union of all servers' rosters, not just its own.

Every other placement (ConsensusPlacement.SessionOwned / ConsensusPlacement.serverCore / ConsensusPlacement.preBuilt) never calls channel, so those channels are never provisioned and no wire traffic is produced — the off-federation bootstrap is byte-identical, exactly as eagerly provisioning-but-never-touching a mux view was.