π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
π Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/swarm.js
rUva90537c38b60
diff --git a/.claude/checkpoints/1754224099.json b/.claude/checkpoints/1754224099.jsonnew file mode 100644index 0000000000..44a85df288--- /dev/null+++ b/.claude/checkpoints/1754224099.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250803-122819", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/swarm.js", "timestamp": "2025-08-03T12:28:19Z", "type": "pre-edit", "original_branch": "alpha-84b"}diff --git a/.claude/checkpoints/1754224100.json b/.claude/checkpoints/1754224100.jsonnew file mode 100644index 0000000000..bb074bb06f--- /dev/null+++ b/.claude/checkpoints/1754224100.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250803-122820", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/swarm.js", "timestamp": "2025-08-03T12:28:20Z", "type": "post-edit", "branch": "alpha-84b", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1754224065.json | 1 + .claude/checkpoints/1754224067.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/swarm.js | 10 +--------- 7 files changed, 31 insertions(+), 13 deletions(-) "}diff --git a/src/cli/simple-commands/swarm.js b/src/cli/simple-commands/swarm.jsindex 268dbaa513..7ca4d5fec3 100644--- a/src/cli/simple-commands/swarm.js+++ b/src/cli/simple-commands/swarm.js@@ -876,58 +876,7 @@ The swarm should be self-documenting - use memory_store to save all important in}console.log();- // swarmPrompt is already built above, just continue with the original code--π― OBJECTIVE: ${objective}--π SWARM CONFIGURATION:-- Strategy: ${strategy}-- Mode: ${mode}-- Max Agents: ${maxAgents}-- Timeout: ${flags.timeout || 60} minutes-- Parallel Execution: MANDATORY (Always use BatchTool)-- Review Mode: ${flags.review || false}-- Testing Mode: ${flags.testing || false}-- Analysis Mode: ${isAnalysisMode ? 'ENABLED (Read-Only)' : 'DISABLED'}--${- isAnalysisMode- ? `π ANALYSIS MODE CONSTRAINTS:--β οΈ READ-ONLY MODE ACTIVE - NO CODE MODIFICATIONS ALLOWED--REQUIRED BEHAVIORS:-1. β READ files for analysis (Read tool)-2. β SEARCH codebases (Glob, Grep tools)-3. β ANALYZE code structure and patterns-4. β GENERATE reports and documentation-5. β CREATE analysis summaries-6. β STORE findings in memory for collaboration-7. β COMMUNICATE between agents about findings--FORBIDDEN OPERATIONS:-1. β NEVER use Write tool to modify files-2. β NEVER use Edit or MultiEdit tools-3. β NEVER use Bash to run commands that modify files-4. β NEVER create new files or directories-5. β NEVER install packages or dependencies-6. β NEVER modify configuration files-7. β NEVER execute code that changes system state--ALL AGENTS MUST OPERATE IN READ-ONLY MODE. Focus on:-- Code analysis and understanding-- Security vulnerability assessment-- Performance bottleneck identification-- Architecture documentation-- Technical debt analysis-- Dependency mapping-- Testing strategy recommendations--Generate comprehensive reports instead of making changes.--`- : ''-}π¨ CRITICAL: PARALLEL EXECUTION IS MANDATORY! π¨+ // Continue with the default swarm behavior if not using --claude flagπ CLAUDE-FLOW SWARM BATCHTOOL INSTRUCTIONS