# NousResearch/hermes-agent · Gateway restart transcript replay order and fidelity

## Open now

- Nothing open on GitHub.

A bug report and related fix attempts address gateway restarts replaying the transcript spool in random order while also dropping tool-call and reasoning fields. The work involves restoring correct drop order and full field fidelity, with handling for \`failed\` sessions.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #133932. Verify it addresses your case.
- **Recommended:** read PR #133932 (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-133932`. 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.40`: 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

- #123658: \[Bug\]: gateway restart replays the transcript spool in random order and drops tool-call/reasoning fields

## Prior & competing PRs

- **#133932: fix(gateway): replay the transcript spool in drop order with full fidelity on restart (salvage #122718)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `gateway/run.py`, `gateway/run_startup.py`, `gateway/session_transcript.py`, `gateway/shutdown_flush.py`, `tests/gateway/test_profile_spool_recovery.py`, `tests/gateway/test_shutdown_flush_recovery.py`, `tests/gateway/test_shutdown_spool_limits.py`
- **#84785: fix(gateway): replay the transcript spool in drop order with full fidelity on restart (supersedes #78323)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#133932`, `#133932`, `#123658`, `#133932`, `#122718`, `#78323`, `#133932`
- **#122718: fix(gateway): replay the transcript spool in drop order with full fidelity on restart (salvage #84785)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#133932`, `#123658`, `#133932`, `#133932`
- **#132680: fix(gateway): replay transcript spool in drop order with full fidelity, hold back failed sessions (fixes #123658)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#123658`, `#133932`, `#84785`, `#122718`, `#133932`, `#133932`

## Fix status

- Merged to main in PR #133932 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-06`.
- Subsystem: `gateway`
