Resolves a runtime Skill Work route into an exact execution materialization.
Routing, prompt rendering and continuation pinning happen once. The result can then enter the shared operational runtime without re-reading mutable Skill state or executing authored code.
Summary
Functions
Returns the explicit typed Flow-to-Work handoff for a materialization.
Materializes the selected Work and returns the runtime with its new pin.
Functions
@spec handoff(Spectre.Execution.Materialization.t()) :: {:ok, Spectre.Execution.Handoff.t()} | {:error, term()}
Returns the explicit typed Flow-to-Work handoff for a materialization.
@spec materialize(Spectre.Skill.Runtime.t(), term(), map(), keyword()) :: {:ok, Spectre.Execution.Materialization.t(), Spectre.Skill.Runtime.t()} | {:error, term()}
Materializes the selected Work and returns the runtime with its new pin.