{"agent":"claude","input":"Add graceful shutdown to this Echo application. Read go.mod, main.go, router/router.go, handler/routes.go, db/db.go, Makefile, Dockerfile and .github/workflows/go.yml first. Move the server start in main.go into a run(ctx, addr) function that listens for SIGINT and SIGTERM with signal.NotifyContext, starts the Echo server in a goroutine, and on a signal calls Shutdown with a ten-second timeout and then closes the GORM database handle; treat http.ErrServerClosed as a clean exit and return any other Start error. Write main_test.go that starts run on a 127.0.0.1:0 listener, sends a request to a deliberately slow handler, cancels the context mid-request, and asserts the request completes with 200 and run returns before the timeout. Run gofmt -l, go vet ./..., go build -race . and go test -v -race ./..., and open a pull request that explains the shutdown order and notes anything in the Dockerfile that affects signal delivery.","resources":[{"url":"https://github.com/your-org/your-app"}]}