cargo-governor 2.0.0

Machine-First, LLM-Ready, CI/CD-Native release automation tool for Rust crates
Documentation
//! Recommendations generation for simulation service

/// Generate release recommendations based on changes
pub fn generate_recommendations(
    breaking_count: usize,
    features_count: usize,
    fixes_count: usize,
) -> Vec<String> {
    let mut recommendations = Vec::new();

    if breaking_count > 0 {
        recommendations.push("Update migration guide for breaking changes".to_string());
        recommendations.push("Consider beta release for testing".to_string());
        recommendations.push("Notify downstream maintainers".to_string());
    }

    if features_count > 0 && breaking_count == 0 {
        recommendations.push("Update documentation with new features".to_string());
    }

    if fixes_count > 5 {
        recommendations.push("Consider additional testing for bug fixes".to_string());
    }

    if recommendations.is_empty() {
        recommendations.push("No specific recommendations".to_string());
    }

    recommendations
}