Watch
0
0
Fork
You've already forked hyperhive
0

swarm: an agent's open todos, mirrored to the queue and served by the controller

This commit is contained in:
iris 2026-11-16 00:28:54 +01:00 • committed by mara
commit b239500f88

View file

@ -38,6 +38,7 @@ mod subagent_role_watch;
mod swarm_agent_commands;
mod swarm_agent_icon;
mod swarm_agent_state;
mod swarm_agent_todos;
mod swarm_agents_md;
mod swarm_inference;
mod swarm_input;
@ -455,6 +456,8 @@ fn spawn_todo_socket(
// swarm keeps for this agent.
// Open-todo count for the OTEL gauge.
tokio::spawn(todos_gauge::run(store.clone()));
// The open todos, mirrored to the swarm for the swarm UI.
swarm_agent_todos::spawn(store.clone());
tokio::spawn(schedule_timer::run(store.clone(), todo_wake.clone()));
// And so do the todos the swarm notification router queues for
// this agent.