{"agent":"claude","input":"Add graceful shutdown to this Gin API. Read hello.go, common/database.go, go.mod, AGENTS.md, .github/workflows/ci.yml, .golangci.yml and scripts/run-api-tests.sh first. Replace r.Run with an http.Server built around the existing router, with ReadHeaderTimeout set: serve in a goroutine, wait on signal.NotifyContext for SIGINT and SIGTERM, call Shutdown with a context bounded by a SHUTDOWN_TIMEOUT environment variable with a stated default, and close the database from db.DB() after the server stops. Keep every route and middleware as it is. Move the body of main into a run function that returns an error so main calls log.Fatal once. Document SHUTDOWN_TIMEOUT in .env.example. Add hello_test.go that starts the server on a free port with a slow handler, sends a request, triggers shutdown, and asserts the in-flight request completes, a new connection is refused afterwards, and Shutdown returns context.DeadlineExceeded when a handler outlasts the timeout; use common.TestDBInit and common.TestDBFree if the test needs the database. Run go test -race ./..., bash ./scripts/gofmt.sh, bash ./scripts/coverage.sh, golangci-lint run and bash ./scripts/run-api-tests.sh, and fix what they report. Do not change go.mod, the CI workflow or any route. Open a pull request with the files, the default timeout and why, the test output and the Newman summary.","resources":[{"url":"https://github.com/your-org/your-app"}]}