feat(mcp): add telemetry enable/disable CLI command with persisted opt-in - #6348
Conversation
…t-in Local MCP usage telemetry is opt-in and defaults OFF (per JSONbored#6228's privacy decision). Add a `telemetry enable`/`disable`/`status` command that persists a top-level `telemetryEnabled` flag in the same config file `login` uses, so the choice survives across CLI invocations. `status`, `doctor`, and `config` now report the current opt-in state, and every subcommand supports `--json`. Disabling on an otherwise-empty config removes the file rather than persisting `telemetryEnabled: false`, and only a literal `true` in the config counts as an opt-in so a malformed value falls back to the privacy-preserving default. Closes JSONbored#6239
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-16 03:30:20 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6348 +/- ##
=======================================
Coverage 95.60% 95.60%
=======================================
Files 597 597
Lines 47191 47191
Branches 15019 15019
=======================================
Hits 45117 45117
Misses 1290 1290
Partials 784 784
Flags with carried forward coverage won't be shown. Click here to find out more. |
feat(mcp): add telemetry enable/disable CLI command with persisted opt-in
Local MCP usage telemetry is opt-in and defaults OFF (per #6228's privacy
decision). Add a
telemetry enable/disable/statuscommand that persists atop-level
telemetryEnabledflag in the same config fileloginuses, so thechoice survives across CLI invocations.
status,doctor, andconfignowreport the current opt-in state, and every subcommand supports
--json.Disabling on an otherwise-empty config removes the file rather than persisting
telemetryEnabled: false, and only a literaltruein the config counts as anopt-in so a malformed value falls back to the privacy-preserving default.
Closes #6239