env_reference --check reported APS5_PAD_SPEAKER_FALLBACK_DB as stale on upstream main: its row in docs/dev/ENVIRONMENT.md was correct, but the reader in core/libs/prx/libSceAudioOut/src/AudioOut2PadMix.cpp calls std::getenv(AUDIO_PAD_SPEAKER_FALLBACK_ENV), and the name is only a constant (core/libs/prx/libSceAudioOut/src/AudioOut2PadMix.hpp, https://github.com/boykopovar/AnyPS5/blob/b1b5353cfcee098ed17e3ba8a6e616bee97c9215/core/libs/prx/libSceAudioOut/src/AudioOut2PadMix.hpp#L16). The scanner only matched literal names.
Now a string constant declared as NAME = "APS5_..." or "ANYPS5_..." is collected across all scanned files, and a getenv-family reader whose argument is that identifier counts as a read of the name. An identifier bound to two different names is ignored, so no name is invented. Literal reads are unchanged.
The Windows crash report reads APS5_CRASH_STACK_BYTES through
EnvironmentNumber, which env_reference did not recognize, so the name had
no row in docs/dev/ENVIRONMENT.md and neither the reference check nor the
conventions check reported it. Recognize the reader as an integer reader
and add the row.
A mistyped --root (or running from another directory) was skipped silently,
so --check reported every documented name as stale.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
source_files compared every component of the absolute path against SKIP,
so a --root inside a directory named build or 3rdparty yielded no files.
Only components below the scan root are compared now.
Co-Authored-By: Claude Opus 5.5 <[email protected]>