{"agent":"claude","input":"Add rate limiting to this Echo v4 API. Read go.mod, main.go, router/router.go, router/middleware/jwt.go, handler/routes.go, handler/handler_test.go, utils/errors.go and Makefile first. If the echo/v4 version in go.mod predates the rate limiter middleware, upgrade it within v4 with go get and go mod tidy and run the existing tests before changing anything else. Apply middleware.RateLimiterWithConfig with an in-memory store, Rate, Burst and ExpiresIn, to the unauthenticated /users group with a strict limit and to the /api group with a looser one, keep the default RealIP identifier, set e.IPExtractor in router.go to match a direct deployment and explain the proxy alternative in the pull request. Make DenyHandler answer 429 and ErrorHandler answer 403 using utils.NewError so the body matches the API's error shape. Write handler/ratelimit_test.go in the style of handler_test.go that exceeds the login burst and asserts the 429 body, and that a different client IP is unaffected. Run make test, go vet ./... and go build ./..., and open a pull request that lists the limits, the version bump and the test results.","resources":[{"url":"https://github.com/your-org/your-app"}]}