{"agent":"claude","input":"Add rate limiting to the login and invitation routes of this Actix Web service and open a pull request. Read the workspace Cargo.toml, auth/simple-auth-server/Cargo.toml, src/main.rs, src/auth_handler.rs, src/invitation_handler.rs, src/errors.rs, src/utils.rs, README.md, the middleware/rate-limit crate in this workspace, the justfile and .github/workflows/ci.yml first. Add actix-governor at the version middleware/rate-limit uses. In main.rs build two GovernorConfig values keyed by peer IP with use_headers enabled, one for POST /api/auth and one for POST /api/invitation, starting from the sibling example's seconds_per_request and burst_size as named constants, and wrap only those two routes with Route::wrap so GET and DELETE /api/auth are unaffected. Add a tests module in main.rs with actix_web::test::init_service over a stub handler under the login config asserting two requests pass, the third is 429 with x-ratelimit-remaining at zero, and a request after the window passes. Run cargo test -p simple-auth-server, cargo clippy -p simple-auth-server --all-targets, cargo +nightly fmt --check and taplo format --check. Start Postgres, run diesel setup and the server, send three logins with curl and paste the third response in the pull request with the test output. Do not change the handlers or the session settings.","resources":[{"url":"https://github.com/your-org/your-app"}]}