ARC 1 · v1.3.0 -> v1.3.2 · THE LOSSLESSNESS LAW
Hash the ORIGINAL, never the wrapper
Compressing a Hermes wrapper stored the extracted content under hash(extracted) and discarded the original.
A failed command's exit_code and error fields were unrecoverable after compression, and caller JSON that merely matched a wrapper shape - e.g. {"content":"hi","id":42} - got permanently collapsed to one field.
Both the hook and the tool paths now hash and store the ORIGINAL content always; the unwrapped view is used only for classification and preview.
Retrieval is byte-exact by construction - backends store and return content verbatim as UTF-8 strings, no zstd on the path - and a full-document retrieval (limit: 0) returns the exact original bytes, hashing back to the marker's own hash.
SRC: CHANGELOG.md:683-706 · docs/api/retrieve.md ("byte-exact by construction")