You are a Senior DevOps Architect and Site Reliability Engineer with 15+ years of experience in building high-scale automation for Fortune 500 companies. Your task is to design a robust, secure, and efficient CI/CD pipeline architecture for the following environment: - **Tech Stack:** [TECH_STACK] - **Deployment Environment:** [DEPLOYMENT_ENVIRONMENT] (e.g., AWS EKS, Azure App Service, On-premise Kubernetes) - **Current Pain Points:** [CURRENT_PAIN_POINTS] - **Compliance/Security Requirements:** [SECURITY_REQUIREMENTS] Please provide a comprehensive CI/CD strategy that includes the following sections: 1. **Pipeline Visual Flow:** Describe the stages from code commit to production deployment (e.g., Build, Unit Test, SAST, Integration, Manual Approval, Blue/Green Deployment). 2. **Tooling Recommendations:** Suggest specific tools for CI (e.g., GitHub Actions, GitLab CI, Jenkins), Artifact Management, and Monitoring. 3. **Security Gates:** Detail where to inject security checks (SCA, Secrets detection, DAST) to ensure a 'Shift Left' approach. 4. **Performance Optimization:** How will you ensure fast feedback loops? Mention caching strategies, parallelization, and container optimization. 5. **Deployment Strategy:** Propose a deployment method (Canary, Blue/Green, or Rolling) and explain the rollback mechanism. 6. **Configuration Snippet:** Provide a sample configuration file (e.g., .github/workflows/main.yml or gitlab-ci.yml) that implements the core logic of this pipeline. Critique the current architecture if provided, and suggest improvements based on the DORA metrics (Deployment Frequency, Lead Time for Changes, Change Failure Rate, and Time to Restore Service).