You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Ralph starts a complex story that requires significant codebase exploration, the default 15-minute timeout (CLAUDE_TIMEOUT_MINUTES=15) kills the Claude Code process mid-execution (exit code 124).
This is especially problematic for:
First loop on a new story (Claude needs to read many files to understand context)
Stories with broad scope (e.g., "Timezone Detection & Display")
Ultimate review mode where the review itself consumes part of the time budget
Reproduction
Start Ralph on a story that touches multiple files/modules
After 15 minutes, the timeout command kills Claude (exit 124)
Ralph logs show "stopped (exit 124)" with no progress
Suggestion
Increase default to 25-30 minutes
Modern Claude Code sessions with Opus regularly take 15-25 minutes on complex tasks. A 15-minute default causes premature termination on any non-trivial story.
Suggested default: CLAUDE_TIMEOUT_MINUTES=25
Consider adaptive timeouts
First loop on a new story: Allow extra time (1.5x-2x) since context loading is heavier
Subsequent loops with session continuity: Context is already loaded, so the default timeout is more appropriate
Review loops: These are typically shorter — could use a separate REVIEW_TIMEOUT_MINUTES setting
Better feedback on timeout
When exit code 124 occurs, Ralph should:
Log clearly that a timeout happened (not just "stopped (exit 124)")
Not count a timeout as "no progress" for the circuit breaker — it's a config issue, not stagnation
Suggest increasing CLAUDE_TIMEOUT_MINUTES in the error message
Problem
When Ralph starts a complex story that requires significant codebase exploration, the default 15-minute timeout (
CLAUDE_TIMEOUT_MINUTES=15) kills the Claude Code process mid-execution (exit code 124).This is especially problematic for:
Reproduction
timeoutcommand kills Claude (exit 124)Suggestion
Increase default to 25-30 minutes
Modern Claude Code sessions with Opus regularly take 15-25 minutes on complex tasks. A 15-minute default causes premature termination on any non-trivial story.
Suggested default:
CLAUDE_TIMEOUT_MINUTES=25Consider adaptive timeouts
REVIEW_TIMEOUT_MINUTESsettingBetter feedback on timeout
When exit code 124 occurs, Ralph should:
CLAUDE_TIMEOUT_MINUTESin the error messageEnvironment