Files
hermes-agent/agent
liuhao1024 696f6e9ff9 fix(agent): keep marker-merged user rows addressable after alternation repair
A model-switch marker is persisted as role=user on purpose (#48338), so
the next real user row forms a user;user pair that repair_message_sequence
Pass 2 merges into the earlier (marker) row — keeping its display_kind and
dropping the plain row's _row_id from the repaired view. Every rewind /
prompt.submit addressing surface indexes non-display user turns, so the
merged pair became unaddressable and the client's next submit with
truncate_before_row_id failed closed with the input silently dropped
(#94486).

Keep the merged pair addressable: drop the display classification and
carry the plain row's durable id. display_kind never reaches providers
(stripped from every outgoing copy), so the wire payload is unchanged.

Fixes #94486
2026-09-30 23:18:06 -05:00
..
…