{"agent":"claude","input":"Add rate limiting to this React Router app. Read server.js, server/app.ts, app/routes.ts, app/routes/home.tsx, package.json, tsconfig.node.json and the Dockerfile first. Install express-rate-limit and register one limiter in server/app.ts ahead of createRequestHandler, so static files served by server.js are not counted but document and .data requests are. Read the window and the limit from RATE_LIMIT_WINDOW_MS and RATE_LIMIT_MAX with sensible defaults, send the draft-8 RateLimit header and no legacy headers, and set trust proxy in server.js from a TRUST_PROXY hop count so the limiter keys on the real client address behind a proxy. Run npm run typecheck, npm run build and npm run start, then show with curl that the RateLimit header counts down, that the limit answers 429 with Retry-After, and that a request under /assets is not limited. Document the three variables in the README and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}