Function spawn_and_register_sop_driver_with_capability
pub fn spawn_and_register_sop_driver_with_capability(
handles: &Arc<Mutex<SopDriverRegistry>>,
config: Config,
engine: Arc<Mutex<SopEngine>>,
audit: Option<Arc<SopAuditLogger>>,
first_action: SopRunAction,
execution_capability: Option<AgentExecutionCapability>,
) -> bool