Skip to content

Remove the sub-agent maxTurns hard cap of 100 - #545

Merged
TheGreatAxios merged 3 commits into
mainfrom
cl-6926-remove-the-sub-agent-maxturns-hard-cap-of-100
Aug 23, 2026
Merged

Remove the sub-agent maxTurns hard cap of 100#545
TheGreatAxios merged 3 commits into
mainfrom
cl-6926-remove-the-sub-agent-maxturns-hard-cap-of-100

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Sub-agent maxTurns / settings.subagentMaxTurns / profile maxTurns accept any integer ≥1 with no hard upper cap of 100.
  • Soft default remains 30 when unset; floor sanitization (≥1) stays. Skywalker package nudge.maxTurns remains 100 (leaf package default budget, not a global hard cap).

Verification

  • bun run typecheck passes
  • Focused settings + task-tool maxTurns tests pass (src/settings.test.ts, src/subagent/index.test.ts createTaskTool maxTurns cases, skywalker nudge maxTurns still 100)
  • Pre-commit typecheck + build succeeded

Fixes CL-6926

Long jobs need budgets above 100; the soft default of 30 and the
integer floor of 1 stay. Omit=unbounded is deferred.
@linear-code

linear-code Bot commented Aug 23, 2026

Copy link
Copy Markdown
0.2.104 is already tagged. Folding this into that section would
claim a released cut contains work that is not in it.
@TheGreatAxios
TheGreatAxios merged commit 0a07298 into main Aug 23, 2026
5 checks passed
TheGreatAxios added a commit that referenced this pull request Aug 27, 2026
…maxturns-hard-cap-of-100

Remove the sub-agent maxTurns hard cap of 100
TheGreatAxios added a commit that referenced this pull request Aug 27, 2026
…maxturns-hard-cap-of-100

Remove the sub-agent maxTurns hard cap of 100
@TheGreatAxios
TheGreatAxios deleted the cl-6926-remove-the-sub-agent-maxturns-hard-cap-of-100 branch August 27, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant