hermes-agent/tui_gateway
kshitijk4poor cf258b6ae7 fix(session): widen display_kind filter to prompt.submit ordinal + rollback.restore
Phase 2 review found two sibling sites with the same bug class:
- truncate_before_user_ordinal in prompt.submit counted display_kind
  timeline rows as user turns, shifting the truncation target
- rollback.restore used the old pop-loop pattern that would pop a
  display_kind marker instead of the last real exchange

Both now use the same predicate (role==user and not display_kind)
matching list_recent_user_messages, /undo, /retry, and CLI resume.

Added tests for both paths.
2026-07-28 19:37:14 +05:30
..
__init__.py
_stdin_recovery.py
compute_host.py
entry.py
event_publisher.py
git_probe.py
host_supervisor.py
loop_noise.py
project_tree.py
render.py
server.py fix(session): widen display_kind filter to prompt.submit ordinal + rollback.restore 2026-07-28 19:37:14 +05:30
slash_worker.py
synthetic_turn.py
transport.py
turn_marker.py
ws.py