Skip to content

refactor(agent): derive anti-loop warning marker from shared prefix#125

Merged
hung12ct merged 1 commit into
mainfrom
fix/anti-loop-warning-poisons-reseed
Jun 6, 2026
Merged

refactor(agent): derive anti-loop warning marker from shared prefix#125
hung12ct merged 1 commit into
mainfrom
fix/anti-loop-warning-poisons-reseed

Conversation

@hung12ct
Copy link
Copy Markdown
Owner

@hung12ct hung12ct commented Jun 6, 2026

The strip marker and the two Detect warning format strings now share loopWarnPrefix, so rewording the warning can't silently break the cross-turn strip. Add a guard test driven by real Detect output.

The strip marker and the two Detect warning format strings now share
loopWarnPrefix, so rewording the warning can't silently break the
cross-turn strip. Add a guard test driven by real Detect output.
@hung12ct hung12ct merged commit f51a171 into main Jun 6, 2026
1 check passed
@hung12ct hung12ct deleted the fix/anti-loop-warning-poisons-reseed branch June 6, 2026 01:20
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