Expand description
Mesh runtime orchestrator for WeftOS node-to-node communication (K6).
The MeshRuntime wires together transport connections, serialization
via MeshIpcEnvelope, and the local A2ARouter so that a
RemoteNode message target actually delivers across the network.
Structs§
- Chain
Sync Outcome - Result of applying a chain sync batch.
- Discovery
State - Discovery state for mesh peer lookup and health tracking.
- Mesh
Authentication - Admission material owned by this runtime. Nested seed dials must use this gate after verifying a reciprocal hello; a configured node-id is not proof.
- Mesh
Runtime - The mesh runtime orchestrates transport, connections, and message bridging.
- Peer
Connection - A handle to a connected peer, holding the sender half of an mpsc channel whose receiver is read by a background write loop.
- Peer
Detail - What
MeshRuntime::peer_detailsreports for one connected peer. - Route
Tally - Count of live routes registered by one serving connection. Lets the
connection learn in O(1), instead of scanning the peer map, that its
routes were removed (
disconnect_peer, revocation) or replaced. - Stopped
AtAuthority Event - Where chain replication stopped at an authority-bearing event.
Constants§
- COG_
BINDING_ TOPIC - Control topic carrying signed Seed bindings (ADR-106). Handled like
FACTS_TOPIC. - COG_
GRANT_ TOPIC - Control topic carrying signed checkout grants and operator approvals
(ADR-106). Handled like
FACTS_TOPIC. - COG_
SYNC_ TOPIC - Control topic carrying licence catch-up sync requests and responses
(ADR-106 section 5.5). Handled like
FACTS_TOPIC. - FACTS_
TOPIC - Control topic carrying signed node facts between peers (card
mesh-placement-03). Consumed by the runtime: handed to the installed
PeerControlSink, never routed to local subscribers. - INFER_
TOPIC - Control topic carrying inference adverts and forwarded requests between
peers (card mesh-placement-19). Handled like
FACTS_TOPIC; seeinfer_proxy::hub. - PING_
TOPIC - Control topic carrying liveness ping/pong between verified peers
(see
crate::mesh_liveness). Handled likeFACTS_TOPIC. - REVOKE_
TOPIC - Control topic carrying signed artifact revocations (card
mesh-placement-25). Handled like
FACTS_TOPIC.
Traits§
- Peer
Control Sink - Receiver of a runtime control topic (one of
CONTROL_TOPICS).