[BUNDLE] CLI and census: 11 PRs, #115 #151 #238 #353 #378 #476 #482 #535 #649 #664 #1177 #1459

Closed
github-bot wants to merge 26 commits from gh-pr/1459/head into gh-pr/1459/base
Owner

@⁠MamaLeVrai on GitHub · 2026-11-24 18:09 UTC · original
MamaLeVrai:bundle/cli → main · +459 −48 · 8 files · 26 commits · closed without merging

One PR in place of 11. Eleven PRs on the victory command line: census (directory failures, import and image path deduplication), inspect and shader-info output, the translation listing, the AVX2 check, the default stack size, VICTORY_WATCH and VICTORY_EMIT_DUMP checks, and the asset-policy check on default paths. Every head is merged unchanged onto main (70564ae, the maintainer's 28 commits of Nov 24, 22:36 CET), and the result is built and tested together.

For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a [BUNDLE] PR. The re-verification commands are below, so one run covers all of it.

What is inside

PR Author Head Title
#115 ZekkJJ b1bdd8994 Census: report directory traversal failures
#151 ItsYusei99 d77408bb7 Link victory.exe with a 16 MiB default thread stack
#238 dpalacios69 534e1dd74 CLI: check for AVX2 before running a title (VICTORY_SKIP_CPU_CHECK=1 to bypass)
#353 FIocker e6ebec9cc Shader info: show stage I/O even when instruction decoding fails
#378 Mesrine67 2392dfd79 CLI: include runtime shader hashes in the translation listing
#476 nathanbzrr a3f89eda5 Census: deduplicate PE imports without hint
#482 enzoduarte1 c91e6b6b2 App: reject wrapping RVAs in VICTORY_WATCH
#535 pushkarreddyy f6585cc0b App: enforce asset policy check in default_paths
#649 askharoun 43e2ca9de Show on-disk file size in victory inspect
#664 coderanonymus 988fd9a64 translate: refuse a VICTORY_EMIT_DUMP directory inside the repo
#1177 DoubleD17 142ec8dd4 Deduplicate image paths in victory census

Changes made while bundling

No merge conflicts. One change of mine, in its own commit: #378 makes the duplicate check in translate.rs a nested if !seen.insert(..) { if !list { .. } }, which clippy::collapsible_if rejects under -D warnings (#378 has no CI run yet). It is now one if !seen.insert(..) && !list (cargo clippy --fix, same behaviour).

Rebuilt on the new main. main moved (28 commits by the maintainer); the branch is the previous one with main merged in. One conflict, in apps/victory/src/run.rs: main adds VICTORY_POKE (fn poke) right where this bundle's PRs touch the watch_rvas helper; both are kept.

Left out, and why

  • #513, #679 (run.rs), #673, #1244 (translate.rs) and #1031 (main.rs): each conflicts with one of the PRs above in the file it edits; they need a rebase after these land.

Verification

Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):

Check Result
cargo clippy --workspace --all-targets --locked -- -D warnings clean
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings clean
cargo test --workspace --locked 488 passed, 0 failed, 7 ignored (two runs; main: 476 passed, 7 ignored)

The title was not run, so this says nothing about in-game effect. No game data is used or committed.

Re-verify in one go

git fetch https://github.com/MamaLeVrai/VIctory.git bundle/cli
git checkout FETCH_HEAD
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --workspace --locked

To confirm that no component PR moved since this was built, compare each Head above with gh pr view <n> --repo Marvisak/VIctory --json headRefOid. If one differs, the branch needs a rebuild: merge the new head in the same order.

If this lands

The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above.

AI-assisted (Claude Code); no game data.

🤖 Generated with Claude Code

**@⁠MamaLeVrai** on GitHub · 2026-11-24 18:09 UTC · [original](https://github.com/Marvisak/VIctory/pull/1459) `MamaLeVrai:bundle/cli` → `main` · +459 −48 · 8 files · 26 commits · closed without merging **One PR in place of 11.** Eleven PRs on the `victory` command line: census (directory failures, import and image path deduplication), `inspect` and `shader-info` output, the translation listing, the AVX2 check, the default stack size, `VICTORY_WATCH` and `VICTORY_EMIT_DUMP` checks, and the asset-policy check on default paths. Every head is merged unchanged onto `main` (`70564ae`, the maintainer's 28 commits of Nov 24, 22:36 CET), and the result is built and tested together. > For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a `[BUNDLE]` PR. The re-verification commands are below, so one run covers all of it. ## What is inside | PR | Author | Head | Title | |---|---|---|---| | #115 | ZekkJJ | `b1bdd8994` | Census: report directory traversal failures | | #151 | ItsYusei99 | `d77408bb7` | Link victory.exe with a 16 MiB default thread stack | | #238 | dpalacios69 | `534e1dd74` | CLI: check for AVX2 before running a title (VICTORY_SKIP_CPU_CHECK=1 to bypass) | | #353 | FIocker | `e6ebec9cc` | Shader info: show stage I/O even when instruction decoding fails | | #378 | Mesrine67 | `2392dfd79` | CLI: include runtime shader hashes in the translation listing | | #476 | nathanbzrr | `a3f89eda5` | Census: deduplicate PE imports without hint | | #482 | enzoduarte1 | `c91e6b6b2` | App: reject wrapping RVAs in VICTORY_WATCH | | #535 | pushkarreddyy | `f6585cc0b` | App: enforce asset policy check in default_paths | | #649 | askharoun | `43e2ca9de` | Show on-disk file size in victory inspect | | #664 | coderanonymus | `988fd9a64` | translate: refuse a VICTORY_EMIT_DUMP directory inside the repo | | #1177 | DoubleD17 | `142ec8dd4` | Deduplicate image paths in victory census | ## Changes made while bundling No merge conflicts. One change of mine, in its own commit: #378 makes the duplicate check in `translate.rs` a nested `if !seen.insert(..) { if !list { .. } }`, which `clippy::collapsible_if` rejects under `-D warnings` (#378 has no CI run yet). It is now one `if !seen.insert(..) && !list` (`cargo clippy --fix`, same behaviour). **Rebuilt on the new `main`.** `main` moved (28 commits by the maintainer); the branch is the previous one with `main` merged in. One conflict, in `apps/victory/src/run.rs`: main adds `VICTORY_POKE` (`fn poke`) right where this bundle's PRs touch the `watch_rvas` helper; both are kept. ## Left out, and why - **#513**, **#679** (`run.rs`), **#673**, **#1244** (`translate.rs`) and **#1031** (`main.rs`): each conflicts with one of the PRs above in the file it edits; they need a rebase after these land. ## Verification Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain): | Check | Result | |---|---| | `cargo clippy --workspace --all-targets --locked -- -D warnings` | clean | | `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` | clean | | `cargo test --workspace --locked` | 488 passed, 0 failed, 7 ignored (two runs; `main`: 476 passed, 7 ignored) | The title was not run, so this says nothing about in-game effect. No game data is used or committed. ## Re-verify in one go ```powershell git fetch https://github.com/MamaLeVrai/VIctory.git bundle/cli git checkout FETCH_HEAD cargo clippy --workspace --all-targets --locked -- -D warnings cargo clippy --workspace --all-targets --all-features --locked -- -D warnings cargo test --workspace --locked ``` To confirm that no component PR moved since this was built, compare each `Head` above with `gh pr view <n> --repo Marvisak/VIctory --json headRefOid`. If one differs, the branch needs a rebuild: merge the new head in the same order. ## If this lands The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above. AI-assisted (Claude Code); no game data. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Fail when a requested scan root cannot be opened. Report traversal errors below a readable root alongside the other skipped inputs.
Threads created without a stack size take the executable's default
reserve, 1 MiB from the linker. vkd3d-proton's and the driver's own
threads compiling the title's large world shaders overflowed it under
Wine on an RTX 4070 (four threads at one driver address during the world
load). Reserve 16 MiB for MSVC targets; pages are committed only as used.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
translate writes emitted DXIL and validator reports to the
VICTORY_EMIT_DUMP directory. Both are derived from the game's shaders,
but the directory was never checked against the source tree. With
VICTORY_EMIT_DUMP=. run from the checkout, the .txt reports land in the
repo, and git and cargo xtask policy both let them through.

Check the directory once at the start of translate::run, as Config
already does for the cache and data directories.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merges #115 #151 #238 #353 #378 #476 #482 #535 #649 #664 #1177 onto main
(ffe310e), each head unchanged, no conflicts.

One change of mine: #378 turns the duplicate check in translate.rs into a
nested `if !seen.insert(..) { if !list { .. } }`, which
clippy::collapsible_if rejects under -D warnings; it is now one
`if !seen.insert(..) && !list` (clippy --fix, same behaviour).

cargo clippy --workspace --all-targets --locked -- -D warnings, with and
without --all-features, is clean and cargo test --workspace --locked passes
(354 passed, 6 ignored; main has 342 passed, 6 ignored).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
run.rs: main adds VICTORY_POKE next to the watch_rvas helper this bundle's PRs touch; both kept.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:32:41 +00:00
github-bot closed this pull request 2026-11-26 04:32:41 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:40 UTC · original

Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 00:40 UTC · [original](https://github.com/Marvisak/VIctory/pull/1459#issuecomment-7148764577) Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1459
No description provided.