mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
* fix(mcp): swarm_status taskCount follows the task store (#5154) swarm_status read swarm.tasks, an array nothing ever writes, so taskCount was 0 for a swarm's whole life while task_summary counted its tasks. task_create now stamps the task with a swarmId (the one passed, else the most recently created swarm, the same default agent_spawn uses), and task_retry carries it over. swarm_status counts from the task store that task_summary reads: tasks stamped with the swarm's id, plus unstamped tasks assigned to one of its member agents, the membership agentCount is computed from. It also returns a tasksByStatus breakdown. Co-Authored-By: RuFlo <ruv@ruv.net> * fix(mcp): task_create refuses an unknown explicit swarmId (#5154) Matches swarm_status, which errors on an unknown id, instead of silently creating an unstamped task the assignee fallback could count elsewhere. Co-Authored-By: RuFlo <ruv@ruv.net> --------- Co-authored-by: r <r@x>