diff --git a/hive-c0re/src/actions.rs b/hive-c0re/src/actions.rs index e1ebd17c..602b3990 100644 --- a/hive-c0re/src/actions.rs +++ b/hive-c0re/src/actions.rs @@ -963,9 +963,15 @@ pub async fn destroy(coord: &Arc, name: &str, purge: bool) -> Resul tracing::warn!(%name, error = ?e, "agent_power: remove on destroy failed"); } drop(guard); - coord.notify_manager(&HelperEvent::Destroyed { - agent: name.to_owned(), - }); + coord + .push_todo( + hive_sh4re::MANAGER_AGENT, + "core", + Some(format!("destroyed:{name}")), + format!("agent '{name}' destroyed"), + None, + ) + .await; // Container row disappeared — rescan so the dashboard fires // `ContainerRemoved` for the gone row, then emit the // tombstones snapshot (gained one on destroy, lost one on