{"agent":"claude","input":"Add HTTP server timeouts to this chi API. Read api/server.go, api/api.go, cmd/serve.go, cmd/root.go, .env.example and the workflows under .github first. In NewServer set ReadHeaderTimeout, ReadTimeout, WriteTimeout and IdleTimeout on the http.Server from viper keys server_read_header_timeout, server_read_timeout, server_write_timeout and server_idle_timeout, with defaults 5s, 10s, 30s and 120s registered in cmd/serve.go beside port. Keep middleware.Timeout at 15 s and comment why WriteTimeout is longer. Give Shutdown a deadline from server_shutdown_timeout, default 10s; do not change the signal handling. Add the variables to .env.example. Write api/server_test.go with a slow-headers test that asserts the socket is closed and a slow-handler test that asserts the write timeout, run go test ./... and gosec ./..., and quote the results in the pull request. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}