How to design CI/CD quality gates: tests, scans, and approvals

A systematic guide to layered quality gates, blocking rules, test/scan/SBOM/approval nodes, environment promotion strategy, metrics, and exception handling.