mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
Proposed. Root cause: `ruflo swarm start` (commands/swarm.ts:588-672) never executes the objective — it prints a plan, calls MCP swarm_init, writes state.json, prints "execution happens via claude -p / hive-mind spawn --claude" and returns. Nothing invokes those, so the console's Swarms deploy sets up coordination then finishes with no work, no artifacts, nothing to find/use/deploy (agents are registry rows with no process). Decision: swarm start becomes a streaming, steerable, long-horizon agentic orchestrator that WIRES existing ruflo primitives (the nested-* / research-agent recursive-fan-out pattern, claude -p, MCP tools, AgentDB memory, self-learning hooks, hive-mind raft consensus, agentbbs federation, horizon-tracker) instead of deferring. Streams NDJSON per-agent (works over the console SSE /run today); a file-inbox session channel carries real-time guidance; a structured final overview names artifacts + where to find/run/deploy them. Hard dependencies stated: agents can't run without the ADR-069 per-tenant LLM key (prerequisite for the console path); real-time steering needs a bidirectional channel (file-inbox now, WebSocket later). Increments I1-I4 + an acceptance test.