docs: index inline decisions, shortcuts and environment variables #3507
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3507
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3507"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Rickeal-Boss on GitHub · 2026-11-27 11:17 UTC · original
Rickeal-Boss:docs/decision-shortcut-env-indexes→main· +791 −0 · 3 files · 1 commits · openSummary
The tree records a lot of intent inline, but nothing in
docs/points at it.On the current
main(63bcca43, 191 files, 162.rsfiles) there are 39decision 000Xreferences, 135shortcut:comments, and 226 readsites of 59 distinct
VICTORY_*environment variables. This PR addsthree plain
file:lineindexes so that intent can be found in one place.Docs only: three new files, no Rust, no CI, no
xtaskpolicy logic, no READMEedit, no runtime change. Full-library PR search finds no
docs/decisions.md,docs/shortcuts.md,docs/environment.mdorcargo xtask shortcutsPR, andCLAIMS.mdhas no claim for this work.Change
docs/decisions.md: index of thedecision 000Xcomments asfile:linereferences, grouped by number (0001, 0003, 0005, 0007). The canonical
decision documents are not in this repository; whether they live in Issues,
Discussions or an external tracker was not verified, so no links are
invented and the canonical column is
TBD.docs/shortcuts.md: index of theshortcut:comments, including the one inxtask/src/policy.rs:194about decimal byte arrays. #2246 is still open andaddresses that gap, so the entry says "see #2246" rather than describing it
as open work.
docs/environment.md: theVICTORY_*read sites, grouped by variable.28 variables are documented in
README.md; the remaining 31 have noin-repo documentation and are marked
TBD, not guessed. A small group (forexample
VICTORY_*_CHILD,VICTORY_RELAUNCHED_FROM,VICTORY_SAVE_OP) isinferred from its names to be an internal subprocess protocol; it is
labelled unconfirmed and left for a maintainer to confirm. This file is an
index only - it does not edit the README's Debugging table or Getting
started, because several open README PRs already do that.
README.md: not touched. Thecrashes.logwording is correct butimprecise; the precise path is
<data>/<8-character title id>/crashes.log(apps/victory/src/run.rs:180).The data-folder sentence is at
README.md:114-115on thismain. I willoffer the clarification as a comment on the README PR instead of editing
the same sentence twice.
All three indexes are plain text:
file:linereferences only, no encodedblobs, no long literal arrays, nothing that could trip
cargo xtask policy.Each file says at the top that its counts and line numbers are a snapshot and
will drift.
Not covered
CONTRIBUTING.mdand no PR template: #2466 (docs/contributing.md)and #113 (
.github/pull_request_template.mdplus apr-descriptioncheck)are both still open. This PR adds neither. The
## What/## Testedblockbelow satisfies #113's check if it merges first.
cargo xtask shortcutsgenerator. Automating the index would touchxtask/src/main.rsandxtask/src/policy.rs, which #2246 and #2581 arealready editing. Keeping the tables hand-maintained keeps this PR docs-only;
automation is a natural follow-up once those land.
(closed, unmerged) for the earlier, much larger attempt at the same gaps.
Tests
Docs only, so behaviour is unchanged:
cargo xtask policy- must behave exactly as before.cargo fmt --all -- --check- no Rust files touched.git diff --check- no whitespace errors.file:linein the three indexes resolves onmain.To run on the pinned toolchain:
cargo test --workspace --lockedandcargo xtask policy. Not run here: no Rust toolchain / Windows-only projectin this environment. Counts come from a 2026-11-27 recheck of
63bcca43.Docs only, no game data, no binaries, no
victory.toml(perdocs/asset-policy.md).What
Add three
file:lineindexes for the in-code decisions, shortcuts andVICTORY_*environment variables. See## Summary,## Changeand## Testsabove for the file list, the exact counts and the rationale. No README edit,
no Rust, no CI, no policy logic.
Tested
Not run here because this environment uses Linux and the project requires the pinned Windows toolchain.
See
## Testsfor the exact commands; CI should run them. The docs-only diffwas checked with
git diff --check. Claim: #1633NEW-<***>.Prepared with AI assistance (Chinese Model); reviewed and conducted by Rickeal-Boss.
Synthetic references only, no other data.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.