pub fn hash_binding(resolved: &ResolvedBinding) -> StringExpand description
Compute hash(D) (D5) — the lowercase-hex SHA-256 of the canonical JSON of
a binding’s content-defining resolved projection.
Hashed: version, intent, source_facets resolved (per facet: its
selection patterns, its preparation identifier + PREPARATION_IMPL_VERSION,
and its medium’s type / pointer / change_detection), reference_mems,
destination_mem, deny_paths, coverage_semantics, rules, and
operations.build.mode.
Excluded: trigger, batch_size, post_actions, and future tier
knobs — scheduling never changes what the mem claims. Because facet
selection and medium pointer participate (inputs outside the binding
file), a change to either invalidates the hash, and thus any findings
keyed on it.