cadrumo.application.modelo.calculation_source_policy module

Source-kind policy for bucket aggregation calculation.

This module projects executable calculation-route ownership into the calculate path’s source guard.

BUCKET_AGGREGATION_LOCK_SOURCES marks deterministic bucket-owned resolvers whose values must not be caller-overridden on this path. CALLER_OVERRIDABLE_CARRY_SOURCES preserves the narrow fallback channel for carry-style sources whose absence can be supplied by explicit caller values.

See also

application.modelo.calculation_actions.assert_no_novel_source_kinds():

Rejects a registry source kind absent from both the enrolled and deferred policy sets before it can calculate as a silent blank.