README: document xcl shaders --prepare-corpus #3088

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/3088 into main
romeawayfromhome-rgb commented 2026-11-28 03:03:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-28T03:03:02Z.


What is in it

  • Adds a README usage example for xcl shaders --prepare-corpus, which the CLI HELP lists but the README usage block omits. Verified against main 753e8b1: crates/xcl/src/main.rs HELP documents the flag; crates/xcl/src/shaders.rs parses --prepare-corpus and --threads, and the prepare path builds every staged native pipeline recipe for the title folder (it rejects --split/--limit/--only/--used-only, since it requires all staged recipes). The Switches section already describes the staged-corpus workflow; this adds the command to the usage examples next to the --precompile lines. No open PR or issue documents this flag in the usage block.

Tested

  • Source verification only, on Linux: read HELP, the parser, and the prepare path at 753e8b1 and confirmed the example matches.
  • No build or test run: this environment is Linux and the crate targets Windows/MSVC, so nothing was compiled locally.

Regression run

  • Not applicable: README.md only, no runtime change.

Not tested

  • No Windows build, no cargo test, no GPU run, no smoke run.

AI use

  • AI-assisted: Muse Spark via Muse, directed by romeawayfromhome-rgb; scouted and source-verified the change, did not compile or run it.
<!-- greyfinch-sync:ivall/xcl:issue:5536048349 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3088). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-11-28T03:03:02Z. --- **What is in it** - Adds a README usage example for `xcl shaders --prepare-corpus`, which the CLI HELP lists but the README usage block omits. Verified against main 753e8b1: `crates/xcl/src/main.rs` HELP documents the flag; `crates/xcl/src/shaders.rs` parses `--prepare-corpus` and `--threads`, and the prepare path builds every staged native pipeline recipe for the title folder (it rejects `--split`/`--limit`/`--only`/`--used-only`, since it requires all staged recipes). The Switches section already describes the staged-corpus workflow; this adds the command to the usage examples next to the `--precompile` lines. No open PR or issue documents this flag in the usage block. **Tested** - Source verification only, on Linux: read HELP, the parser, and the prepare path at 753e8b1 and confirmed the example matches. - No build or test run: this environment is Linux and the crate targets Windows/MSVC, so nothing was compiled locally. **Regression run** - Not applicable: README.md only, no runtime change. **Not tested** - No Windows build, no cargo test, no GPU run, no smoke run. **AI use** - AI-assisted: Muse Spark via Muse, directed by romeawayfromhome-rgb; scouted and source-verified the change, did not compile or run it.
Foniass commented 2026-12-01 09:28:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:28:44Z.


Triage (#1607) – head 62e1a21

No open or merged PR adds this line. main's README already shows xcl shaders <title-folder> --prepare-corpus --threads 8 in the offline-preparation section (from 7b392149), but the CLI command list this PR edits still lacks it. The example matches the option in shaders.rs.
No problems found in the diff.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7306758914 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3088#issuecomment-7306758914). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T09:28:44Z. --- **Triage (#1607)** – head 62e1a21 No open or merged PR adds this line. main's README already shows `xcl shaders <title-folder> --prepare-corpus --threads 8` in the offline-preparation section (from 7b392149), but the CLI command list this PR edits still lacks it. The example matches the option in `shaders.rs`. No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Foniass commented 2026-12-01 10:28:01 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T10:28:01Z.


Review (head 62e1a21a, diff read, not a merge-check; draft, README only):

  • Already documented. Main's README shows the same command, xcl shaders <title-folder> --prepare-corpus --threads 8, with the staging steps it depends on (README ~300-312: pso_archive.py, stage.py, then --prepare-corpus). Listed alone among the quick commands, without the staging, a reader may run it on a title with nothing staged. If it stays, "(after stage.py, see below)" in its comment would point at the steps.

Fine: the flags and the 32-worker limit match main. It merges cleanly.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7308231177 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3088#issuecomment-7308231177). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T10:28:01Z. --- Review (head 62e1a21a, diff read, not a merge-check; draft, README only): - **Already documented.** Main's README shows the same command, `xcl shaders <title-folder> --prepare-corpus --threads 8`, with the staging steps it depends on (README ~300-312: `pso_archive.py`, `stage.py`, then `--prepare-corpus`). Listed alone among the quick commands, without the staging, a reader may run it on a title with nothing staged. If it stays, "(after `stage.py`, see below)" in its comment would point at the steps. Fine: the flags and the 32-worker limit match main. It merges cleanly. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3088:upstream-pr/3088'
git switch 'upstream-pr/3088'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3088'
git switch 'upstream-pr/3088'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3088'
git switch 'upstream-pr/3088'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3088'
git switch 'main'
git merge --squash 'upstream-pr/3088'
git switch 'main'
git merge --ff-only 'upstream-pr/3088'
git switch 'main'
git merge 'upstream-pr/3088'
git push origin 'main'
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
xcl-dev/xcl!3088
No description provided.