pub fn import_label(
import_floor_for_that_peer: SecurityLabel,
translated: SecurityLabel,
) -> SecurityLabelExpand description
Foreign-label import floor (#699, D1/D2 amendment ratified 2026-07-03): a
label asserted by a federated peer — whether a manifest’s security_label
or (per the D1 ruling) a remote node’s own capnp-schema-derived label — is
a hint, not a guarantee, when we act as a client of that peer. It is
trusted only as far as the peer’s own signer, never face-value across a
domain boundary.
effective = join(import_floor_for_that_peer, translated). Same clamp
shape as bind_time_label (restrict-only, never escalates); the
distinction is only which floor is being enforced — a local subject’s own
clearance there, a per-peer import ceiling here. import_floor_for_that_peer
is the enrollment/perimeter-assigned ceiling for imports from that specific
peer (see the atproto perimeter gateway, #549); translated is the peer’s
asserted label after perimeter translation into this node’s lattice
vocabulary.