fix(engine): raise DEFAULT_MAX_TURNS 20 → 1000 (v0.9.4) - #14
Merged
Merged
Conversation
…for normal work) The 20-turn default clipped legit complex tasks (read a large file + plan + implement + test + commit routinely needs 30-60 turns) — dogfooding SPEC-6-1, Tasks 5/6/10 all hit it. 1000 is effectively uncapped for normal work (very complex multi-file tasks rarely exceed ~100 turns) while bounding runaway loops. Matches the Claude Code Task-tool experience (no tight per-task turn cap). The maxTurns param (v0.9.3) stays for callers who want a tight cap (e.g. 5 for a trivial lookup).
rz1989s
force-pushed
the
fix/subagent-default-maxturns-1000
branch
from
July 27, 2026 06:50
aacc200 to
d6098cb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Effectively uncapped for normal work; bounds runaway loops. Matches the CC Task-tool experience (no tight per-task turn cap). The
maxTurnsparam (v0.9.3) stays for tight caps.Why
Dogfooding SPEC-6-1 — the 20-turn default clipped legit complex tasks (Tasks 5/6/10 all hit it). RECTOR: 'when i use claude code for subagents i never hit turn limit.'
Verification
313/313 tests pass, typecheck clean.