Skip to content

Codex Desktop silently omits a valid V2 custom pet on native Windows #33220

Open

Description

@langxxx-code

What version of the Codex App are you using (From “About Codex” dialog)?

26.707.9981.0 (Windows app package)

What subscription do you have?

Unknown / not relevant to local pet discovery

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Codex Desktop does not discover a valid V2 custom pet on native Windows. The pet directory is silently omitted from Settings > Appearance > Pets after clicking Refresh, and no actionable error is shown.

A V1 custom pet under the same CODEX_HOME\pets directory loads and can be selected, so custom pets are enabled and the root directory is readable. The V2 package passes the current hatch-pet validation, but it never appears in the pet list.

This is not a WSL setup: the Codex app-server is running as a native Windows process, and WSL_DISTRO_NAME / WSL_INTEROP are unset.

What steps can reproduce the bug?

  1. Run Codex Desktop natively on Windows (no WSL app-server).
  2. Create C:\Users\<USER>\.codex\pets\watt300png\pet.json:
{
  "displayName": "Watt300",
  "description": "A custom Codex pet",
  "spriteVersionNumber": 2,
  "spritesheetPath": "spritesheet.webp"
}
  1. Add a valid V2 spritesheet.webp:
    • dimensions: 1536 x 2288
    • 11 animation rows, including the required looking directions
    • lossless WebP (VP8L)
    • file size: 1,078,118 bytes
  2. Validate the package with the current hatch-pet validator; validation passes.
  3. Open Settings > Appearance > Pets and click Refresh custom pets.
  4. Restart Codex Desktop and refresh again.
  5. Observe that the V1 pet is listed, while this V2 pet is absent and cannot be selected.

What is the expected behavior?

A valid V2 custom pet should appear in Settings > Appearance > Pets and be selectable.

If a package cannot be loaded, Codex should show the per-folder validation/read error instead of silently dropping the directory.

Additional information

The following possible causes were checked without changing the result:

  • manifest JSON syntax and formatting
  • adding/removing an explicit id
  • removing unrelated PNG files from the pet directory
  • Windows file ACL/read access
  • required V2 atlas dimensions, rows, populated cells, and looking directions

The WebP is slightly larger than 1 MiB. A size/encoding boundary is only a hypothesis; I found no documented fs/readFile limit that confirms it.

Related WSL path issues: #20730, #20905, and #21471. This report is a different case because the app-server and pet directory are both native Windows paths.

Activity

  1. added
    app
    on Jul 15, 2026
  2. added
    bug
    windows-os
    on Jul 15, 2026
  3. falseywinchnet commented on Jul 17, 2026

    @falseywinchnet

    I reproduced the same silent omission on macOS and found a cross-product pet-format mismatch.

    Environment:

    • macOS 14.8.7
    • Codex Desktop 26.715.21425
    • pet: Raven
    • image: PNG, 1,788,951 bytes
    • exported atlas: 1536 × 1872 (8 columns × 9 rows)

    Important provenance

    Raven was created on ChatGPT.com only minutes before this failure, using GPT-5.6 with medium reasoning and the provided pet-creation tools/scripts. The run took about 8½ minutes.

    ChatGPT's workflow reported that it:

    • read the pet-creation skill and spritesheet contract;
    • generated and corrected the atlas;
    • ran the Raven pet build script plus OpenCV/SciPy checks;
    • declared: “The corrected atlas now passes the structural checks: 1536 by 1872 pixels, 57 required frames present, and all 15 unused cells fully transparent”;
    • created a new pet entry from the prepared image;
    • selected the returned pet ID;
    • packaged and returned the complete artifact zip.

    Raven does show, render, and select successfully in the ChatGPT interface. So ChatGPT's “Raven is active” statement was accurate for ChatGPT.

    The downloaded artifact zip contains the atlas, previews, and raven-validation.json, but no Codex Desktop pet.json. The validation file records a 1536 × 1872, 8 × 9 atlas and says all required frames are nonempty.

    Codex Desktop incompatibility

    When installing the exported ChatGPT pet into Codex Desktop as the v2 pet it was created as, this manifest was added:

    {
      "displayName": "Raven",
      "description": "A watchful raven companion.",
      "spriteVersionNumber": 2,
      "spritesheetPath": "spritesheet.png"
    }

    Codex Desktop silently omitted the folder from Settings.

    Inspection of the desktop loader in this build shows that it accepts:

    • Codex v1: 1536 × 1872
    • Codex v2: 1536 × 2288

    Changing only spriteVersionNumber from 2 to 1 makes the dimensions acceptable to Codex's loader, but that is a compatibility workaround, not proof that the ChatGPT v2 row/state semantics are identical to Codex v1.

    Follow-up: ChatGPT could not locate the Codex v2 specification

    On further inquiry, the ChatGPT.com workflow stated:

    “The public materials do not expose a finer row-10 versus row-11 state map.”

    It then attempted to create a Codex Desktop v2 atlas by expanding the image to 1536 × 2288. Pixel-level inspection showed that rows 1–9 still contained the original 57 frames, while every cell in rows 10 and 11 was fully transparent. In other words, the attempted conversion only padded the canvas to the required height; it did not create the 16 additional directional frames.

    This means the ChatGPT.com tools could determine Codex's required v2 dimensions but could not locate enough public specification data to generate a correct installable v2 file. In particular, they lacked an authoritative mapping for the 16 cells in rows 10–11, including direction order and expected behavior/state semantics.

    This exposes three related product problems:

    1. ChatGPT's current pet workflow produces and successfully activates a v2 pet using a 1536 × 1872, 9-row contract, while Codex Desktop's v2 loader requires a 1536 × 2288, 11-row contract. A pet exported from ChatGPT is therefore not directly portable to Codex despite both surfaces calling the format v2.
    2. The Codex Desktop v2 atlas contract is not sufficiently exposed to the ChatGPT pet-creation workflow or in public materials for that workflow to generate the two additional rows correctly.
    3. Codex Desktop silently drops an incompatible pet directory instead of showing the mismatch. Settings should display a per-folder error such as “expected 1536 × 2288 for spriteVersionNumber 2; got 1536 × 1872,” and should also report missing required cells.

    The core issue is not that ChatGPT failed to activate Raven. It is that ChatGPT and Codex Desktop use incompatible v2 sprite contracts, the creation workflow cannot locate the specification needed for conversion, and neither the exported artifact nor Codex's UI explains or resolves the incompatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugpetswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions