Test matcher policies across complex route shapes
Add an end-to-end fixture that combines a root parameter with catch-all and optional catch-all routes, then verifies closed and fallback behavior across known and novel values.
Also exercise a parameter shared by parallel slots whose page-level matcher exports agree, and assert that production emits the expected root-gated dynamic route patterns.
Verification: NEXT_SKIP_ISOLATE=1 pnpm test-dev-turbo test/e2e/app-dir/generate-prerender-matching/generate-prerender-matching.test.ts -t 'complex route shapes'; NEXT_SKIP_ISOLATE=1 pnpm test-start-turbo test/e2e/app-dir/generate-prerender-matching/generate-prerender-matching.test.ts -t 'complex route shapes'.