cadrumo.application.bucket_deletion_contracts module

Neutral application contracts shared by reset and bucket deletion.

class BucketDeletionFingerprint(**data)[source]

Bases: BaseModel

Structured fold of observed deletion-relevant bucket contents.

The fingerprint is neither a revision lock nor proof recorded by a reset journal.

Carried a manifest_digest until the plaintext bucket manifest was retired. Nothing produced it in production – every construction in the tree was a hand-built fixture – and its subject no longer exists, so it was removed rather than left as a field only tests could fill. The three surviving facts are exactly what ProfileCustodyInventoryWitness observes of a capsule, which is what makes this contract answerable at all now.

Parameters:

data (Any)

schema_version: int
digest: ContentDigest
file_count: int
total_bytes: NonNegativeInt