Expand description
Local Runtime Simulator — DAG verification and fractal URN stitching.
Replaces coreason_runtime/execution_plane/local_simulator.py.
Provides local dry-run simulation of execution DAGs and fractal URN hierarchical binding for capability composition.
Zero Waste: Topological sort and cycle detection delegated to
petgraph::algo::toposort (already in Cargo.toml). We only write the
HashMap → DiGraph conversion glue and domain-specific simulation logic.
Structs§
- Causal
Clock Enforcer - Topological Compute Enforcer / Causal Clock (
causal_clock) guard (#338) - Causal
Intervention - A causal intervention specification for Pearl’s do-operator.
- DagValidation
Report - DAG integrity validation report.
- DoOperator
- Pearl’s Causal Do-operator simulator.
- Simulation
Node - A node in the simulated execution DAG.
- Simulation
Result - Result of a DAG simulation.
Enums§
- Causal
Error - Error type for causal DAG surgery operations.
- Node
Status - Status of a simulation node.
Functions§
- simulate_
execution - Simulate DAG execution in topological order (dry-run).
- stitch_
fractal_ urns - Create hierarchical URN bindings for fractal composition.
- verify_
dag_ integrity - Verify a DAG has no cycles or dangling references.