Skip to content

Drop the default 30-turn leaf cap and delete prose-only fan-out/lane rules - #607

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-6996-drop-the-default-30-turn-leaf-cap-and-delete-the-prose-only
Aug 24, 2026
Merged

Drop the default 30-turn leaf cap and delete prose-only fan-out/lane rules#607
TheGreatAxios merged 1 commit into
mainfrom
cl-6996-drop-the-default-30-turn-leaf-cap-and-delete-the-prose-only

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Removed DEFAULT_SUBAGENT_MAX_TURNS = 30; an unset leaf maxTurns (task/profile/settings) now resolves to Infinity (unbounded). Explicit maxTurns still applies exactly as before (floor ≥1, no upper cap — matches CL-6926's earlier removal of the 100-turn hard cap).
  • Deleted two unenforced prompt rules from the skywalker director: the "at most 4 workers at once" fan-out cap and the same-agent lane-disjointness rule. Neither had backing enforcement (concurrent-lane-overlap in task-tool.ts still logs only, never blocks — untouched).
  • CL-6996

Test plan

  • bun run check green (5460 tests)
  • New/updated tests: an explicit turn budget hard-stops at the limit; unbounded (Infinity) never does, is unbounded when unset (settings), does not inherit a bogus parent-session maxTurns dep on the task tool updated to expect Infinity

@linear-code

linear-code Bot commented Aug 24, 2026

Copy link
Copy Markdown

CL-6996

@TheGreatAxios
TheGreatAxios enabled auto-merge (squash) August 24, 2026 06:46
…rules

An unset leaf maxTurns now runs unbounded (explicit budgets still honored),
matching peer agent loops that terminate on the model's own finish signal.
Also removes two orchestrator prompt rules the system never enforced: a
4-worker fan-out cap and a same-agent lane-disjointness rule.
@TheGreatAxios
TheGreatAxios force-pushed the cl-6996-drop-the-default-30-turn-leaf-cap-and-delete-the-prose-only branch from dfb58be to e3487fd Compare August 24, 2026 06:48
@TheGreatAxios
TheGreatAxios merged commit 40d9b4d into main Aug 24, 2026
5 checks passed
TheGreatAxios added a commit that referenced this pull request Aug 27, 2026
…rules (#607)

An unset leaf maxTurns now runs unbounded (explicit budgets still honored),
matching peer agent loops that terminate on the model's own finish signal.
Also removes two orchestrator prompt rules the system never enforced: a
4-worker fan-out cap and a same-agent lane-disjointness rule.
TheGreatAxios added a commit that referenced this pull request Aug 27, 2026
…rules (#607)

An unset leaf maxTurns now runs unbounded (explicit budgets still honored),
matching peer agent loops that terminate on the model's own finish signal.
Also removes two orchestrator prompt rules the system never enforced: a
4-worker fan-out cap and a same-agent lane-disjointness rule.
@TheGreatAxios
TheGreatAxios deleted the cl-6996-drop-the-default-30-turn-leaf-cap-and-delete-the-prose-only branch August 28, 2026 00:09
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