Function build_sop_engine
pub fn build_sop_engine(
config: SopConfig,
workspace_dir: &Path,
audit_memory: Arc<dyn Memory>,
adapters: SopEngineAdapters,
) -> (Arc<Mutex<SopEngine>>, Arc<SopAuditLogger>)Expand description
Build a single shared SopEngine + SopAuditLogger pair.
This is the sole construction site for SOP state within a daemon.
Callers receive Arc<Mutex<SopEngine>> and Arc<SopAuditLogger>
handles — never call SopEngine::new or SopAuditLogger::new
directly outside this module.