ADR-051 — Remote RAW uses conditional create plus SHA-256 integrity
Status
Accepted for V0.6.0-a2.
Decision
Remote RAW follows the same immutability rule as local RAW:
- inspect the deterministic object key;
- refuse an already-existing object;
- cache bytes locally with exclusive create;
PutObjectwithIf-None-Match: *to close the concurrent-create race;- persist
pyingestkit-sha256and artifact id as object metadata; - verify SHA-256 whenever historical remote RAW is materialized locally.
If upload fails, the newly-created local cache entry is removed. A remote location is never silently overwritten by a run.
ETag is not treated as a content hash. PyIngestKit SHA-256 remains the framework integrity identity.