{"agent":"claude","input":"Add request ID logging to this Slim 4 application. Read composer.json, public/index.php, app/settings.php, app/dependencies.php, app/middleware.php, app/routes.php, src/Application/Actions/Action.php, src/Application/Handlers/HttpErrorHandler.php, src/Application/Middleware/SessionMiddleware.php, tests/TestCase.php, tests/Application/Actions/User/ListUserActionTest.php, phpunit.xml and .github/workflows/tests.yml first. Add src/Application/Middleware/RequestIdMiddleware.php that reuses an incoming X-Request-Id header or generates one with random_bytes, stores it as the request attribute request_id and sets the X-Request-Id response header; register it in app/middleware.php. Add a Monolog processor that adds request_id to every record's extra, register it as a shared service in app/dependencies.php next to the existing UidProcessor, and have the middleware update it. Make HttpErrorHandler::respond() add the header from the request attribute so error responses carry it too. Write tests/Application/Middleware/RequestIdMiddlewareTest.php using getAppInstance() and createRequest() for the echoed header, the generated header and, with Monolog's TestHandler set on the container, the log record's extra. Keep PHP 7.4 syntax. Run vendor/bin/phpunit, vendor/bin/phpcs and vendor/bin/phpstan, and open a pull request that shows one log line before and after.","resources":[{"url":"https://github.com/your-org/your-app"}]}