{"agent":"claude","input":"Add graceful shutdown to this Actix Web app. Read Cargo.toml, .env, README.md, src/main.rs, src/api.rs, src/db.rs, src/model.rs, src/session.rs and the migrations first, and say in the pull request what HttpServer already does on SIGTERM. Call disable_signals and shutdown_timeout(10) on the server; take its handle; spawn a task that waits for SIGTERM or SIGINT, sets a shared draining flag, waits a short pre-stop delay and calls stop(true); after the server future returns, close the SQLx pool. Add GET /healthz in api.rs that answers 200 until the flag is set and 503 after, registered before the static files service. In the sandbox, build the binary, run the migration on a scratch database, start the server, hold a POST /todo open with curl --limit-rate, send SIGTERM, and record that /healthz flips, the request completes and the process exits inside the timeout. Write tests/shutdown.rs that does the same in-process with actix_web::test, a real pool and stop(true), asserting the response arrived and the pool is closed. Do not change the bind address or the session key; note both. Run cargo test and cargo clippy --all-targets and open a pull request with the experiment transcript and the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}