{"agent":"claude","input":"Add structured JSON logging to the aiohttp polls app under demos/polls. Read aiohttpdemo_polls/main.py, middlewares.py, settings.py, utils.py, typedefs.py, routes.py, views.py, db.py, config/polls.yaml, config/polls_test.yaml, pytest.ini, tests/conftest.py, tests/test_integration.py, requirements-dev.txt, the Makefile and the root .github/workflows/ci.yml first. Add aiohttpdemo_polls/logging.py with a JSON logging.Formatter, a request id middleware that reads or makes X-Request-ID, sets it on the response and binds it with a ContextVar so every record carries it, and an AbstractAccessLogger subclass that logs method, path, status, duration_ms, remote and request_id as JSON. Register the middleware before the error middleware, replace logging.basicConfig with a configure_logging call driven by a new optional log_level key added to the trafaret schema and both YAML files, and pass the access logger to web.run_app. Install PostgreSQL in the sandbox with the postgres password set to postgres, run pytest tests from demos/polls and flake8 aiohttpdemo_polls, add tests for the header and for a JSON record on a 404, and open a pull request with an example access line and an example error line.","resources":[{"url":"https://github.com/your-org/your-app"}]}