pub fn scan_projects(root: &Path, max_depth: usize) -> Vec<PathBuf>
Scan a directory tree for projects up to max_depth. Skips children of already-detected projects and artifact directories.
max_depth