hive-c0re: push ConfigReady as a todo, not a broker message

This commit is contained in:
damocles 2026-08-02 23:47:23 +02:00 committed by mara
commit e52ceef2b6

View file

@ -739,12 +739,18 @@ async fn finish_approval(
match approval.kind {
ApprovalKind::InitConfig => {
if ok {
coord.notify_submitter(
approval.id,
&HelperEvent::ConfigReady {
agent: approval.agent.to_string(),
},
);
coord
.push_todo_submitter(
approval.id,
"core",
Some(format!("config_ready:{}", approval.agent)),
format!(
"agent '{}' config repo ready — edit + apply",
approval.agent
),
None,
)
.await;
}
}
ApprovalKind::Spawn => {