cadrumo.application.profile_deletion_hold_contract module

Read-only legal and filing owner projections for profile deletion.

The destructive custody transaction consumes these projections but cannot create or alter their source facts. Their distinct legal- and filing-owner modules own the durable records and the semantic mutations that refresh them.

class ProfileDeletionHoldOwner(*values)[source]

Bases: StrEnum

Which duty keeps a profile from being deleted.

The two are not interchangeable and not ordered: a legal hold and a filing hold can be present independently, and clearing one never clears the other.

LEGAL

A retention duty imposed by law.

FILING

An obligation still open against a tax filing.

ProfileDeletionHoldOwnerValue

The same owner for a strict projection or evidence field.

alias of Literal[LEGAL, FILING]

class ProfileDeletionHoldOwnerProjection(**data)[source]

Bases: BaseModel

Authenticated owner result consumed by custody deletion preflight.

Parameters:

data (Any)

owner: ProfileDeletionHoldOwnerValue
profile_id: UUID
blocks_local_deletion: bool
source_record_id: str
source_record_digest: PrefixedContentDigest
assessed_at: datetime