pub fn build_component_fingerprints(
input: &DataFingerprintInput,
) -> BTreeMap<JsString, String>Expand description
Per-component sub-hashes, making the conflict unit (entity, componentKey).
Keys match the layer op vocabulary so diff keys and op keys share one
spelling: attr:core, pset:<Name>, qset:<Name>, type-assignment,
material, classification.
Only components the entity actually carries get a key, so adding or removing one is visible as key presence rather than as an “empty” hash.
Every sub-hash is computed over the same projection
build_data_fingerprint hashes, the GlobalId-free type assignment
included. That is a requirement: the content pass uses these as a collision
guard, retiring an added/deleted pair only once they agree, on the grounds
that a component hashes a slice of what the whole hash covers. Projecting
differently here would turn that guard into a re-export filter, vetoing the
very matches the engine exists to find.