Bidirectional adapter between Jido Signals and Runic Facts.
Maps Jido's causality tracking (signal.source, signal.jidocause) to Runic's fact ancestry chain, ensuring provenance is continuous across both systems.
Summary
Functions
Convert a Jido Signal (or plain map) into a Runic Fact.
Convert a Runic Fact back into a Jido Signal.
Functions
@spec from_signal( Jido.Signal.t(), keyword() ) :: Runic.Workflow.Fact.t()
Convert a Jido Signal (or plain map) into a Runic Fact.
Options:
:ancestry_mode—:hash(default) to hash source/jidocause or:rawto preserve them.
@spec to_signal( Runic.Workflow.Fact.t(), keyword() ) :: Jido.Signal.t()
Convert a Runic Fact back into a Jido Signal.
Options:
:type— signal type (default:"runic.production").:source— signal source path (default:"/runic/workflow").:include_ancestry?— when true and ancestry present, rehydratesource/jidocausefrom it.