{"repo":"NousResearch/hermes-agent","public_id":"123002","display_label":"Fix tool-call JSON canonicalization in max-iteration summaries","summary":"These issues and PRs address a bug where max-iteration summary messages skip tool-call JSON canonicalization, causing prefix cache misses and expensive token re-prefills. The fixes align summary message normalization with the standard send path.","subsystem":null,"counts":{"members":4,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":2},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":124157,"merged_at":"2026-09-26T19:04:16+00:00"},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-09-26T19:04:16+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[{"issue_number":123002,"pr_number":124157,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-09-26T19:04:16+00:00"}],"members":[{"kind":"issue","number":123002,"title":"Max-iteration summary skips tool-call canonicalization, so local prefix caches miss the whole prompt (555k-token re-prefill)","url":null,"state":"closed"},{"kind":"pr","number":123004,"title":"fix(agent): canonicalize the max-iteration summary's tool-call JSON","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#124157","number":124157}],"category":"superseded_by_pr","implication":"superseded"},"merged":false},{"kind":"pr","number":123014,"title":"fix(agent): canonicalize tool-call JSON and strip content in max-iteration summary messages","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#124157","number":124157}],"category":"superseded_by_pr","implication":"superseded"},"merged":false},{"kind":"pr","number":124157,"title":"fix(agent): normalize max-iteration summary messages like the send path","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/chat_completion_helpers.py","contributors/emails/[redacted:email]","contributors/emails/[redacted:email]","tests/agent/test_iteration_summary_reasoning_details.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}