docs: correct stale commands, clone URL and metadata #458

Open
github-bot wants to merge 1 commit from github-bot/gh-458 into a-publier AGit
Owner

@⁠Jackster on GitHub · 2026-11-27 03:16 UTC · original
Jackster:docs/stale-text → a-publier · +10 −9 · 7 files · 1 commits · open

What

Documentation, comments and metadata that do not match the code. No behaviour change.

# Was Now
1 docs/replay.md named a --looks replay flag that does not exist (no looks anywhere in apps/victory/src/replay.rs) the sentence names only --listing and --slots
2 docs/replay.md said --retranslate uses "the VICTORY_* switches of this run" says a 64-lane RDNA host, which is what replay.rs:468-469 hardcodes (set_host_max_wave(64), set_host_rdna(true)); the clap help for the flag gets the same correction
3 README.md told users to clone avatarmanz/VIctory-7900XTX clones this repository
4 apps/victory/Cargo.toml advertised a convert subcommand that never existed lists real ones (inspect, census, translate, run)
5 xtask/src/policy.rs said the translator's file is "570 KiB" 602 KiB, about 38 KiB under the 640 KiB asset-policy cap (616,741 B measured, cap 655,360 B)
6 Cargo.toml said "two style lints are let through" eight style lints plus the separately commented undocumented_unsafe_blocks; no lint level changed
7 .githooks/pre-commit was tracked as 100644 100755, same blob — the hook is executable on clones that honour file modes

Item 3 is the one with teeth: the first command in the README cloned a different fork. Item 1 points a replay user at a flag that only errors.

Testing

  • cargo test -p xtask --locked — 9 passed. That suite runs the asset-policy check and the "every documented switch is read" check over the Markdown, so the new text is policy-clean and introduces no dead switch name.
  • cargo check -p victory --all-features --locked --all-targets — clean, including the corrected --retranslate help text (that flag is diagnostics-only).
  • No code behaviour changed; the only index change is the hook's mode.

Not in this PR

  • docs/replay.md's --batch-clamps mapping, which needs the author's intent: the table maps --batch-clamps to VICTORY_INDIRECT_BATCH=2 and --batch-clamps 2 to =1, while replay/play.rs treats values > 1 as its careful mode.
  • The Cargo.toml comment claiming "eleven blocks … still lack" a SAFETY comment (that count needs a clippy run with the lint enabled).
**@⁠Jackster** on GitHub · 2026-11-27 03:16 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/458) `Jackster:docs/stale-text` → `a-publier` · +10 −9 · 7 files · 1 commits · open ## What Documentation, comments and metadata that do not match the code. No behaviour change. | # | Was | Now | |---|---|---| | 1 | `docs/replay.md` named a `--looks` replay flag that does not exist (no `looks` anywhere in `apps/victory/src/replay.rs`) | the sentence names only `--listing` and `--slots` | | 2 | `docs/replay.md` said `--retranslate` uses "the `VICTORY_*` switches of this run" | says a 64-lane RDNA host, which is what `replay.rs:468-469` hardcodes (`set_host_max_wave(64)`, `set_host_rdna(true)`); the clap help for the flag gets the same correction | | 3 | `README.md` told users to clone `avatarmanz/VIctory-7900XTX` | clones this repository | | 4 | `apps/victory/Cargo.toml` advertised a `convert` subcommand that never existed | lists real ones (`inspect`, `census`, `translate`, `run`) | | 5 | `xtask/src/policy.rs` said the translator's file is "570 KiB" | 602 KiB, about 38 KiB under the 640 KiB asset-policy cap (616,741 B measured, cap 655,360 B) | | 6 | `Cargo.toml` said "two style lints are let through" | eight style lints plus the separately commented `undocumented_unsafe_blocks`; no lint level changed | | 7 | `.githooks/pre-commit` was tracked as `100644` | `100755`, same blob — the hook is executable on clones that honour file modes | Item 3 is the one with teeth: the first command in the README cloned a different fork. Item 1 points a replay user at a flag that only errors. ## Testing - `cargo test -p xtask --locked` — 9 passed. That suite runs the asset-policy check and the "every documented switch is read" check over the Markdown, so the new text is policy-clean and introduces no dead switch name. - `cargo check -p victory --all-features --locked --all-targets` — clean, including the corrected `--retranslate` help text (that flag is `diagnostics`-only). - No code behaviour changed; the only index change is the hook's mode. ## Not in this PR - `docs/replay.md`'s `--batch-clamps` mapping, which needs the author's intent: the table maps `--batch-clamps` to `VICTORY_INDIRECT_BATCH=2` and `--batch-clamps 2` to `=1`, while `replay/play.rs` treats values `> 1` as its *careful* mode. - The `Cargo.toml` comment claiming "eleven blocks … still lack" a SAFETY comment (that count needs a clippy run with the lint enabled).
The README's first command cloned avatarmanz/VIctory-7900XTX, a different
fork. docs/replay.md named a `--looks` flag that has never existed, and
described `--retranslate` as following "the VICTORY_* switches of this
run" while the code hardcodes a 64-lane RDNA host. The crate description
advertised a `convert` subcommand. Two comments had drifted: the
translator's one file is 602 KiB under the 640 KiB asset-policy cap, not
570, and eight style lints are let through, not two.

The pre-commit hook was tracked 100644, so it silently did nothing on
clones that honour file modes; it is 100755 now, same blob.

No behaviour change: the clap help for `--retranslate` gets the same
correction as the document, and xtask's asset-policy and documented-switch
checks pass over the new text.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 03:17:29 +00:00
Author
Owner

@⁠lvndrpup on GitHub · 2026-11-27 04:41 UTC · original · reviewed

Checked at 7121562 on Windows 11 build 26300, Rust 1.98.1:

claim checked result
no --looks flag git grep looks apps/victory/src at 4eb6cfd only census.rs's looks_like_pe, no flag
translator file size git ls-tree -l 4eb6cfd crates/victory-shader/src/emit/lower.rs 616,741 B = 602.3 KiB, 38,619 B under the 655,360 B cap
eight style lints [workspace.lints.clippy] in Cargo.toml eight allows besides undocumented_unsafe_blocks
hook mode git ls-tree base and head same blob 1b89c97, 100644 to 100755
cargo test -p xtask --locked 9 passed
cargo check -p victory --all-features --all-targets --locked clean

One conflict to know about: #388 rewrites the same --retranslate row in docs/replay.md to describe its new --host-wave / --host-rdna flags and the card fallback, and git merge of #458 into #388 stops on that row. Whichever lands second has to take the other's wording; if #388 lands, row 2 here (and the new "for a 64-lane RDNA host" clap help) would no longer be true. #398 makes the same README clone fix as row 3, with identical lines, so those two merge cleanly.

**@⁠lvndrpup** on GitHub · 2026-11-27 04:41 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/458#pullrequestreview-6083571329) · **reviewed** Checked at `7121562` on Windows 11 build 26300, Rust 1.98.1: | claim | checked | result | |---|---|---| | no `--looks` flag | `git grep looks apps/victory/src` at `4eb6cfd` | only `census.rs`'s `looks_like_pe`, no flag | | translator file size | `git ls-tree -l 4eb6cfd crates/victory-shader/src/emit/lower.rs` | 616,741 B = 602.3 KiB, 38,619 B under the 655,360 B cap | | eight style lints | `[workspace.lints.clippy]` in `Cargo.toml` | eight `allow`s besides `undocumented_unsafe_blocks` | | hook mode | `git ls-tree` base and head | same blob `1b89c97`, `100644` to `100755` | | `cargo test -p xtask --locked` | | 9 passed | | `cargo check -p victory --all-features --all-targets --locked` | | clean | One conflict to know about: #388 rewrites the same `--retranslate` row in `docs/replay.md` to describe its new `--host-wave` / `--host-rdna` flags and the card fallback, and `git merge` of #458 into #388 stops on that row. Whichever lands second has to take the other's wording; if #388 lands, row 2 here (and the new "for a 64-lane RDNA host" clap help) would no longer be true. #398 makes the same README clone fix as row 3, with identical lines, so those two merge cleanly.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/458/head:github-bot/gh-458'
git switch 'github-bot/gh-458'

Merge

Merge the changes and update on Forgejo.
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-458'
git switch 'github-bot/gh-458'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-458'
git switch 'github-bot/gh-458'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-458'
git switch 'a-publier'
git merge --squash 'github-bot/gh-458'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-458'
git switch 'a-publier'
git merge 'github-bot/gh-458'
git push origin 'a-publier'
This discussion has been locked. Commenting is limited to contributors.
No description provided.