{"repo":"NousResearch/hermes-agent","public_id":"100716","display_label":"Repetition detection bugs and streaming guard fixes","summary":"These items address flaws in repetition-loop detection logic—including missed cases, wrong trigger paths, and completed responses flooding chats—and add or improve a streaming repetition guard. The work spans both detection correctness and coverage across completion paths.","subsystem":"agent","counts":{"members":4,"open_issues":0,"open_issues_distinct":0,"open_prs":1,"closed_issues":1,"merged_prs":1,"attempt_prs":2},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":121600,"merged_at":"2026-09-24T17:02:07+00:00"},"resolution":{"state":"resolved","by":"pr-121600"},"freshness":{"state":"verified","last_verified_at":"2026-09-24T17:02:07+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[{"issue_number":100716,"pr_number":121600,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-24T17:02:07+00:00"},{"issue_number":103599,"pr_number":121600,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-24T17:02:07+00:00"}],"members":[{"kind":"issue","number":100716,"title":"[Bug]: is_repetition_dominated misses almost every real repetition loop, and only runs on the finish_reason=length path","url":null,"state":"closed"},{"kind":"pr","number":89294,"title":"feat: streaming repetition guard — detect degenerate output on the fly","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"9e2444e763","number":0},{"kind":"pr","value":"#121600","number":121600},{"kind":"pr","value":"#100716","number":100716}],"category":"superseded_by_pr","implication":"superseded"},"merged":false},{"kind":"pr","number":100729,"title":"fix(agent): stop completed responses from flooding chats with repeated text","url":null,"state":"open","close_reason":{"category":"wontfix_bydesign","implication":"wontfix"},"merged":false},{"kind":"pr","number":121600,"title":"fix(agent): repetition guard catches real loops on every completion path; reject degenerate dropped-stream tool args","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/chat_completion_helpers.py","agent/repetition_guard.py","agent/turn_final_response.py","agent/turn_truncation.py","tests/agent/test_continuation_repetition_guard.py","tests/agent/test_repeated_dropped_tool_args.py","tests/agent/test_repetition_guard.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}