generateStaticParams with output=export is flaky in dev env with encoded params
In Next.js dev mode with output: export, dynamic routes with parameters requiring URL encoding (e.g., spaces) intermittently fail with a missing param error, while production builds work correctly. The bug depends on navigation order and is caused by inconsistent handling of encoded vs. decoded parameters.
