{"agent":"claude","input":"Add error boundaries to this React Router 7 app and open a pull request. Read package.json, react-router.config.ts, vite.config.ts, tsconfig.json, app/root.tsx, app/routes.ts and app/routes/home.tsx first. Add app/components/route-error.tsx taking Route.ErrorBoundaryProps that renders status and statusText for a route error response, the message for an Error, a generic line otherwise, and the stack only in development, following the rule in root.tsx. Export an ErrorBoundary from app/routes/home.tsx that renders it inside the page frame. Add a splat route routes/not-found.tsx in app/routes.ts whose loader throws data(null, { status: 404 }) and whose ErrorBoundary shows a not-found message, and remove the 404 branch from the root boundary. Run npx react-router reveal to create app/entry.server.tsx and export a handleError that skips aborted requests, logs the method and URL with the error, and leaves one clearly marked function for a reporting client. Add vitest, @testing-library/react and jsdom as dev dependencies, a vitest.config.ts reusing the Vite plugins, and app/components/route-error.test.tsx covering the three error kinds. Run npm run typecheck, npx vitest --run and npm run build, start the server, curl -i an unknown path and paste the 404 response, the test summary and the typecheck output in the pull request. Do not change the Welcome component, the styles or the Dockerfile.","resources":[{"url":"https://github.com/your-org/your-app"}]}