pub fn target_registry_projection(repo_root: &Path) -> Result<String, i32>
Emits the registry-declared target catalog as a stable JSON projection.