Repository navigation
[macOS] hive-mind spawn hangs: printed Swarm ID never shows up in hive-mind status, workers stay idle, tasks remain 0
#654
Replies: 2 comments
|
This isn't a configuration issue — it's the expected behavior of the current implementation. We audited the codebase and found exactly why this happens:
This is the fundamental architectural gap: the MCP tools create state records but have no execution backend. The CLI spawn creates real processes but they're not connected to the MCP tool layer. Workaround: Use Claude Code's native Full audit: Independent Audit |
|
@mgredenberg this report is against the v2 The behaviour you saw has a known cause. Hive workers are records, not processes. npx ruflo@latest hive-mind init
npx ruflo@latest hive-mind spawn --count 2
npx ruflo@latest hive-mind task -d "Design the gameplay loop"
npx ruflo@latest hive-mind work # claims the oldest pending task, runs it via claude -p, records the result
npx ruflo@latest hive-mind statusAlternatively, If the swarm-ID mismatch between Automated answer from the ruflo maintainers' discussion triage - reply here if it doesn't solve it. |
Uh oh!
There was an error while loading. Please reload this page.
Summary
I cannot get claude-flow running properly on my system.
Following the README instructions, spawning a new Hive Mind reports that the swarm is initialized and workers are starting, but then everything stalls. The Swarm ID printed by
spawnnever appears inhive-mind status. Instead,statusshows a different swarm with0tasks and all workersidle. Waiting >3,000 seconds shows no progress.There also appears to be an ID mismatch/normalization issue: the
spawnoutput uses an ID with underscores, whilestatusshows a different ID with hyphens and different numeric segments. An MCPmemory_usagestore event writes to yet another swarm namespace, suggesting the components aren’t referencing the same swarm.Steps to Reproduce
In a clean project directory, initialize:
Spawn a hive mind (per docs):
npx claude-flow@alpha hive-mind spawn "gameplay" --namespace gameplay --claudeObserve the spawn output and then check status:
Expected Behavior
spawnappears inhive-mind status.idletoin progress.Actual Behavior
spawnprints an initialized swarm and “deploying” message, then stalls indefinitely. Example:MCP events show mixed IDs/namespaces:
hive-mind statusshows another swarm entirely, with no tasks and all workersidle:After >3,000 seconds, nothing progresses.
Observations / Hypothesis
memory_usagestoring under a different swarm namespace further indicates cross-wiring between IDs.Workarounds Tried
init --force.spawnand pollingstatusfor >3,000 seconds.No effective workaround found.
Environment
npx claude-flow@alphaAll reactions