Skip to main content

normalize_registered_observations

Function normalize_registered_observations 

Source
pub fn normalize_registered_observations(
    language: Language,
    build_variant_fingerprint: [u8; 32],
    observations: Vec<OperationObservation>,
    constructs: Vec<ConstructObservation>,
) -> Result<ApiNormalization, SemanticGraphError>
Expand description

Normalize registered API and compiler-confirmed construct observations.

API names remain fail-closed against the registry. Constructs have already crossed the compiler/protocol boundary and are accepted only when they use the fixed SOG vocabulary; no frontend syntax type enters core.

ยงErrors

Returns SemanticGraphError only if the deterministic graph assembled from registered operations violates its own invariant.