feat(privacy): add DO_NOT_TRACK and DISABLE_TELEMETRY env vars under C3 privacy #128
No Reviewers
Labels
Clear labels
Area/CI
Area/Completions
Area/Components
Area/Config
Area/Docs
Area/Functions
Area/Integrations
Area/Prompt & Theme
Area/Scripts
Area/Tests
Compat/Breaking
Kind/Bug
Kind/Chore
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Refactor
Kind/Security
Kind/Testing
good first issue
help wanted
.github/workflows and repository automation
completions/ - tab-completion scripts
The opinionated-component system (C1-C6)
config.fish and conf.d/ - startup and environment
docs/manual/ and the generated manual, man page, and site
functions/ - user-facing functions and helpers
integrations/ - third-party tool wiring
themes/ and prompt appearance
scripts/ - standalone helper scripts
tests/ - the syntax lint and functional suite
Breaking change that won't be backward compatible
Something is not working
Tooling, dependencies, and housekeeping
Documentation changes
Improve existing functionality
New functionality
Makes existing behavior faster or lighter
Restructures code without changing behavior
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Well-scoped and self-contained; a good place to start
Maintainer is looking for someone to pick this up
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
rootiest (Rootiest)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: rootiest/fish-config#128
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Adds universal telemetry opt-out environment variables (
$DO_NOT_TRACK=1and$DISABLE_TELEMETRY=1) to the global shell configuration, gated under an opinionated C3 (Overrides) sub-category namedprivacy.Tools, runtimes, and AI-agent utilities increasingly check
$DO_NOT_TRACKand$DISABLE_TELEMETRYto determine their default telemetry reporting state. Having them defined and truthy by default aligns with user privacy goals while remaining cleanly toggleable via the opinionated component cascade.Key Changes
config.fish: Added# site privacy: overrides/privacycomponent registration and exported$DO_NOT_TRACK 1/$DISABLE_TELEMETRY 1in the global environment variables block.functions/__config_settings_subcats.fish: Added theprivacysub-category under C3 (__fish_config_op_overrides) so it appears inconfig-settingsas a toggleable row.config-settingsTUI: Enables persistent (-U) or session-scoped (-g) toggling of__fish_config_op_overrides_privacy.docs/manual/08-components-reference/03-c3-key-and-environment-overrides.md, incremented sub-category count inindex.md, and mapped index keywords indocs/fish-config.index.test_privacy_variablesandtest_privacy_op_registry_lookuptotests/functional.fish.Verification
DO_NOT_TRACK=1andDISABLE_TELEMETRY=1.config-settings, open Universal -> C3 Overrides, and verify thePrivacytoggle row is present.set -g __fish_config_op_overrides_privacy 0) and verify__fish_config_op_enabled config privacyexits 1.python3 docs/verify-manual.py(74/74 passed).fish -i -c 'source tests/functional.fish; functional_test_main'(15/15 passed).