pub fn build_mesh_identity_roster(
oauth: &OAuthConfig,
) -> Vec<([u8; 32], Subject)>Expand description
Build the per-host mesh identity roster from the admin-configured
mesh_peers (#328): each peer’s Ed25519 signer pubkey → its per-host
authorization subject (service:inference:host-<label>).
Reuses the SAME mesh_peers enrollment record as
build_mesh_pq_trust_store (no new roster type): the Ed25519 key is the
envelope signer identity, and the operator-assigned label is the host id.
An invalid Ed25519 multibase is logged and skipped (fail-safe — never trust
a malformed identity). An empty/absent mesh_peers yields an empty roster.
This is the source for fail-closed per-host identity resolution: a networked
peer whose key is NOT in this roster resolves to anonymous, never the
"system" god principal (#328).