Skip to content

Make CLI telemetry opt-in by default - #28

Draft
davidmoshal wants to merge 1 commit into
openknowledge-sh:mainfrom
davidmoshal:codex/telemetry-opt-in
Draft

Make CLI telemetry opt-in by default#28
davidmoshal wants to merge 1 commit into
openknowledge-sh:mainfrom
davidmoshal:codex/telemetry-opt-in

Conversation

@davidmoshal

Copy link
Copy Markdown
Contributor

Summary

  • disable CLI product telemetry by default
  • require okn telemetry enable before creating an installation ID or sending events
  • migrate schema-v1 telemetry configurations to disabled schema v2 and clear identity/activity state
  • update CLI help, README/npm documentation, Wiki references, and the Unreleased changelog

Why

v0.11.0 enabled telemetry when no saved preference existed. The first ordinary command disclosed telemetry and then sent events without affirmative consent.

Schema v1 did not record whether enablement was automatic or explicit, so the privacy-preserving migration resets all v1 configurations. Users who explicitly enabled telemetry in v0.11.0 must enable it again.

Website consent and aggregate /install redirect telemetry are unchanged.

Validation

  • go test ./packages/cli/...
  • pnpm check:format
  • okn validate Wiki
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant