Skip to content

fix(agent): strip anti-loop warning before cross-turn re-seed hash#123

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

fix(agent): strip anti-loop warning before cross-turn re-seed hash#123
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 injected [SYSTEM WARNING] embeds a consecutive-call count, so persisted tool results hashed differently when loopDetectorFromHistory re-seeded across turns, making the kill threshold unreachable. Strip the suffix on re-seed to restore byte-identity with the live AddCall path.

The injected [SYSTEM WARNING] embeds a consecutive-call count, so persisted
tool results hashed differently when loopDetectorFromHistory re-seeded across
turns, making the kill threshold unreachable. Strip the suffix on re-seed to
restore byte-identity with the live AddCall path.
@hung12ct hung12ct merged commit ab87ae9 into main Jun 6, 2026
1 check passed
@hung12ct hung12ct deleted the fix/anti-loop-warning-poisons-reseed branch June 6, 2026 01: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