cadrumo.application.aggregation._preconditions module

Typed refusal outcomes owned by the aggregation application boundary.

class AggregationPreconditionCondition(*values)[source]

Bases: StrEnum

Closed failed-condition identities for aggregation refusals.

INVOICE_LEDGER_COMPLETE
PER_MODELO_MODELO_SUPPORTED
RETENCIONES_OBSERVATIONS_PRESENT
aggregation_no_recovery_verdict(condition, *, facts, outcome=NoRecoveryOutcome.OPERATOR_DECISION)[source]

Return the observed failure and explicit absence of a bound recovery.

Aggregation can identify the incompatibility in its inputs, but it cannot safely construct an executable recovery invocation from those facts. The terminal verdict keeps that boundary machine-readable without retaining presentation recovery prose.

Return type:

PreconditionVerdict

Parameters: