Files
hermes-agent/persistence/sqlite/authority
kshitijk4poor dbc6965038 refactor(persistence): keep rehome's stored payload bytes and say what the surrogate encoders do
Rehome only moves the target, lineage and digest. The stored payload_json is already bindable and
json.loads of it gives the same value the re-encode round trip produced, so the payload is no longer
re-encoded and written back: legacy rows keep their bytes, as on main.

Both encoders return ASCII text without the UTF-8 copy every settlement and receipt paid. The
docstrings no longer claim the result repair matches the transcript store (which replaces both
halves of a split pair) or that the payload encoding is lossless (a split pair loads as its
character).
2026-12-01 04:55:14 +05:30
..