replay: require a frame file when finding a capture (REPLAY-FRAME-IS-FILE) #3080

Closed
leonida/mandy
lgtlgt0015-code wants to merge 0 commits from codex/replay-frame-discovery into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

lgtlgt0015-code commented 2026-12-02 10:13:38 +00:00

Claimed in the coordination issue as: REPLAY-FRAME-IS-FILE

What and why

A capture-N/frame.bin directory currently qualifies and can hide an older complete capture. Require a file on both lookup paths and keep explicitly selected captures and numeric ordering as before.

Tested

The synthetic frame_discovery_skips_directories_named_frame_bin regression checks direct selection, numbered captures and a directory named frame.bin.

Windows, Rust 1.98.1. The targeted case fails with the original behavior and passes with the fix. The regression cases ran together in a local verification checkout based on 80910637.

GPUs tested: n/a. The regression uses synthetic inputs and needs no game files or GPU.

AI-assisted: yes. GPT-6 (Codex) for implementation and testing, GPT-6.2 Sol for independent read-only diff review.

Checklist

  • Based on current main and merges cleanly.
  • One topic.
  • No game data, keys or decryption. scripts/check_no_game_data.py passed on all changed files.
Claimed in the coordination issue as: [REPLAY-FRAME-IS-FILE](https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7341891593) ### What and why A `capture-N/frame.bin` directory currently qualifies and can hide an older complete capture. Require a file on both lookup paths and keep explicitly selected captures and numeric ordering as before. ### Tested The synthetic `frame_discovery_skips_directories_named_frame_bin` regression checks direct selection, numbered captures and a directory named `frame.bin`. Windows, Rust 1.98.1. The targeted case fails with the original behavior and passes with the fix. The regression cases ran together in a local verification checkout based on `80910637`. GPUs tested: n/a. The regression uses synthetic inputs and needs no game files or GPU. AI-assisted: yes. GPT-6 (Codex) for implementation and testing, GPT-6.2 Sol for independent read-only diff review. ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic. - [x] No game data, keys or decryption. `scripts/check_no_game_data.py` passed on all changed files.
Sign in to join this conversation.
No description provided.