cadrumo.application.modelo.work_lifecycle_ports module¶
Application-owned capabilities for Modelo work-unit lifecycle operations.
The lifecycle service coordinates the work-unit catalogue with the bucket event history that records each durable transition. It receives both authorities as one required bundle so application code does not construct or discover a persistence adapter. Outer composition roots bind the domain protocols to the secure-object-backed repositories for the requested profile bucket.
- class WorkLifecyclePorts(work_unit_repository, bucket_event_repository)[source]¶
Bases:
objectRequired persistence authorities for one bucket-scoped lifecycle call.
- Parameters:
work_unit_repository (WorkUnitCatalogueRepositoryProtocol)
bucket_event_repository (BucketEventHistoryRepositoryProtocol)
-
work_unit_repository:
WorkUnitCatalogueRepositoryProtocol¶
-
bucket_event_repository:
BucketEventHistoryRepositoryProtocol¶