Expand description
Core domain model and IR for the Rite ceremony DSL.
rite-model defines the Intermediate Representation (IR): the fully resolved
ceremony data consumed by the executor. The YAML schema (parser input) lives in
rite-resolver; this crate contains only the runtime-facing types.
§Module structure
ir: IR types:Ceremony,Step,Role, etc. and typed ID newtypesexpression: Expression parsing for${artifact.name | sha256 | hex}syntaxtranscript: Persisted transcript schema (StepFact+ friends)safe_path: Confine untrusted, ceremony-derived names/paths to a directorytypes(private): Shared semantic enums:ActionType,DutyType, etc.
§BackendConfig
Re-exported from rite-sdk for convenience. The canonical definition lives there.
Re-exports§
pub use safe_path::PathSafetyError;pub use safe_path::confine;pub use safe_path::is_safe_component;pub use safe_path::safe_join;pub use safe_path::validate_component;pub use ir::Act;pub use ir::ActId;pub use ir::ArtifactId;pub use ir::ArtifactRef;pub use ir::Ceremony;pub use ir::Material;pub use ir::MaterialId;pub use ir::MaterialKind;pub use ir::Output;pub use ir::OutputId;pub use ir::ParamId;pub use ir::Parameter;pub use ir::PostCeremonyDuty;pub use ir::RetryPolicy;pub use ir::Role;pub use ir::RoleId;pub use ir::Section;pub use ir::SectionId;pub use ir::Step;pub use ir::StepId;pub use ir::StepInputs;pub use ir::SymbolTable;pub use transcript::ErrorClass;pub use transcript::ErrorRecord;pub use transcript::Prompt;pub use transcript::ResponseRecord;pub use transcript::StepFact;pub use transcript::StepOutcome;pub use transcript::ValidatorSpec;
Modules§
- expression
- Expression parsing for computed values in ceremony DSL.
- ir
- Intermediate Representation (IR) for resolved ceremonies.
- safe_
path - Path-safety helpers for confining ceremony-derived names and paths.
- transcript
- Persisted transcript schema.
Structs§
- Backend
Config - Backend configuration entry from a ceremony file.
- Metadata
- Ceremony metadata (name and optional description).
Enums§
- Action
Type - Action types available in ceremony steps.
- Backend
Usage - Whether an action needs the
backend:field on its step. - Duty
Type - Typed preset for common post-ceremony duty categories.
- Material
Source - Source for a ceremony material.
- Output
Type - Type of output produced by a ceremony.
- Parameter
Type - Type of a ceremony parameter.
Functions§
- derive_
role_ name - Derive a display name from a role ID.
- derive_
step_ name - Derive a display name from a step or section ID.
- role_
type - Extract the role type from a role ID.