{"agent":"claude","input":"Add OpenTelemetry tracing to this chi API. Read go.mod, api/api.go, api/server.go, cmd/serve.go, cmd/root.go, database/postgres.go, every file in database/, api/admin/, api/app/ and auth/pwdless/, logging/logger.go, .env.example and docker-compose.yml first. Add a tracing package that builds a TracerProvider with an OTLP HTTP exporter (reading the standard OTEL_EXPORTER_OTLP_* variables), a stdouttrace exporter selectable with a tracing_exporter=stdout setting for local use, a resource with service.name from a tracing_service_name setting, a batch processor and the TraceContext and Baggage propagators; make it a no-op when tracing_enabled is false, and shut it down after srv.Shutdown in Start. Add otelchi.Middleware with WithChiRoutes to the router after RequestID and before the request logger, keeping it above every Mount, and add the trace id to the logrus request entry as trace_id. Add bunotel.NewQueryHook with WithDBName in DBConn beside the bundebug hook, without formatted queries. Every store method currently uses context.Background(); change each store method and its interface to take a ctx first argument, pass r.Context() from the handlers, and update MockAuthStore so the existing tests compile. Add defaults for the new settings in cmd/serve.go and lines in .env.example and docker-compose.yml. Install Postgres in your sandbox, run the migrations, start the server with the stdout exporter, request /healthz and /auth/login, and paste the spans into the pull request with the output of go build ./..., go vet ./... and go test -v ./.... Regenerate routes.md with go run main.go gendoc -r. Change nothing about authentication, routes or the response bodies.","resources":[{"url":"https://github.com/your-org/your-app"}]}