Expand description
Application-facing loader and execution facade.
This crate is the library entrypoint for services that want to run LogicPearl bundles without invoking the CLI. It resolves artifact manifests with the shared bundle path policy, loads gate, action, and pipeline artifacts, and delegates deterministic evaluation to the runtime. It does not learn new artifacts or execute build-time discovery.
use logicpearl_engine::LogicPearlEngine;
use serde_json::json;
let engine = LogicPearlEngine::from_path("artifacts/access_policy")?;
let result = engine.run_single_json(&json!({
"clearance_ok": false,
"mfa_enabled": true
}))?;
println!("{result:?}");Structs§
- Action
Artifact Batch Execution - Action
Artifact Execution - Artifact
Batch Execution - Artifact
Execution - Logic
Pearl Engine