Skip to main content

Module ir

Module ir 

Source
Expand description

Intermediate Representation (IR) for resolved ceremonies.

The IR represents a ceremony after parsing and resolution:

  • All references have been validated
  • Execution order has been computed
  • Parameter values have been merged with defaults
  • Material sources have been validated (but not loaded)

The IR is consumed by both the executor (for runtime) and script generation (for paper output).

Structs§

Act
A resolved act (for script display).
ActId
Unique identifier for an act in the ceremony.
ArtifactId
Unique identifier for an artifact produced during the ceremony.
Ceremony
A fully resolved ceremony, ready for execution.
Material
A resolved material with its source.
MaterialId
Unique identifier for a material in the ceremony.
Output
A resolved output declaration.
OutputId
Unique identifier for an output declaration in the ceremony.
ParamId
Unique identifier for a parameter in the ceremony.
Parameter
A resolved parameter with its value.
PostCeremonyDuty
A resolved post-ceremony duty.
Role
A resolved role.
RoleId
Unique identifier for a role in the ceremony.
Section
A resolved section.
SectionId
Unique identifier for a section in the ceremony.
Step
A resolved step, ready for execution.
StepId
Unique identifier for a step in the ceremony.
SymbolTable
A symbol table mapping IDs to values.

Enums§

ArtifactRef
Reference to an artifact (either a material or a produced artifact).
MaterialKind
What kind of material and its resolved source/identifier.
NamedInput
The value under one key of a reads: map: one reference, or a list of them for an action that takes as many as the ceremony gives it.
RetryPolicy
How the runtime treats a transient (retriable) failure of a step.
StepInputs
Pre-resolved input references for a step.