{"agent":"claude","input":"Add request ID logging to this Litestar app. Read pyproject.toml, src/py/app/server/core.py, src/py/app/server/plugins.py, src/py/app/lib/log.py, src/py/app/lib/settings.py, src/py/app/lib/exceptions.py, src/py/app/domain/system/controllers.py, the tests under src/py/tests/integration/system and .github/workflows/ci.yaml first. Add an ASGI middleware that reads X-Request-ID when it is short and made of safe characters, generates a UUID otherwise, binds it into structlog's context variables, stores it in the scope state and sets it on every response. Register it so it runs before the request is logged. Enable the structlog plugin's middleware logging with the request and response fields already configured, make sure standard-library log records carry the id too, and add the id to error responses. Write integration tests for the header, the echo, the rejection and the log line. Run the linters and the test suite, and open a pull request with the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}