{"agent":"claude","input":"Add OpenTelemetry tracing to this Slim 4 app. Read composer.json, public/index.php, app/middleware.php, app/dependencies.php, app/settings.php, app/routes.php, tests/TestCase.php and the GitHub workflow first. Check the PHP version the OpenTelemetry SDK and OTLP exporter require against the composer constraint and the CI matrix, raise the constraint and trim the matrix only as far as needed, and say so. Use manual instrumentation through a PSR-15 middleware rather than the extension-based auto instrumentation, and explain the trade. Start a server span per request named after the Slim route pattern with the standard HTTP attributes, make sure routing has resolved before the name is read and write a test that proves it, mark spans with the error status on exceptions, wire a tracer provider with a batch processor and the OTLP HTTP exporter from OTEL_SERVICE_NAME and OTEL_EXPORTER_OTLP_ENDPOINT with a no-op default, and add the Monolog handler so log lines carry the trace id. Run phpunit, phpstan and phpcs. Download the OpenTelemetry Collector, run it with a debug exporter, serve the app, request the root, the users list, one user and a missing user, and quote the spans the collector printed. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}