Skip to content

Loop detector: cycles up to length 5, stop one rep after the nudge - #60

Merged
ayman3000 merged 1 commit into
mainfrom
fix/longer-cycles
Aug 25, 2026
Merged

Loop detector: cycles up to length 5, stop one rep after the nudge#60
ayman3000 merged 1 commit into
mainfrom
fix/longer-cycles

Conversation

@ayman3000

Copy link
Copy Markdown
Owner

A live run evaded the length-3 guard within hours using a 4-tool cycle
(terminate → launch → wait → screenshot) that also starves the
per-signature window. Cycle guard now covers lengths 2-5 and stops at
nudgeThreshold+1 verbatim repetitions — 5 reps of a 4-cycle would have
meant 20 wasted calls.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

A live run evaded the length-3 guard within hours using a 4-tool cycle
(terminate → launch → wait → screenshot) that also starves the
per-signature window. Cycle guard now covers lengths 2-5 and stops at
nudgeThreshold+1 verbatim repetitions — 5 reps of a 4-cycle would have
meant 20 wasted calls.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ayman3000
ayman3000 merged commit f103acd into main Aug 25, 2026
@ayman3000
ayman3000 deleted the fix/longer-cycles branch August 25, 2026 12:33
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