cadrumo.application.operations.supervisor_context module

Private executor context assembled by the operation supervisor.

new_response_token()[source]

Create one unpersisted capability bearer for an exact REVIEW checkpoint.

Return type:

str

class SupervisorExecutorContext(*, context, authority_operation, operands, ephemeral_secret, financial_operand, clock, response_authority_issuer, response_token_factory)[source]

Bases: object

Delegate definition checks while adding supervisor-owned secure publication.

Parameters:
property operands: OperationSecureReferenceStore

Expose secure storage only when the composition root supplied it.

property revision: int

Return the current durable revision without exposing journal state.

property snapshot: OperationPersistedSnapshot

Expose the current durable view retained by the definition-bound context.