- Skip get_version_metadata() when the flag is False: read VERSION_STRING
directly from app config so git subprocesses are never invoked on
unauthenticated /version requests when version details are redacted
- Add missing build_number assertion in the positive-flag test case
- Update the disabled-flag test to match new code path (no longer mocks
get_version_metadata; sets VERSION_STRING directly in app config)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>