{"spec_id":"agent-orchestration-api","title":"... 9 more in Requirements section below","summary":"*Format: [specs/TEMPLATE.md](TEMPLATE.md)*","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":"agent-pipeline","process_summary":"POST /api/agent/tasks — Submit task, returns task_id + routed model + suggested command; GET /api/agent/tasks — List tasks with optional status/task_type filters and pagination (limit, offset); GET /api/agent/tasks/attention — List tasks with status needs_decision or failed only; GET /api/agent/tasks/count — Lightweight counts (total, by_status) for dashboards; GET /api/agent/tasks/{id} — Get task by id (full shape: command, output, progress_pct, current_step, decision_prompt, de","pseudocode_summary":null,"implementation_summary":"api/app/routers/agent_tasks_routes.py (create_task(), list_tasks(), get_task(), update_task()); api/app/services/agent_service_crud.py (create_task(), get_task(), update_task()); api/app/services/agent_service_list.py (list_tasks()); api/app/models/agent.py (AgentTaskCreate, AgentTaskUpdate, TaskStatus, TaskType)","created_by_contributor_id":null,"updated_by_contributor_id":null,"created_at":"2026-04-09T03:10:08.812056Z","updated_at":"2026-04-09T03:10:08.812056Z","content_path":"specs/agent-orchestration-api.md","content_hash":"c74281a2afbcc58e","workspace_id":"coherence-network"}