eligiblePeers

fun eligiblePeers(affinity: Affinity): Set<PeerId>

The eligible subset of the current effective roster for a task requiring affinity: the peers whose advertised CapSet satisfies the predicate (a peer with no live advertisement is CapSet.EMPTY, eligible only for Affinity.Anywhere).

This is the set placement consistent-hashes over (TaskRing.owner). Every peer derives it from the same convergent capability view + the same roster + the same (envelope-carried) predicate, so it is identical across peers under a converged view — the determinism the eligible-set acceptance test asserts.