phenotypic.sdk_.validated_published_metadata_migration_targets#

phenotypic.sdk_.validated_published_metadata_migration_targets(receipt_path: str | Path) tuple[tuple[Path, str, str], ...][source]#

Return receipt-certified artifact fingerprint transitions.

A target is returned only after the complete receipt and its current disk state pass the migration engine’s normal validation. prepared targets whose atomic replacement reached disk before the receipt state update are included when their current bytes match the prepared post fingerprint.

Parameters:

receipt_path (str | Path) – Durable metadata-migration receipt to validate.

Returns:

Tuples of (path, source_fingerprint, post_fingerprint) for published target transitions.

Raises:
  • OSError – The receipt or one of its targets cannot be read.

  • ValueError – The receipt, its authority scope, or current target bytes fail validation.

Return type:

tuple[tuple[Path, str, str], …]