{"spec_id":"release-gates","title":"Spec: Release Gates API","summary":"Automated checks for deployment readiness. Validates that PRs meet quality gates (CI passing, approvals, deploy contract) before merging to production.","potential_value":0.0,"actual_value":1.0,"estimated_cost":0.0,"actual_cost":1.0,"value_gap":0.0,"cost_gap":1.0,"estimated_roi":0.0,"actual_roi":1.0,"idea_id":"data-infrastructure","process_summary":"GET /api/gates/pr-to-public — Check if PR is ready for merge to production; GET /api/gates/merged-contract — Verify merged change meets contract (CI, approvals, deploy); GET /api/gates/main-head — Get current main branch status; Integrates with GitHub API for PR status, checks, approvals; Supports polling with timeout for async CI completion","pseudocode_summary":null,"implementation_summary":"api/app/services/release_gate_service.py (evaluate_pr_to_public_report()); api/app/routers/gates.py (gate endpoints)","created_by_contributor_id":null,"updated_by_contributor_id":null,"created_at":"2026-04-09T03:10:09.012003Z","updated_at":"2026-04-09T03:10:09.012003Z","content_path":"specs/release-gates.md","content_hash":"9b3c277097aee4d7","workspace_id":"coherence-network"}