Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 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

🔖 Checkpoint: Edit /workspaces/claude-code-flow/benchmark/src/swarm_benchmark/swe_bench/official_integration.py

rUv3c37daefa2f1
diff --git a/benchmark/.claude/checkpoints/task-1754578681.json b/benchmark/.claude/checkpoints/task-1754578681.json
new file mode 100644
index 0000000000..1b6b1e4b3b
--- /dev/null
+++ b/benchmark/.claude/checkpoints/task-1754578681.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250807-145800", "task": "it also in neeeds to include the claude-flow args and variables injected as part of the prompt along", "timestamp": "2025-08-07T14:58:01Z", "commit": "0d541761a4d3e2b04c5af0c4ccc086e8d118acb1", "github_release": "true"}
diff --git a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py b/benchmark/src/swarm_benchmark/swe_bench/official_integration.py
index 407f32ae0f..2d3524221b 100644
--- a/benchmark/src/swarm_benchmark/swe_bench/official_integration.py
+++ b/benchmark/src/swarm_benchmark/swe_bench/official_integration.py
@@ -112,11 +112,19 @@ Generate a git diff patch that fixes this issue. The patch should:
Return ONLY the git diff patch in proper format."""
# Execute with Claude Flow using optimal configuration
- # Create a simpler, safer prompt
+ # Create a comprehensive prompt with claude-flow context
simple_prompt = (
- f"Fix GitHub issue {instance_id} in {repo}. "
- f"Problem: {problem[:200]}... "
- f"Generate a git diff patch that resolves this issue."
+ f"You are running in claude-flow hive-mind mode with {self.config.max_agents} workers. "
+ f"Your task is to fix GitHub issue {instance_id} in repository {repo}. "
+ f"Base commit: {base_commit}. "
+ f"Problem description: {problem[:300]}... "
+ f"REQUIREMENTS: "
+ f"1. Analyze the bug and identify the root cause "
+ f"2. Create a fix that resolves the issue "
+ f"3. Output ONLY a valid git diff patch to stdout "
+ f"4. The patch must apply cleanly to the base commit "
+ f"5. Include the patch between ```diff and ``` markers "
+ f"Generate the git diff patch now."
)
# Remove problematic characters