Skip to main content

production_moq_event_pep

Function production_moq_event_pep 

Source
pub async fn production_moq_event_pep(
    signing_key: SigningKey,
    oauth: &OAuthConfig,
    audit_stream: &str,
    track_policy: MoqEventPolicyTable,
) -> Result<MoqEventPep>
Expand description

Assemble the production MoQ/event PEP from the declared track-policy table, verified subject contexts, and the mandatory signed audit WAL.

v16 §10 / #1510: the MoQ/event plane resolves labels from declared track policy metadata, never from the VFS/genesis resolver — a track/prefix must not occupy the RPC/VFS service-domain coordinate. The track_policy table is the reviewed seam onto the generated dispatch inventory (WS-D / #1505): until that inventory lands, callers pass the empty table and every unlisted track/prefix denies. This assembly has no bootstrap exception and no legacy-resolver path.