{"agent":"claude","input":"Add per-client rate limiting to this Litestar application. Read pyproject.toml, src/py/app/server/core.py, src/py/app/server/plugins.py, src/py/app/lib/settings.py, src/py/app/domain/accounts/controllers/_access.py, src/py/app/domain/system/controllers.py and src/py/tests/integration/conftest.py first. Add a RATE_LIMIT_PER_MINUTE setting to AppSettings with a sensible default, build a RateLimitConfig from it in ApplicationCore.on_app_init with exclude patterns for the schema, health and static asset routes, and an identifier_for_request that uses the authenticated user's id when present and the remote address otherwise. Register a RedisStore named rate_limit in the app's stores using the existing SAQ Redis URL so Granian workers share one counter. Leave the existing password reset and MFA limits as they are. Write an integration test that lowers the quota, asserts the request over it returns 429 with the RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and RateLimit-Policy headers, and asserts the health route is never limited. Run make lint and the pytest suite until both pass, then open a pull request that shows one limited response's headers and explains the Redis store choice.","resources":[{"url":"https://github.com/your-org/your-app"}]}