diff --git a/.claude/checkpoints/task-1754338361.json b/.claude/checkpoints/task-1754338361.json new file mode 100644 index 0000000000..e64c4e6123 --- /dev/null +++ b/.claude/checkpoints/task-1754338361.json @@ -0,0 +1 @@ +{"checkpoint": "task-20250804-201240", "task": "{{user_prompt}} ", "timestamp": "2025-08-04T20:12:41Z", "commit": "231fbaec4023f489505f657fccc8f071535ea183", "github_release": "true"} diff --git a/src/cli/simple-commands/automation-executor.js b/src/cli/simple-commands/automation-executor.js index f36ceb7653..686e79df63 100644 --- a/src/cli/simple-commands/automation-executor.js +++ b/src/cli/simple-commands/automation-executor.js @@ -790,7 +790,9 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integ }); const timeoutPromise = new Promise((_, reject) => { - setTimeout(() => reject(new Error('Task timeout')), timeout); + // Use a much longer timeout for ML tasks since Claude is actively working + const actualTimeout = isMLTask ? Math.max(timeout, 600000) : timeout; // 10 min minimum for ML + setTimeout(() => reject(new Error('Task timeout')), actualTimeout); }); try { @@ -861,7 +863,9 @@ Execute your role in the MLE-STAR workflow with full coordination and hook integ }); const timeoutPromise = new Promise((_, reject) => { - setTimeout(() => reject(new Error('Task timeout')), timeout); + // Use a much longer timeout for ML tasks since Claude is actively working + const actualTimeout = isMLTask ? Math.max(timeout, 600000) : timeout; // 10 min minimum for ML + setTimeout(() => reject(new Error('Task timeout')), actualTimeout); }); try {