{"repo":"NousResearch/hermes-agent","public_id":"118182","display_label":"Portal reasoning replay cap and strip fix","summary":"These items address a bug where long Portal sessions wedge on a non-retryable 400 error when cumulative replayed reasoning_details exceed an upstream budget. The fix involves capping and/or stripping replayed reasoning_details on the Portal transport layer.","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":131790,"merged_at":"2026-10-02T23:35:39+00:00"},"resolution":{"state":"resolved","by":"pr-131790"},"freshness":{"state":"verified","last_verified_at":"2026-10-02T23:35:39+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":118182,"pr_number":131790,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-10-02T23:35:39+00:00"}],"members":[{"kind":"issue","number":118182,"title":"[Portal] Long sessions wedge with non-retryable 400 once cumulative replayed reasoning_details exceeds upstream budget (_route_replays_reasoning_details allowlists nousresearch.com)","url":null,"state":"closed"},{"kind":"pr","number":118185,"title":"fix(transports): cap Portal reasoning replay","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#131790","number":131790}],"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":131790,"title":"fix(transports): strip replayed reasoning_details on the Nous Portal wire [risk 0.30]","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/transports/chat_completions.py","tests/agent/test_provider_history_parity.py","tests/agent/transports/test_chat_completions_reasoning_details_replay.py","tests/e2e/core/providers/test_chat_reasoning_variants.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}