From eb8804c48ae45adf587c043f46eff01b31d31177 Mon Sep 17 00:00:00 2001 From: rUv Date: Sun, 3 Aug 2025 12:28:20 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/simple-commands/swarm.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1754224065.json | 1 + .claude/checkpoints/1754224067.json | 1 + src/cli/simple-commands/swarm.js | 10 +--------- 3 files changed, 3 insertions(+), 9 deletions(-) create mode 100644 .claude/checkpoints/1754224065.json create mode 100644 .claude/checkpoints/1754224067.json diff --git a/.claude/checkpoints/1754224065.json b/.claude/checkpoints/1754224065.json new file mode 100644 index 0000000000..e822f4234d --- /dev/null +++ b/.claude/checkpoints/1754224065.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250803-122745", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/swarm.js", "timestamp": "2025-08-03T12:27:45Z", "type": "pre-edit", "original_branch": "alpha-84b"} diff --git a/.claude/checkpoints/1754224067.json b/.claude/checkpoints/1754224067.json new file mode 100644 index 0000000000..2f84927320 --- /dev/null +++ b/.claude/checkpoints/1754224067.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250803-122747", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/swarm.js", "timestamp": "2025-08-03T12:27:47Z", "type": "post-edit", "branch": "alpha-84b", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 ++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/task-1754224042.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/swarm.js | 6 +----- 6 files changed, 18 insertions(+), 9 deletions(-) "} diff --git a/src/cli/simple-commands/swarm.js b/src/cli/simple-commands/swarm.js index 0c0b7e4782..268dbaa513 100644 --- a/src/cli/simple-commands/swarm.js +++ b/src/cli/simple-commands/swarm.js @@ -876,15 +876,7 @@ The swarm should be self-documenting - use memory_store to save all important in } console.log(); - // Get strategy-specific guidance using already declared variables - const strategyGuidance = getStrategyGuidance(strategy, objective); - const modeGuidance = getModeGuidance(mode); - const agentRecommendations = getAgentRecommendations(strategy, maxAgents, objective); - - const enableSparc = - flags.sparc !== false && (strategy === 'development' || strategy === 'auto'); - - const swarmPrompt = `You are orchestrating a Claude Flow Swarm with advanced MCP tool coordination. + // swarmPrompt is already built above, just continue with the original code 🎯 OBJECTIVE: ${objective}