{"agent":"claude","input":"Add CSRF protection to the basics/todo app in this Actix Web repository and open a pull request. Read basics/todo/Cargo.toml, basics/todo/src/main.rs, basics/todo/src/api.rs, basics/todo/src/session.rs, basics/todo/templates/index.html.tera, basics/todo/.env, basics/todo/migrations/ and .github/workflows/ci.yml first. Add a csrf module that stores a random base64 token in the cookie session under csrf_token, generating it on first use with the rand crate from the workspace. Render it as a hidden csrf_token input in the create form and both per-task forms in the Tera template. Add a csrf_token field to CreateForm and UpdateForm and verify it against the session in constant time at the top of create and update, answering 403 on a mismatch or a missing session. Add tests with actix_web::test that cover a successful post with the token, a wrong token, and no cookie, against a temporary SQLite database built from the migrations. Run sqlx database create, sqlx migrate run, cargo check --workspace --bins --examples --tests, cargo clippy -p todo and cargo test -p todo, and paste the output in the pull request. Do not change other members of the workspace.","resources":[{"url":"https://github.com/your-org/your-app"}]}