cadrumo.domain.deadlines.fact_context module¶
Typed governed-fact resolution context for deadline consequences.
The deadline domain receives authority and both temporal coordinates from its application composition boundary. It does not open the bundled registry on a domain-method call: the caller must state the filing and submission dates that select each fact.
- class DeadlineFactResolutionContext(authority, filing_period, submission_date)[source]¶
Bases:
objectAuthority and explicit filing/submission coordinates for deadline facts.
- Parameters:
authority (GovernedFactSource)
filing_period (date)
submission_date (date)
-
authority:
GovernedFactSource¶
- mapping_decimal(fact_id, key)[source]¶
Resolve one exact Decimal entry from a governed mapping fact.
A missing key is an unpublished legal coordinate, not permission to substitute the most recent value.
- resolved_scalar(fact_id)[source]¶
Resolve a scalar on the fact’s declared temporal axis.
- Return type:
- Parameters:
fact_id (str)