{"agent":"claude","input":"Add Vitest to this Astro site and write unit tests for its utilities. Read package.json, astro.config.ts, astro-paper.config.ts, src/config.ts, src/content.config.ts, tsconfig.json, eslint.config.js, .prettierrc, .github/workflows/ci.yml and every file under src/utils and src/i18n first. Add vitest as a dev dependency with pnpm, a vitest.config.ts that uses getViteConfig from astro/config so the @ alias, the astro: virtual modules and import.meta.env resolve as in the site, and a test script. Write one test file per module under src/utils/__tests__ and src/i18n/__tests__: slugify for Latin and non-Latin input, postFilter for drafts and the scheduled-post margin with fake timers on both sides of the boundary and with DEV stubbed, getSortedPosts for modDatetime over pubDatetime and the whole-second truncation, getUniqueTags for case collapsing and ordering, withBase with BASE_URL stubbed to a sub-path and to the root, getPostPaths for nested folders and folders beginning with an underscore, toTransitionName for non-ASCII and leading digits, and tplStr for missing keys. Build posts as plain objects with the fields content.config.ts declares. Run pnpm test --run, pnpm lint, pnpm format:check and pnpm build, fix what they report in files you added, and add a test step to ci.yml between lint and build. Do not change any file under src other than the new test folders. Open a pull request listing each module, its cases and anything left untested with the reason.","resources":[{"url":"https://github.com/your-org/your-app"}]}