(
run_id: &str,
session_id: &str,
agent_id: &str,
depth: u32,
tasks: &[crate::planning::Task],
)
| 144 | } |
| 145 | |
| 146 | fn task_list_event( |
| 147 | run_id: &str, |
| 148 | session_id: &str, |
| 149 | agent_id: &str, |
| 150 | depth: u32, |
| 151 | tasks: &[crate::planning::Task], |
| 152 | ) -> a3s_ahp::AhpEvent { |
| 153 | let payload = a3s_ahp::TaskListEvent { |
| 154 | run_id: run_id.to_string(), |
| 155 | session_id: session_id.to_string(), |
| 156 | tasks: tasks_to_ahp_items(tasks), |
| 157 | updated_at: now(), |
| 158 | metadata: None, |
| 159 | }; |
| 160 | ahp_event( |
| 161 | a3s_ahp::EventType::TaskList, |
| 162 | session_id, |
| 163 | agent_id, |
| 164 | depth, |
| 165 | serde_json::to_value(payload).expect("task list payload serializes"), |
| 166 | ) |
| 167 | } |
| 168 | |
| 169 | fn verification_event( |
| 170 | run_id: &str, |
nothing calls this directly
no test coverage detected