# NousResearch/hermes-agent · Guard against silent session wipe on prompt submit

## Open now

- Nothing open on GitHub.

These items address a bug where a stale or empty truncation value on prompt.submit could silently erase an entire session transcript. The work involves adding safeguards or confirmation steps to prevent unintended data loss.

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

- #70516: Desktop: stale truncate_before_user_ordinal on prompt.submit can silently wipe an entire session transcript

## Prior & competing PRs

- **#70887: fix(tui): refuse empty prompt.submit truncation without confirm**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `apps/desktop/src/app/chat/session-tile-actions.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx`, `apps/desktop/src/app/session/hooks/use-prompt-actions/index.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/rewind.test.ts`, `apps/desktop/src/app/session/hooks/use-prompt-actions/rewind.ts`, `tests/test_tui_gateway_server.py`, `tui_gateway/server.py`
- **#70718: fix(tui): refuse empty truncation on prompt.submit to prevent silent session wipe (#70516)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `819e01c13`, `6de7c0f7a`, `#70570`
- **#70895: fix(tui): refuse empty truncation on prompt.submit to prevent silent session wipe (#70516)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `819e01c13`, `6de7c0f7a`, `#70718`, `#70570`

## Fix status

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