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

rUvf0519130ef55
diff --git a/.claude/checkpoints/task-1754338295.json b/.claude/checkpoints/task-1754338295.json
new file mode 100644
index 0000000000..2d8ada8234
--- /dev/null
+++ b/.claude/checkpoints/task-1754338295.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250804-201134", "task": "{{user_prompt}} ", "timestamp": "2025-08-04T20:11:35Z", "commit": "9e2ebbb234248c08f9ace3a3739063a35f6656c3", "github_release": "true"}
diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.js
index b55c332d06..e470a2ce5c 100644
--- a/src/cli/simple-commands/automation-executor.js
+++ b/src/cli/simple-commands/automation-executor.js
@@ -764,7 +764,16 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integ
// Wait for task completion or timeout
// 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 isMLTask = task.type?.toLowerCase().includes('ml') ||
+ task.type?.toLowerCase().includes('model') ||
+ task.type?.toLowerCase().includes('search') ||
+ task.type?.toLowerCase().includes('analysis') ||
+ this.options.workflowType === 'ml';
+ const timeout = task.timeout || (isMLTask ? Math.max(baseTimeout, 300000) : baseTimeout); // Min 5 minutes for ML tasks
+
+ if (this.options.logLevel === 'debug' || this.options.verbose) {
+ console.log(` ⏱️ Timeout: ${this.formatDuration(timeout)} (Base: ${this.formatDuration(baseTimeout)}, ML Task: ${isMLTask})`);
+ }
const completionPromise = new Promise((resolve, reject) => {
taskClaudeProcess.on('exit', (code) => {