Expand description
Node-graph policy engine: compiles YAML-declared policies into executable pipelines and validates their structure.
A policy is a directed graph of plugin nodes connected by edges written as
from: node_id.port / to: node_id.port (ports: out, success,
error, in). compile_policy produces a CompiledGraph that the
data-plane executes per request; validate_policy checks structure first.
Re-exportsยง
pub use engine::compile_policy;pub use engine::CompiledGraph;pub use validation::validate_policy;
Modulesยง
- engine ๐
- Policy compilation and graph execution.
- validation ๐
- Structural validation of policy node graphs, run before compilation (e.g. at config load and on Admin API writes) so malformed policies are rejected with actionable messages instead of failing at request time.