mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js
This commit is contained in:
1 parent
2f2c90c0f0
commit
6f7561609f
3 files changed
+25
-5
No files matched your search
@@ -2339,12 +2339,30 @@ For the objective: "${objective}"
|
||||
5. Aggregate and synthesize all worker outputs
|
||||
6. Deliver comprehensive solution with consensus
|
||||
|
||||
⚡ PARALLEL EXECUTION REMINDER:
|
||||
The Hive Mind operates with massive parallelism. Always batch operations:
|
||||
- Spawn ALL workers in one message
|
||||
- Create ALL initial tasks together
|
||||
⚡ CRITICAL: CONCURRENT EXECUTION WITH CLAUDE CODE'S TASK TOOL:
|
||||
|
||||
The Hive Mind MUST use Claude Code's Task tool for actual agent execution:
|
||||
|
||||
✅ CORRECT Pattern:
|
||||
[Single Message - All Agents Spawned Concurrently]:
|
||||
Task("Researcher", "Research patterns and best practices...", "researcher")
|
||||
Task("Coder", "Implement core features...", "coder")
|
||||
Task("Tester", "Create comprehensive tests...", "tester")
|
||||
Task("Analyst", "Analyze performance metrics...", "analyst")
|
||||
TodoWrite { todos: [8-10 todos ALL in ONE call] }
|
||||
|
||||
❌ WRONG Pattern:
|
||||
Message 1: Task("agent1", ...)
|
||||
Message 2: Task("agent2", ...)
|
||||
Message 3: TodoWrite { single todo }
|
||||
// This breaks parallel coordination!
|
||||
|
||||
Remember:
|
||||
- Use Claude Code's Task tool to spawn ALL agents in ONE message
|
||||
- MCP tools are ONLY for coordination setup, not agent execution
|
||||
- Batch ALL TodoWrite operations (5-10+ todos minimum)
|
||||
- Execute ALL file operations concurrently
|
||||
- Store multiple memories simultaneously
|
||||
- Check all statuses in parallel
|
||||
|
||||
🚀 BEGIN HIVE MIND EXECUTION:
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250821-183215", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js", "timestamp": "2025-08-21T18:32:15Z", "type": "pre-edit", "original_branch": "alpha91"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250821-183217", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind.js", "timestamp": "2025-08-21T18:32:17Z", "type": "post-edit", "branch": "alpha91", "diff_summary": " .claude-flow/metrics/system-metrics.json | 84 ++++++++++++++++++++++ claude-flow-wiki | 0 src/cli/simple-commands/hive-mind.js | 23 +++++- .../.claude/checkpoints/task-1755800931.json | 1 + 4 files changed, 105 insertions(+), 3 deletions(-) "}
|
||||
Reference in new issue
Block a user