Skip to content
FrankX.AI
AI ArchitectureDec 6, 20264 min read713 words

The other archive.webp

Two covers share a filename. Only one is 1,440 pixels wide. Which one did the editor approve?

Frank Riemer
FrankX
AI Architect & Independent Creator
Ex-Oracle AI Architect · Starlight & ACOS Systems
Two covers share a filename. Only one is 1,440 pixels wide. Which one did the editor approve?

An amber roll of paper runs through the press on this cover. Its source file, archive.webp, is 1,440 pixels wide. For this essay we took a copy, trimmed 32 pixels from the right edge and re-encoded it as WebP under the same name. Most of the picture survived. The filename still matched the one an editor might search for in a chat history.

The crop changed the file’s fingerprint. These are the first twelve characters of each SHA-256 digest.

File on the deskDimensionsBytesDigest prefix
Original archive.webp1,440 × 810233,426e1535adade8b
Cropped archive.webp1,408 × 810220,744749a174c90d0

To reproduce the second row, download the original WebP at the edition’s source revision. In Pillow 13.0.0 with libwebp 1.6.0, this produces the cropped file in memory.

from hashlib import sha256
from io import BytesIO
from PIL import Image

output = BytesIO()
with Image.open("archive.webp") as source:
    source.crop((0, 0, 1408, 810)).save(output, "WEBP", quality=84, method=6)
data = output.getvalue()
print(len(data), sha256(data).hexdigest()[:12])

Suppose the editor cleared the first crop for this article. A publisher that later fetches the latest archive.webp can follow its instructions perfectly and still ship the second. I would change the approval form before I changed the model. When the editor presses Approve, record which version was on screen and where it may appear.

What goes on the editor’s record

For GenCreator, I would have the uploader create each R2 object under a fresh key, with a conditional write that fails if that key already exists. The next export gets its own key. Postgres would hold the full digest, the object key and the byte count. Beside that version I would record the editor’s decision, the placement it covers, who made it and when. A newsletter reuse gets its own decision. The editor can revoke either placement independently. R2 conditional writes

I’d give the agent one job at this desk. Given this article and a proposed cover, it finds the version and prepares a publication request for the editor. The publishing worker receives the request ID. It loads the records itself, checks the current approval for that version and placement, then reads the object. Only the worker needs the publishing credential. Someone who can browse the studio library may still have to ask permission to put a photograph on the cover. Supabase’s row-level policies can govern which records that person can read. Supabase row-level security

When the reply goes missing

A CMS accepts the cover. The connection closes before the worker receives a reply. Now the studio knows what it sent and has no receipt for what happened at the other end. Another attempt could publish a second copy.

I would give the publication an operation ID and write the request and its queue entry in one Postgres transaction. Every delivery attempt carries that ID. A CMS that supports idempotency can recognise a retry within its documented window. A lookup by operation ID may return the existing publication. An empty result can also mean the first request is still in flight. Until the destination gives a definitive answer or guarantees that a retry is safe, keep the job marked outcome unknown for an editor to check. That editor needs the original operation ID to follow the request through both systems.

Cloudflare Workflows and Temporal both tell developers to make retried external calls safe. A checkpoint lets a worker resume. The destination still decides what a second request will do. I would keep n8n delivering review requests to an existing studio inbox and give one worker ownership of the CMS write. Running more queue workers would leave the missing receipt exactly where it was. Cloudflare workflow rules · Temporal Activities · n8n queue mode

Before handing over the desk, I would stage that lost reply against a test CMS. Give a second editor the publication ID and ask them to bring back the source file, the approval and the destination receipt, or point to the job that needs a human check. For this cover, I know which file I want back. It is 1,440 pixels wide.

Read the next essay on who authorizes a studio expense

Axi

Read on FrankX.AI — AI Architecture, Music & Creator Intelligence

Stay in the intelligence loop

Field notes on AI systems, production patterns, and builder strategy.

Occasional FrankX field notes. Unsubscribe anytime. Privacy details.