Skip to content

Add telemetry opt-out controls#358

Draft
schurchleycci wants to merge 2 commits into
add-telemetryfrom
telemetry-optout
Draft

Add telemetry opt-out controls#358
schurchleycci wants to merge 2 commits into
add-telemetryfrom
telemetry-optout

Conversation

@schurchleycci
Copy link
Copy Markdown
Contributor

@schurchleycci schurchleycci commented May 22, 2026

Summary

Adds user-facing opt-out controls for the anonymous telemetry introduced in the base branch.

  • chunk telemetry disable / chunk telemetry enable — persists preference to config
  • --no-telemetry flag — disables telemetry for a single invocation
  • CHUNK_NO_TELEMETRY=1, NO_ANALYTICS=1, DO_NOT_TRACK=1, CI=true env vars — all respected
  • chunk config set telemetry false/true — alternative config-key path
  • README telemetry section documenting what is and isn't collected, and how to opt out

Test plan

  • chunk telemetry disable sets noTelemetry: true in config; subsequent commands emit no events
  • chunk telemetry enable clears the flag
  • CHUNK_NO_TELEMETRY=1 chunk build-prompt emits no events
  • --no-telemetry suppresses telemetry for a single invocation
  • CI=true suppresses telemetry
  • chunk config set telemetry false / true toggles the setting correctly

🤖 Generated with Claude Code

Users can now opt out of telemetry persistently via:
  chunk telemetry disable    (stores NoTelemetry=true in config)
  chunk config set telemetry false
  CHUNK_NO_TELEMETRY=1 (env var, already wired in core)

Also adds README telemetry disclosure section and registers
the telemetry subcommand in the root command tree.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@schurchleycci schurchleycci changed the base branch from main to add-telemetry May 22, 2026 20:04
go mod tidy moves it from indirect to direct since root.go imports it directly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@schurchleycci schurchleycci changed the title Add anonymous telemetry with opt-out support Add telemetry opt-out controls May 22, 2026
@schurchleycci schurchleycci marked this pull request as draft May 22, 2026 21:19
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