Repository navigation
docs: the XGameSave shim is #279's, not main's; test backticked repo paths - #1849
Conversation
…icked repo paths docs/saves.md and the tools/saves.py docstring named runtime/shims/xgameruntime_services.cpp as the runtime's save store; that file is only in the open ItsNotRexed#279, and on main XGameSave* imports get the loader's default answers. docs/shader_validation.md named spirv_mini_interp without its .py. tests/test_docs_repo_paths.py checks that backticked tools/, runtime/, tests/ and scripts/ paths in docs/ name tracked files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lucastayaralvarenga-ui
left a comment
There was a problem hiding this comment.
The two repo-path tests and five link tests pass on Windows with Python 3.12 at c51e3083. I found one false negative in missing_paths(). For See tools/missing.py and [the Python guide](https://docs.python.org/3/)., the check returns no findings because an unrelated URL anywhere on the line suppresses every backticked path on it. Could the skip apply only to the span belonging to the external link? A test with the example above would cover ordinary prose around links. AI-assisted review.
Static review — PR #1849Branch: (head of PR #1849) What it doesDocs-only updates plus a new test that verifies repo paths referenced in docs actually exist.
CPU test results
Reviewer recommendationApprove. Docs fixes plus a path-existence checker to prevent stale references. AI-assisted. Reviewed with Claude Code. |
Item: EGEN-DOCS-STALE-PATHS (Vonsek4), finding and claim.
What
docs/saves.md("Importing into the runtime") and theimporthelp intools/saves.pydescriberuntime/shims/xgameruntime_services.cppas the runtime's XGameSave store. That file exists only in the open Runtime: offline xgameruntime services (user, saves, package, threads, offline answers) #279 ("Runtime: offline xgameruntime services"). Onmainno shim implementsXGameSave*: the imports get the loader's default answers, classified inruntime/shims/registry.cpp. Both texts now say the shim is Runtime: offline xgameruntime services (user, saves, package, threads, offline answers) #279's and not onmainyet. The import layout and the byte-identical read-back check are kept, attributed to Runtime: offline xgameruntime services (user, saves, package, threads, offline answers) #279's shim.docs/shader_validation.md:650namestests/semantic/spirv_mini_interp, which lacked its.py.tests/test_docs_repo_paths.py: every backtickedtools/…,runtime/…,tests/…orscripts/…path indocs/*.mdmust name a tracked file or folder.tests/test_docs_links.pyonly covers Markdown links. Some cases are skipped:://);runtime/buildoutput;fssm_crosscheck.mdfor SCARAB,d3d12_xs_surface.md).Tests
python -I tests/test_docs_repo_paths.py. It checks its own checker on a synthetic page, then the real docs.FAILED (failures=1), listingdocs/saves.md:104 runtime/shims/xgameruntime_services.cppanddocs/shader_validation.md:650 tests/semantic/spirv_mini_interp.Ran 2 tests ... OK.python -I tests/test_saves.py: OK. The docstring change touches only help text.AI-assisted (Claude Code, Claude Opus 5.5). Docs and a test only; no GPU or game files were involved. Tested on Windows 11 with Python 3.12.
🤖 Generated with Claude Code