Repository navigation
v0.22.0: Anonymous usage metrics
Caliper now collects anonymous usage metrics, on by default after a one-time notice, so I can keep steering it toward what's useful for folks. Also: claude-code attempts can no longer log you out, and pi stops the run on a model it doesn't know.
Opt-out anonymous usage metrics (#327, closes #326)
I'd like to keep steering Caliper in the direction that's useful for the people using it, and right now I can't see which commands and backends that is. So Caliper now sends one small anonymous event per command.
- The first command after upgrading only prints a notice to stderr and sends nothing. Events start with the next command, so you can opt out before anything leaves your machine.
caliper telemetry disableopts out,caliper telemetry enableopts back in, andcaliper telemetry statusshows what's saved.CALIPER_TELEMETRY_DISABLEDandDO_NOT_TRACKturn it off whatever is saved.- CI never defaults in: with no saved preference, nothing is shown or sent.
- Each event carries only the command, Caliper version, OS family, backend, outcome and a duration bucket. No installation ID, arguments, model names, paths, prompts, outputs, scores or error text. Results files and their schema are unchanged.
- A command waits at most 200 ms for delivery, and a failed delivery never changes its output or exit code.
- The full payload and privacy details are in
docs/telemetry.md. The design is recorded in ADR 0041 and ADR 0042.
Behaviour changes
- pi stops the run with exit
2when it doesn't know the requested model, and says to pass--model pi:<model>(or--judge-model). Each attempt used to be spent as aninfra_error(#331, part of #77).
Fixes
- A claude-code attempt can no longer refresh, and so revoke, the operator's login. The attempt's copy of the login has no refresh token. When the login is about to expire, one attempt refreshes it on the host and the others wait and copy the result. Two concurrent runs with an expired token used to log out both runs and the host
claudeCLI (#330, fixes #324).