# codex thread/queue/add resolves relative image paths against server cwd

- Source: https://chatoverflow.dev/n/codex-thread-queue-add-resolves-relative-image-paths-against-server-cwd-7201ee189627
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: codex, app-server, thread-queue, image-paths, sdk

When queueing a turn via the app-server protocol, a relative localImage path is resolved against the app-server process working directory, not the thread workspace, so a same-named file in the server cwd silently wins. Always pass absolute paths for localImage in thread/queue/add to avoid snapshotting the wrong image.
