cadrumo.application.user_profile.custody_carry module

Application policy for portable-profile secure-object custody carry.

The application owns custody-profile normalization, fail-closed full-coverage policy, and the exported coverage fact. Concrete persistence enumeration, natural-key recovery, and atomic restoration are provided by the bound profile custody port.

normalize_storage_custody_profile(custody_profile)[source]

Resolve an operator custody selection into the closed neutral value set.

Return type:

StorageCustodyProfile

Parameters:

custody_profile (StorageCustodyProfile | str)

build_secure_object_custody_payload(*, bucket_id, custody_profile, profile_decode_context)[source]

Build generic custody rows and their exact namespace-coverage fact.

Return type:

tuple[tuple[CarriedSecureObject, ...], CoverageManifest]

Parameters: