{"agent":"claude","input":"Add security headers to the polls app in this aiohttp repository. Read aiohttpdemo_polls/main.py, middlewares.py, routes.py, views.py, settings.py, utils.py, every template under aiohttpdemo_polls/templates, config/polls.yaml, tests/conftest.py, pytest.ini, requirements-dev.txt and the repository's CI workflow first. Write a middleware that sets a Content-Security-Policy derived from what the templates actually load, plus X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy and Cross-Origin-Opener-Policy, with Strict-Transport-Security only behind a config flag that says the app is served over TLS. Make sure responses produced by raising HTTPException, the error pages and static files get the headers too, and register the middleware outermost. Add tests on a bare application and on the real one. Run flake8 and the test suite, and open a pull request with the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}