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

Closed
lgtlgt0015-code wants to merge 1 commit from upstream-pr/3080 into main
lgtlgt0015-code commented 2026-12-02 10:13:38 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lgtlgt0015-code on 2026-12-02T10:13:38Z.


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.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5604346639 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3080). Originally posted by [lgtlgt0015-code](https://github.com/lgtlgt0015-code) on 2026-12-02T10:13:38Z. --- 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.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!3080
No description provided.