# NousResearch/hermes-agent · Fix interim messages reappearing in Thinking after hydration

## Open now

- Nothing open on GitHub.

These issues and fixes address a bug where Codex interim commentary incorrectly reappears inside the Thinking section after tool-call hydration. The work focuses on preserving interim messages correctly across history and tool boundaries in the desktop client.

## TL;DR

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

- #119716: Desktop: Codex interim commentary reappears inside Thinking after tool-call hydration

## Prior & competing PRs

- **#107386: fix(desktop): preserve interim messages across history and tool boundaries**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/history_commentary.py`, `agent/stream_delivery.py`, `apps/desktop/src/app/session/hooks/use-message-stream/interim-history.test.tsx`, `apps/desktop/src/lib/chat-messages.codex-commentary-reprojection.test.ts`, `apps/desktop/src/lib/chat-messages.codex-json-sidecar.test.ts`, `apps/desktop/src/lib/chat-messages.codex-sidecar-hydration.test.ts`, `apps/desktop/src/lib/chat-messages.interim-preservation.test.ts`, `apps/desktop/src/lib/chat-messages.test.ts`, `apps/desktop/src/lib/chat-messages/hydration.ts`, `apps/desktop/src/lib/chat-messages/parts.ts`, `apps/desktop/src/types/hermes.ts`, `hermes_cli/web_routers/sessions.py`, `tests/hermes_cli/test_history_commentary_display.py`, `tui_gateway/compute_host.py`, `tui_gateway/methods_session.py`, `tui_gateway/methods_slash.py`, `tui_gateway/server.py`, `tui_gateway/session_history.py`
- **#119729: fix(desktop): keep Codex interim commentary out of Thinking after hydration**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`

## Fix status

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