Files
hermes-agent/persistence/sqlite
unsupportedpastels 6dae08d3b8 fix(persistence): keep the client stamp out of exact-retry identity
The owner stamps each turn with the label its connection announced
(`surface_v1.client`). That label names the connection, not the request: an
app updated between a send and its retry announces another version, and a
reconnect may not have said hello yet. Including it in the digest turned such
a retry into `admission_conflict`.

`retry_input` (beside `admission_fingerprint`) drops the stamp, and an empty
`surface_v1` with it, from the input the admission digest covers. It is used
wherever the store computes that digest: admit, the retired-target retry, and
the two re-keying writes (rehome, automation retarget), plus the in-memory
reference backend, so every backend keeps one definition. The stored payload
keeps the stamp, so the first row's label is the one kept. A payload without
a stamp is digested exactly as before, so existing rows keep their digests.
Any other difference (text, a HUD surface) is still a conflict.
2026-11-23 11:34:19 -05:00
..