{"agent":"claude","input":"Add graceful shutdown on SIGTERM to this Tokio server. Read Cargo.toml, src/bin/server.rs, src/server.rs, src/shutdown.rs, src/connection.rs, tests/server.rs and .github/workflows/ci.yml first. In src/bin/server.rs write a shutdown_signal future that completes on ctrl_c or on SIGTERM (tokio::signal::unix, behind cfg(unix) because CI builds on Windows) and pass it to server::run. In src/server.rs bound the final wait on shutdown_complete_rx with tokio::time::timeout using a drain deadline passed into run alongside the connection limit; log a warning naming how many connections were still open when the deadline passed. Add tests in tests/server.rs: one where a client has sent a partial frame and run returns within the deadline, one where an idle connection lets run return promptly. Run cargo test, cargo test --features otel and cargo fmt --all --check, and open a pull request with the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}