A fallback read's self link carries includeFallback without langCode, so following it 400s
Every individual read's "self" link is rewritten to carry the "hreflang" advertisement, stripping "langCode" so the link stays the language-neutral canonical URL. It did not also strip "includeFallback", so a fallback read (langCode + includeFallback=1) published a self link with includeFallback alone. isFallbackRequested() rejects includeFallback without langCode with a 400, so any client that followed that self link (the normal JSON:API idiom) broke on every fallback read.
Fix: unset both PARAM_LANGCODE and PARAM_INCLUDE_FALLBACK when building the self link's query in buildWrappedResponse().
Verification: added a failing assertion in testFallbackIndividualReads() first, confirmed it failed pre-fix ("does not contain 'includeFallback'" on a self href that did), then fixed the code and confirmed it passes. Also pinned the same invariant in the shared doTestRequest() helper so every individual-read test enforces a clean self link. Full module suite: 46 tests, 1366 assertions, OK, no new failures versus the step-0 baseline (46 tests, 1354 assertions, same pre-existing DecoupledRouterCompatibilityTest skip). Lint: All linters passed.
Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com
Closes #3614408