{"agent":"claude","input":"Add Prometheus metrics to this chi API. Read go.mod, api/api.go, api/server.go, api/admin/accounts.go, logging/logger.go, cmd/serve.go, .env.example and auth/pwdless/api_test.go first. Add github.com/prometheus/client_golang and a metrics package with one chi middleware: a request counter labelled by method, route pattern and status, and a duration histogram labelled by method and route pattern. Take the route label from chi.RouteContext(r.Context()).RoutePattern() after the next handler has run, never from the URL path, and take the status from chi's WrapResponseWriter. Serve promhttp.Handler() on /metrics next to /healthz, outside the JWT group, behind an ENABLE_METRICS setting that defaults to off, and register a DB stats collector for the bun connection. Write a test that sends several ids to a parameter route and asserts they land in one series. Run go vet and go test -v ./..., then start Postgres, run the migrate and serve commands and read /metrics with curl. Document the setting in .env.example, docker-compose.yml and the README, and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}