Which crop of a campaign image was actually approved?

A product launch starts with one 4000 × 4000 image. The Instagram feed version needs a square crop that keeps the product centered; a vertical version needs more space above it for text. If both files are saved as launch-final.jpg, the original can get overwritten, and an approval note saying “image approved” no longer tells anyone which crop it refers to.

The smallest useful asset workflow keeps the source file unchanged and gives it a SHA-256 hash. Each derivative gets its own record with the source hash, output dimensions, format, and transformation settings: crop coordinates, text-safe area, and a recipe version. For example, the square export might be 1080 × 1080, while the vertical export is 1080 × 1920. Both point back to the same source, but neither replaces it.

That separation makes revisions less ambiguous. If the vertical crop moves the product upward, it becomes a new derivative rather than silently changing the previously approved file. Approval can then attach to a specific derivative ID, and the eventual published asset can be recorded against that same ID. A source hash identifies identical source files; it should not be treated as proof that two crops are interchangeable.

How do you track which derivative was approved and which one was ultimately published—file names, a spreadsheet, or something tied to the asset record?

The distinction you make between the source and each crop is useful because approval needs to identify the exact derivative. For example, derivative ID launch-vertical-v2 could have an approval event recording approver: Maya and approved_at: 2026-10-28 10:00 UTC. A separate publication event for that same derivative ID would record platform: Instagram, the platform asset or post reference, and published_at: 2026-10-29 09:00 UTC.

Keep both events rather than overwriting one status field. Then you can check whether the published derivative ID matches the approved one, while retaining the record of who approved what and when.

Matching derivative IDs catches a wrong-crop publication, but an ID alone won’t catch an overwritten file. At approval, compute the exported derivative’s SHA-256 hash from its file contents and save it with the approval record. Before publishing, hash the file being sent and flag any mismatch, even if its derivative ID is unchanged.

The hash comparison catches an overwritten file at the checkpoint, but the file could still change afterward. Store the approved export as an immutable object and pass its exact object version to the publishing step. Upload from that object, not a separately re-exported or mutable file.

  1. Pinning the object version removes the mutable-file gap. Immediately before upload, read that version, compute SHA-256 over the bytes retrieved, and compare it with the approved digest. Stop publishing if they differ.
  2. Upload those verified bytes, then record the object version and verified digest with the publication event.