Self-driving synchrotron coherent X-ray scattering on comple