{"repo":"NousResearch/hermes-agent","public_id":"105771","display_label":"Agent truncation retry loop fixes and logging","summary":"These items address bugs in the agent's truncated tool-call retry loop, specifically that the max_tokens budget boost was incorrectly capped and that the give-up path was not being recorded in agent.log.","subsystem":"agent","counts":{"members":3,"open_issues":1,"open_issues_distinct":1,"open_prs":0,"closed_issues":0,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":121543,"merged_at":"2026-09-24T16:57:19+00:00"},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-09-24T16:57:19+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":72770,"pr_number":121543,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-24T16:57:19+00:00"},{"issue_number":74990,"pr_number":121543,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-24T16:57:19+00:00"},{"issue_number":77305,"pr_number":121543,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-24T16:57:19+00:00"},{"issue_number":105771,"pr_number":121543,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-09-24T16:57:19+00:00"}],"members":[{"kind":"issue","number":105771,"title":"Truncated tool-call retry loop: max_tokens boost is capped at the requested cap (retries are no-ops), and the give-up path is invisible in agent.log","url":null,"state":"open"},{"kind":"pr","number":105789,"title":"fix(agent): log the truncated tool-call give-up path to agent.log","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"3ac22a309b","number":0},{"kind":"pr","value":"#121543","number":121543},{"kind":"pr","value":"#72770","number":72770}],"category":"superseded_by_pr","implication":"superseded"},"merged":false},{"kind":"pr","number":121543,"title":"fix(agent): truncation retries grow the output budget (clamped to model limit); tools-available continuation; refund fallback call","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/context_compressor.py","agent/conversation_loop.py","agent/turn_context_compaction.py","agent/turn_empty_response.py","agent/turn_final_response.py","agent/turn_iteration_prep.py","agent/turn_truncation.py","tests/agent/test_empty_response_fallback_refund.py","tests/agent/test_partial_stream_continuation_prompt.py","tests/agent/test_run_agent.py","tests/agent/test_truncated_tool_call_boost.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}