Files
hermes-agent/apps
Teknium 02bcb123a3 fix(desktop): stop warm resume duplicating a content-refused prompt
A retained safety-refused turn hydrates as a greyed `system` content_refused
row (NOTICE_DISPLAY_KINDS) carrying the user's own text, not a `user` row. The
optimistic `user-*` prompt a canonical submit left without a rowId therefore
missed preserveLocalPendingTurnMessages' acknowledged-user match and was
re-appended beside the greyed block on warm resume — a duplicate prompt. Treat
the content_refused row as that prompt's stored counterpart (same prompt text)
and drop the optimistic twin.

Full resume-merge test (reconcileDurableHistory): optimistic user row + stored
content_refused row; red on bde73dde794 (two rows), green after.
2026-11-05 22:23:44 -08:00
..