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

rUvde760be35757
diff --git a/.claude/checkpoints/1754338177.json b/.claude/checkpoints/1754338177.json
new file mode 100644
index 0000000000..631254a754
--- /dev/null
+++ b/.claude/checkpoints/1754338177.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250804-200937", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation-executor.js", "timestamp": "2025-08-04T20:09:37Z", "type": "pre-edit", "original_branch": "alpha-85"}
diff --git a/.claude/checkpoints/1754338179.json b/.claude/checkpoints/1754338179.json
new file mode 100644
index 0000000000..f36ac48711
--- /dev/null
+++ b/.claude/checkpoints/1754338179.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250804-200938", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/automation-executor.js", "timestamp": "2025-08-04T20:09:39Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 +++++ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754338130.json | 1 + .claude/checkpoints/1754338131.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/automation-executor.js | 118 +++++++++++++++++++++++-- 7 files changed, 142 insertions(+), 10 deletions(-) "}
diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.js
index 2ad38eb3b1..ff0c978b2e 100644
--- a/src/cli/simple-commands/automation-executor.js
+++ b/src/cli/simple-commands/automation-executor.js
@@ -762,7 +762,9 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integ
});
// Wait for task completion or timeout
- 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) => {