{"spec_id":"grounded-idea-portfolio-metrics","title":"Grounded Idea Portfolio Metrics","summary":"**Idea**: `agent-grounded-idea-metrics` (sub-idea of `coherence-signal-depth`)","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":"coherence-credit","process_summary":"computed_actual_cost aggregated from spec registry + runtime + commit evidence; computed_actual_value uses strongest signal from lineage, usage, or spec value; computed_confidence reflects data coverage across five signal sources; grounding_sources dict contains all raw inputs for audit; Works with zero data returning 0.0 and low confidence","pseudocode_summary":null,"implementation_summary":"api/app/services/grounded_idea_metrics_service.py (compute_idea_metrics()); api/app/routers/agent_grounded_metrics_routes.py (grounded metrics endpoints)","created_by_contributor_id":null,"updated_by_contributor_id":null,"created_at":"2026-04-09T03:10:08.900317Z","updated_at":"2026-04-09T03:10:08.900317Z","content_path":"specs/grounded-idea-portfolio-metrics.md","content_hash":"312b6d1e675169d5","workspace_id":"coherence-network"}