7070)
7171from .control_plane .work_items .autonomous_candidates import (
7272 MAX_AUTONOMOUS_TODO_CANDIDATES as _MAX_AUTONOMOUS_TODO_CANDIDATES ,
73- autonomous_backlog_candidates as _autonomous_backlog_candidates_read_model ,
74- autonomous_monitor_candidates as _autonomous_monitor_candidates_read_model ,
7573)
7674from .control_plane .agents .agent_lane_recommendation import (
7775 compact_agent_lane_recommendation as _compact_agent_lane_recommendation_read_model ,
103101from .control_plane .work_items .attention_queue import (
104102 AttentionQueueContext ,
105103 build_attention_queue as _build_attention_queue_read_model ,
106- build_attention_queue_projection as _build_attention_queue_projection_read_model ,
107104 merge_global_registry_findings as _merge_global_registry_findings_read_model ,
108105)
109106from .control_plane .work_items .attention_routing import (
319316)
320317from .control_plane .todos .contract import (
321318 TODO_STATUS_OPEN ,
322- TODO_TASK_CLASS_ADVANCEMENT ,
323- TODO_TASK_CLASS_MONITOR ,
324319 TODO_TASK_CLASS_USER_GATE ,
325320 normalize_todo_status ,
326321 normalize_todo_task_class as normalize_todo_task_class ,
@@ -2212,31 +2207,24 @@ def autonomous_backlog_candidates(
22122207 * ,
22132208 limit : int = MAX_AUTONOMOUS_BACKLOG_CANDIDATES ,
22142209) -> dict [str , Any ] | None :
2215- return _autonomous_backlog_candidates_read_model (
2216- items ,
2217- open_todo_items = open_todo_items ,
2218- todo_item_is_actionable_open = todo_item_is_actionable_open ,
2219- normalize_todo_text = normalize_todo_text ,
2220- advancement_task_class = TODO_TASK_CLASS_ADVANCEMENT ,
2221- limit = limit ,
2210+ from .control_plane .status .attention_projection import (
2211+ autonomous_backlog_candidates as _autonomous_backlog_candidates ,
22222212 )
22232213
2214+ return _autonomous_backlog_candidates (items , limit = limit )
2215+
22242216
22252217def autonomous_monitor_candidates (
22262218 items : list [dict [str , Any ]],
22272219 * ,
22282220 limit : int = MAX_AUTONOMOUS_BACKLOG_CANDIDATES ,
22292221) -> dict [str , Any ] | None :
2230- return _autonomous_monitor_candidates_read_model (
2231- items ,
2232- open_todo_items = open_todo_items ,
2233- todo_item_is_actionable_open = todo_item_is_actionable_open ,
2234- normalize_todo_text = normalize_todo_text ,
2235- monitor_task_class = TODO_TASK_CLASS_MONITOR ,
2236- monitor_signal_waiting_on = MONITOR_SIGNAL_WAITING_ON ,
2237- limit = limit ,
2222+ from .control_plane .status .attention_projection import (
2223+ autonomous_monitor_candidates as _autonomous_monitor_candidates ,
22382224 )
22392225
2226+ return _autonomous_monitor_candidates (items , limit = limit )
2227+
22402228
22412229def build_attention_queue_projection (
22422230 * ,
@@ -2245,12 +2233,15 @@ def build_attention_queue_projection(
22452233 autonomous_backlog_candidates : dict [str , Any ] | None ,
22462234 autonomous_monitor_candidates : dict [str , Any ] | None ,
22472235) -> dict [str , Any ]:
2248- return _build_attention_queue_projection_read_model (
2236+ from .control_plane .status .attention_projection import (
2237+ build_attention_queue_projection as _build_attention_queue_projection ,
2238+ )
2239+
2240+ return _build_attention_queue_projection (
22492241 items = items ,
22502242 goal_id_filter = goal_id_filter ,
22512243 autonomous_backlog_candidates = autonomous_backlog_candidates ,
22522244 autonomous_monitor_candidates = autonomous_monitor_candidates ,
2253- monitor_signal_waiting_on = MONITOR_SIGNAL_WAITING_ON ,
22542245 )
22552246
22562247
0 commit comments