{"spec_id":"stale-task-reaper","title":"Spec: Stale-Task Reaper","summary":"Phantom \"running\" tasks that never finish block pipeline capacity and degrade the overall task","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-reliability","process_summary":"Tasks running beyond `max_age_minutes=15` (fixed threshold, not provider-derived) are; Smart path (`smart_reap_service.smart_reap_task`) is attempted first; legacy path is; Reaped tasks receive `status=timed_out`, `error_category=\"stale_task_reaped\"`, and a; A retry task is created for any reaped task that has `idea_id` and; The retry task carries `seed_source=\"reaper_retry\"`, incremented `retry_count`, and","pseudocode_summary":null,"implementation_summary":"api/app/services/smart_reaper_service.py (timeout detection and reaping)","created_by_contributor_id":null,"updated_by_contributor_id":null,"created_at":"2026-04-09T03:10:09.029765Z","updated_at":"2026-04-09T03:10:09.029765Z","content_path":"specs/stale-task-reaper.md","content_hash":"eb589231b7cd8874","workspace_id":"coherence-network"}