Skip to content

Raise leaf no-progress repeat limit from 2 to 5 - #525

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-6776-leaf-no-progress-repeat-limit-of-2-kills-legitimate-polling
Aug 22, 2026
Merged

Raise leaf no-progress repeat limit from 2 to 5#525
TheGreatAxios merged 2 commits into
mainfrom
cl-6776-leaf-no-progress-repeat-limit-of-2-kills-legitimate-polling

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Leaf workers were hard-stopped on the second consecutive identical tool-call fingerprint, false-positiving on legitimate polling (rerunning a flaky test, checking a build). Raised DEFAULT_SUBAGENT_REPEAT_LIMIT to 5 to match the forensically-justified director-level thrash threshold (IDENTICAL_REPEAT_MIN in stop-policy.ts), which cites the same CL-5611 finding that a prior 4-repeat pause false-positived on this exact pattern.

Fixes CL-6776
https://linear.app/abklabs/issue/CL-6776

Two identical tool-call fingerprints hard-stopped a leaf worker on
legitimate polling (rerunning a flaky test, checking a build). The
director-level thrash threshold already sits at 5 for the same
forensic reason (CL-5611: a prior 4-repeat pause false-positived on
this exact pattern), so mirror it here instead of stopping at 2.

Fixes CL-6776
https://linear.app/abklabs/issue/CL-6776
@linear-code

linear-code Bot commented Aug 22, 2026

Copy link
Copy Markdown

CL-6776

@TheGreatAxios
TheGreatAxios merged commit cd67d08 into main Aug 22, 2026
3 of 4 checks passed
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