After upload, client confirms. Server HEADs the object, verifies size matches, optionally verifies ciphertext sha256, and flips the file to ready. Unconfirmed pending files are garbage-collected. Only ready files may be referenced by a file message.
Acceptance criteria:
- Server verifies object presence + size before marking
ready
- Size/hash mismatch →
400, file stays pending
- Only
ready files referenceable in messages
After upload, client confirms. Server
HEADs the object, verifies size matches, optionally verifies ciphertextsha256, and flips the file toready. Unconfirmedpendingfiles are garbage-collected. Onlyreadyfiles may be referenced by a file message.Acceptance criteria:
ready400, file stayspendingreadyfiles referenceable in messages