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/automation-executor.js

rUv6fc8f9a7858b
diff --git a/.claude/checkpoints/1754338227.json b/.claude/checkpoints/1754338227.json
new file mode 100644
index 0000000000..5e29835c8d
--- /dev/null
+++ b/.claude/checkpoints/1754338227.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250804-201027", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation.js", "timestamp": "2025-08-04T20:10:27Z", "type": "pre-edit", "original_branch": "alpha-85"}
diff --git a/.claude/checkpoints/1754338229.json b/.claude/checkpoints/1754338229.json
new file mode 100644
index 0000000000..8a27eb36b8
--- /dev/null
+++ b/.claude/checkpoints/1754338229.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250804-201029", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation.js", "timestamp": "2025-08-04T20:10:29Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 48 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 ++-- .claude/checkpoints/1754338189.json | 1 + .claude/checkpoints/1754338191.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/automation.js | 8 ++++-- 7 files changed, 60 insertions(+), 6 deletions(-) "}
diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.js
index ff0c978b2e..b55c332d06 100644
--- a/src/cli/simple-commands/automation-executor.js
+++ b/src/cli/simple-commands/automation-executor.js
@@ -824,7 +824,9 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integ
const taskClaudeProcess = await this.spawnClaudeInstance(agent, taskPrompt);
// Wait for completion
- const timeout = task.timeout || this.options.timeout || 60000;
+ // Use longer timeout for ML tasks
+ const baseTimeout = this.options.timeout || 60000;
+ const timeout = task.timeout || (task.type?.includes('ml') || task.type?.includes('model') ? baseTimeout * 2 : baseTimeout);
const completionPromise = new Promise((resolve, reject) => {
taskClaudeProcess.on('exit', (code) => {