fn source_provenance(
document: &Value,
generated_path: &Path,
pointer: String,
id_key: &str,
id: &str,
) -> SourceProvenanceExpand description
Resolves generator-retained YAML provenance with a JSON fallback for legacy artifacts.