Skip to main content

build_sop_engine_with_capability

Function build_sop_engine_with_capability 

pub fn build_sop_engine_with_capability(
    config: SopConfig,
    decision_models: &HashMap<String, SopDecisionModelConfig>,
    data_dir: &Path,
    install_root: &Path,
    audit_memory: Arc<dyn Memory>,
    adapters: SopEngineAdapters,
    execution_capability: Option<AgentExecutionCapability>,
) -> (Arc<Mutex<SopEngine>>, Arc<SopAuditLogger>)
Expand description

Build a SOP engine with the daemon-owned execution capability already attached. Managed startup must use this constructor before maintenance or any producer can create an action; None remains for unmanaged source and test callers only.