Skip to main content

Module execution_plan

Module execution_plan 

Source
Expand description

Execution plan for evaluated specs

Provides a complete self-contained execution plan ready for the evaluator. The plan contains all data, rules flattened into executable branches, and execution order - no spec structure needed during evaluation.

Reliability model:

  • SpecSchema is the IO contract surface for consumers (data and rule outputs). IO compatibility is the consumer-facing guarantee.

Structs§

Branch
A branch in an executable rule
DataEntry
A spec’s public interface: its data (inputs) and rules (outputs) with full structured type information.
ExecutableRule
An executable rule with flattened branches
ExecutionPlan
A complete execution plan ready for the evaluator
ExecutionPlanSet
All ExecutionPlans for a spec name after dependency resolution. Ordered by ExecutionPlan::effective. Slice end is derived from the next plan’s effective.
SpecSchema

Type Aliases§

SpecSources
Spec sources keyed by (name, effective_from).