{"agent":"claude","input":"Add security headers to this Actix Web app and open a pull request. Read Cargo.toml, src/main.rs, src/api.rs, templates/index.html.tera, static/errors and .env first. Add one DefaultHeaders middleware with X-Content-Type-Options nosniff, X-Frame-Options DENY, Referrer-Policy strict-origin-when-cross-origin, a Permissions-Policy that disables camera, microphone and geolocation, and a Content-Security-Policy derived from what the templates actually load: script-src self, style-src self plus the font stylesheet host, font-src the font file host, form-action self. Add Strict-Transport-Security only when an environment variable such as SERVE_TLS is set, and say so in the README. Register the middleware so error pages from ErrorHandlers and static files carry the headers too. Move App construction into a function and add tests with actix_web::test that check the headers on GET /, on a static file, on a 404, and that the HSTS header is absent by default. Create and migrate the SQLite database the way the CI workflow does so the sqlx macros compile, run cargo test and cargo clippy for this crate, and paste the output in the pull request. Do not change the routes, the session key or the templates' markup.","resources":[{"url":"https://github.com/your-org/your-app"}]}