Skip to content

fix(engine): raise DEFAULT_MAX_TURNS 20 → 1000 (v0.9.4) - #14

Merged
rz1989s merged 1 commit into
mainfrom
fix/subagent-default-maxturns-1000
Jul 27, 2026
Merged

rz1989s merged 1 commit into
mainfrom
fix/subagent-default-maxturns-1000

Conversation

@rz1989s

@rz1989s rz1989s commented Jul 27, 2026

Copy link
Copy Markdown
Member

Effectively uncapped for normal work; bounds runaway loops. Matches the CC Task-tool experience (no tight per-task turn cap). The maxTurns param (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.

…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
rz1989s force-pushed the fix/subagent-default-maxturns-1000 branch from aacc200 to d6098cb Compare July 27, 2026 06:50
@rz1989s
rz1989s merged commit 6229841 into main Jul 27, 2026
@rz1989s
rz1989s deleted the fix/subagent-default-maxturns-1000 branch July 27, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant