{"repo":"NousResearch/hermes-agent","public_id":"106061","display_label":"Performance optimizations for caching and agent hot paths","summary":"These items address unnecessary deep copies of request history in the prompt-caching planner and quadratic or per-character overhead in agent execution paths. The work focuses on reducing redundant memory and compute operations in performance-sensitive code.","subsystem":null,"counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":120406,"merged_at":"2026-09-23T15:58:39+00:00"},"resolution":{"state":"resolved","by":"pr-120406"},"freshness":{"state":"verified","last_verified_at":"2026-09-23T15:58:39+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":77063,"pr_number":120406,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-23T15:58:39+00:00"},{"issue_number":106061,"pr_number":120406,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-23T15:58:39+00:00"},{"issue_number":106062,"pr_number":120406,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-23T15:58:39+00:00"}],"members":[{"kind":"issue","number":106061,"title":"perf(prompt-caching): outer cache planner deep-copies the entire request history","url":null,"state":"closed"},{"kind":"pr","number":106074,"title":"perf(prompt-caching): copy only mutable cache-plan rows","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#120406","number":120406}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":120406,"title":"perf(agent): remove quadratic and per-character work from agent hot paths","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/agent_runtime_helpers.py","agent/codex_responses_adapter.py","agent/message_sanitization.py","agent/moa_loop.py","agent/prompt_caching.py","agent/redact.py","contributors/emails/[redacted:email]","contributors/emails/[redacted:email]","tests/agent/test_moa_loop_mode.py","tests/agent/test_prompt_caching.py","tests/agent/test_redact.py","tests/tools/test_registry.py","tools/registry.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}