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/src/cli/simple-commands/hive-mind.js

rUv6f6795a38eb5
diff --git a/.claude/checkpoints/task-1754357283.json b/.claude/checkpoints/task-1754357283.json
new file mode 100644
index 0000000000..6a5f6cae13
--- /dev/null
+++ b/.claude/checkpoints/task-1754357283.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250805-012802", "task": "{{user_prompt}} ", "timestamp": "2025-08-05T01:28:03Z", "commit": "e34ad88b1e08ca751dcb9f8f5098da04f9d9b6d1", "github_release": "true"}
diff --git a/src/cli/simple-commands/hive-mind.js b/src/cli/simple-commands/hive-mind.js
index f94b8d5718..6c48d87aca 100644
--- a/src/cli/simple-commands/hive-mind.js
+++ b/src/cli/simple-commands/hive-mind.js
@@ -2770,6 +2770,11 @@ async function launchClaudeWithContext(prompt, flags, sessionId) {
}
if (claudeAvailable && !flags.dryRun) {
+ // Debug logging to track spawn calls
+ console.log(chalk.blue('\nπŸ” Debug: About to spawn Claude Code process...'));
+ console.log(chalk.gray(` Session ID: ${sessionId}`));
+ console.log(chalk.gray(` Process ID: ${process.pid}`));
+
// Remove --print to allow interactive session (same as initial spawn)
const claudeArgs = [prompt];
@@ -2784,11 +2789,15 @@ async function launchClaudeWithContext(prompt, flags, sessionId) {
);
}
+ console.log(chalk.blue('πŸ” Debug: Spawning with args:'), claudeArgs.slice(0, 1).map(a => a.substring(0, 50) + '...'));
+
// Use 'inherit' for interactive session (same as initial spawn)
const claudeProcess = childSpawn('claude', claudeArgs, {
stdio: 'inherit',
shell: false,
});
+
+ console.log(chalk.blue('πŸ” Debug: Claude process spawned with PID:'), claudeProcess.pid);
// Track child process PID in session (same as initial spawn)
const sessionManager = new HiveMindSessionManager();