vite.config.ts and the stamp test now build the first-paint script through
one stampScript(), so the test exercises the build's injection instead of a
copy of it. perf.mjs keeps its pages and ready selectors in one table and
measures the Rules page, which PERF_ONLY=rules used to skip.