{"spec_id":"cross-task-outcome-correlation","title":"Cross-Task Outcome Correlation","summary":"**Idea**: `coherence-network-agent-pipeline`","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":"pipeline-optimization","process_summary":"Task chain linkage: When a task's `context` contains a `source_task_id` (set by heal tasks, review tasks, test tasks), record a `TaskChainLi; Chain resolution: `resolve_chain(task_id: str) -> list[TaskChainLink]` returns the full ordered chain of tasks linked from a root task, fo; Chain effectiveness score: `compute_chain_effectiveness(chain: list[TaskChainLink]) -> ChainEffectiveness` examines the terminal tasks in a chain a; Effectiveness scoring rules; Measurement enrichment: When a downstream task completes, call `enrich_upstream_measurement(source_task_id)` to update the upstream task's groun","pseudocode_summary":null,"implementation_summary":"api/app/services/task_activity_service.py (task outcome correlation)","created_by_contributor_id":null,"updated_by_contributor_id":null,"created_at":"2026-04-09T03:10:08.870154Z","updated_at":"2026-04-09T03:10:08.870154Z","content_path":"specs/cross-task-outcome-correlation.md","content_hash":"7df090f3bbb304a6","workspace_id":"coherence-network"}