Files
ruflo/v3/@claude-flow
rUvandr 5d10f147e7 fix(mcp): swarm_status taskCount follows the task store (#5154) (#5179)
* 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>
2026-11-28 16:59:08 -05:00
..
2026-11-20 22:21:35 -05:00
2026-11-19 02:12:49 -05:00
2026-11-19 02:12:49 -05:00
…