{"agent":"claude","input":"Add request timeouts to this Gin API. Read go.mod, hello.go, common/database.go, common/utils.go, users/middlewares.go, users/routers.go, articles/routers.go, users/unit_test.go, .env.example, readme.md, .golangci.yml, the scripts under scripts/ and the workflow under .github/workflows first. Replace r.Run with an explicit http.Server that keeps the same port and sets ReadHeaderTimeout, ReadTimeout, WriteTimeout and IdleTimeout from environment variables with sensible defaults, documented in .env.example and the readme's environment table. Add a per-request deadline middleware using only the standard library, attached to the /api group, that answers with a JSON error in the shape common.NewError produces when the deadline passes before the handler has written. Thread the request context into the GORM queries that can run long. Write tests in the style of the existing unit tests for a slow handler, a fast handler and the server's header timeout using a raw TCP connection. Run gofmt, the coverage script, golangci-lint and scripts/run-api-tests.sh as CI does, and open a pull request that explains the values chosen and quotes the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}