{"spec_id":"idea-lifecycle-closure","title":"Idea Lifecycle Closure — System Must Recognize When an Idea Is Done","summary":"The pipeline wastes compute on ideas that are already implemented. Two bugs cause this:","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":"idea-realization-engine","process_summary":"Fix stage string comparisons in idea_to_task_bridge to match IdeaStage enum; Task history guard prevents duplicate tasks for same idea and phase; Review completion advances idea from reviewing to complete; Closed ideas (complete + validated) exit task-generation pool; GET /api/ideas/{idea_id}/lifecycle returns closure state and blockers","pseudocode_summary":null,"implementation_summary":"api/app/services/idea_service.py (_sync_manifestation_status()); api/app/models/idea.py (IdeaStage.COMPLETE, IdeaLifecycle)","created_by_contributor_id":null,"updated_by_contributor_id":null,"created_at":"2026-04-09T03:10:08.913593Z","updated_at":"2026-04-09T03:10:08.913593Z","content_path":"specs/idea-lifecycle-closure.md","content_hash":"3ead787a8d217c72","workspace_id":"coherence-network"}