pub fn load_modules(config_dir: &Path) -> Result<HashMap<String, LoadedModule>>
Load all modules from the modules/ directory under the given config dir. Returns a map of module name → LoadedModule.
modules/