{"spec_id":"coherence-algorithm-spec","title":"Spec: Coherence Algorithm — Formal Spec","summary":"Formalize the coherence score algorithm from docs/concepts/COHERENCE-ALGORITHM-SKETCH.md so implementation (Sprint 2+) has clear inputs, outputs, and weights. No implementation in this spec.","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":"Document inputs: contributor_diversity, dependency_health, activity_cadence, documentation_quality, community_responsive; Document output: score 0.0–1.0 per project; Document pitfalls: gaming prevention, contribution-type balance; Add weights stub (all equal or placeholder) — actual weights are decision gate","pseudocode_summary":null,"implementation_summary":"api/app/services/coherence_service.py (compute_coherence()); api/app/routers/coherence.py (coherence score endpoint); api/app/services/coherence_signal_depth_service.py (signal depth)","created_by_contributor_id":null,"updated_by_contributor_id":null,"created_at":"2026-04-09T03:10:08.839657Z","updated_at":"2026-04-09T03:10:08.839657Z","content_path":"specs/coherence-algorithm-spec.md","content_hash":"ad7603ecec6520a9","workspace_id":"coherence-network"}