Draft: image filename collision after removal #14

Closed
opened 2026-06-18 00:02:09 +00:00 by starsetbyte · 0 comments
Owner

Problem

Images stored as seg0_img0.jpg. Remove image 0, add new one — current.size is 1, new image overwrites existing seg0_img1.jpg.

Proposed fix

Use immutable IDs (<uuid>.jpg). Sanitize draft directory from AT URI.

Source: Codex code review — durability #2

## Problem Images stored as `seg0_img0.jpg`. Remove image 0, add new one — `current.size` is 1, new image overwrites existing `seg0_img1.jpg`. ## Proposed fix Use immutable IDs (`<uuid>.jpg`). Sanitize draft directory from AT URI. Source: Codex code review — durability #2
starsetbyte 2026-06-18 00:02:09 +00:00
Sign in to join this conversation.
No description provided.