# NousResearch/hermes-agent · Fix duplicate final message rendering bug

## Open now

- Nothing open on GitHub.

These items address a regression where the final assistant reply was being rendered or published twice in the TUI, desktop, and dashboard interfaces. The work involves fixes to the app-server runtime and message publishing logic to prevent double-rendering.

## 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 #126472. Verify it addresses your case.
- **Recommended:** read PR #126472 (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-126472`. 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

- #125951: Codex app-server runtime: final assistant reply renders twice in dashboard/TUI chat

## Prior & competing PRs

- **#126472: fix(tui,desktop): launch cwd, double-render, and stale-transcript regressions**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/activity_tracking.py`, `agent/session_activity.py`, `apps/desktop/src/app/chat/right-rail/preview-typing-abort.ts`, `apps/desktop/src/app/contrib/hooks/use-background-sync.ts`, `apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/server-requests.ts`, `apps/desktop/src/app/session/hooks/use-session-list-actions.test.tsx`, `apps/desktop/src/lib/chat-messages/index.ts`, `apps/desktop/src/lib/chat-messages/reconciliation.test.ts`, `apps/desktop/src/lib/chat-messages/reconciliation.ts`, `apps/desktop/src/lib/session-signatures.test.ts`, `apps/desktop/src/lib/session-signatures.ts`, `apps/desktop/src/lib/stale-transcript-guard.test.ts`, `apps/desktop/src/lib/stale-transcript-guard.ts`, `gateway/run.py`, `hermes_cli/main_tui_launch.py`, `tests/agent/test_compression_terminal_activity_persist.py`, `tests/gateway/test_import_preserves_tui_cwd.py`, `tests/hermes_cli/test_tui_resume_flow.py`, `tests/tui_gateway/test_turn_payload_interim_final.py`, `tui_gateway/prompt_turn.py`
- **#125965: fix(codex): do not publish the final message twice**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `1bb66fc892`, `#125951`

## Fix status

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