
Declare a module interface with optional object attributes, defaults and nullability, so minimal calls apply with defaults, full calls override and null behaves as declared.
Encode a module's contract as input validations, including a cross-variable rule, so invalid calls fail at plan with messages that name the violated rule.
Fan a module out with for_each per collection key and chain a second module from its outputs, so key removal touches one instance and upstream changes propagate downstream.
Build a queue module with optional defaulted inputs and a validated contract, then a consumer that fans it out from data and chains it into a registry, proven from empty state to a clean re-plan.