Docs: an index of docs/, AGENTS.md back in line with the tree, and cargo xtask docs #4451
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4451
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4450"
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?
@pabloRodriguezs on GitHub · 2026-11-30 20:29 UTC · original
pabloRodriguezs:docs/agent-context→main· +1714 −900 · 41 files · 15 commits · closed without mergingWhat it changes
AGENTS.mdanddocs/had drifted from the tree, and agents read them as ground truth. An audit on 2026-11-30 found:AGENTS.md:victory-gpu117K lines (now ~205K), 482VICTORY_*switches (945), 1,233 tests (~2,700), a 640 KiB file limit (the policy says 1 MiB), MSRV 1.88 (1.89), andfile:linereferences that pointed at the wrong code (run.rs:106,host.rs:10219,main.rs:198, …).toggled!/asked_for!". The tree has ~900 directenv::var_osreads and ~40 macro uses.dlss.mdandfork-ray-tracing.mdgive) andvictory play'sconst SETTINGS. For example,VICTORY_DLSSis off in the layer and on inplay.findings.md(RX 7900 XTX, another fork) andunified-memory-audit.md(line numbers of32ecacf) read like current reference.troubleshooting.md: it described the old 20-second warm-up restart, didn't mention MFG Unlocker, and contradictedlinux-proton.md.docs/README-nvidia.md(written asdocs/...from insidedocs/).Two commits:
Docs. Adds
docs/README.md, an index that classifies every page as reference, design note, record (a snapshot, never current) or proposal, and lists the facts several pages got wrong.AGENTS.md: figures refreshed (dated, with the commands that reproduce them), symbol names instead of line numbers, the switch rule corrected, the two default layers,const KEYED. It also warns about the 1 MiB file wall:host.rsis ~924 KiB.architecture.md: gains a map ofvictory-gpuand a Settings section.troubleshooting.md,dlss.md,fork-ray-tracing.md,replay.md,README-nvidia.mdcorrected as above.cargo xtask docs. ChecksREADME.md,AGENTS.mdanddocs/against the tree:path:Nreferences stay inside the file;VICTORY_*name a page gives is still read by the code;docs/is in the index.Records are exempt from the path and switch checks.
repository_docs_are_consistentruns it fromcargo test --workspace, asrepository_passes_policydoes, so CI catches drift. Its first run found one more problem:docs/bcpack.mdgave another repository's fixture path as ours.No code outside
xtaskchanges.Found during the audit, not fixed here:
SETTINGSinplay.rssaysscripts\play-nvidia.ps1has the same settings, but ten of the 57 don't appear in the script:VICTORY_CARD_ALL,VICTORY_CARD_CPU_FILE,VICTORY_LAZY_COMPARE_MB,VICTORY_LAZY_NARROW,VICTORY_QUIET_WAITS,VICTORY_SAMPLED_EVICT,VICTORY_TABLE_SAME,VICTORY_TEXTURE_SOFT_MB,VICTORY_UAV_FOLDandVICTORY_WAIT_SHARE.xtask/src/policy.rsis out of date.How it was tested
xtaskonly)cargo clippy -p xtask --all-targets --locked -- -D warnings: clean (toolchain 1.98.1)docs.rstests: 9 passed, includingrepository_docs_are_consistenton this tree (docs: 31 pages ok). They ran withdocs.rsbuilt as a standalone crate on a windows-gnu host, wherewindows-syscannot link. Thextaskcrate's own test run is left to CI.cargo testpassed for the crates it touches: yes fordocs.rs; the fullxtaskrun is left to CI as aboveChecked for overlap
AGENTS.md; complementary, but it will conflict with this rewrite, and I'm happy to rebase onto it), #4156 (CONTRIBUTING.md), #1053 (agents guide).🤖 Generated with Claude Code
@trustno1-coder on GitHub · 2026-12-01 18:41 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed