# NousResearch/hermes-agent · Fix reasoning item ID loss in Responses API replays

## Open now

- Nothing open on GitHub.

These issues and fixes address a bug where reasoning item IDs were stripped during message replay, causing 400 errors in GPT-5.6 Responses API continuations. The changes preserve ID symmetry and valid replay item graphs for prompt caching.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #115733. Verify it addresses your case.
- **Recommended:** read PR #115733 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-115733`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #97427: \[Bug\]: GPT-5.6 Responses rejects replayed assistant message when Hermes strips its required reasoning item ID

## Prior & competing PRs

- **#115733: fix(codex): GPT-5.6 Responses continuations no longer 400 on a replayed message whose reasoning id was stripped (#97427, #97442, salvage #97445)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/codex_responses_adapter.py`, `agent/transports/codex.py`, `contributors/emails/[redacted:email]`, `tests/agent/test_codex_responses_adapter.py`, `tests/agent/transports/test_codex_transport.py`
- **#97777: fix(agent): Preserve reasoning and message ID symmetry for Responses API prompt caching**. closed without merge
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#97427`, `#10217`, `#97445`
- **#98942: fix(responses): preserve valid replay item graphs (#97427)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#97445`

## Fix status

- Merged to main in PR #115733 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-19`.
