OpenSpec icon indicating copy to clipboard operation
OpenSpec copied to clipboard

`openspec version --check` is skipped when telemetry is off

Open TabishB opened this issue 1 month ago • 0 comments

openspec version --check doesn't check for a new version when telemetry is off.

If any of these is set, it skips the check:

  • OPENSPEC_TELEMETRY=0
  • DO_NOT_TRACK=1
  • telemetry.enabled: false in the global config

Example

Someone has telemetry turned off and wants to know if a new version is out:

$ openspec version --check
OpenSpec 1.16.0 (standalone)
Update check disabled.

With --json, the result has "status": "disabled" and "latest": null, so a script can't find out either.

They asked for this check themselves, and it isn't telemetry. Nothing in the output says that the telemetry setting is the reason.

Why it happens

The rule comes from the check that runs in the background during openspec update. It makes sense there, because the person didn't ask for that request. version --check uses the same rule.

What should change

version --check should run when someone asks for it, and be skipped only by OPENSPEC_NO_UPDATE_CHECK. The check inside openspec update can stay as it is.

TabishB avatar Oct 31 '26 05:10 TabishB