Problem: an agent CLI has a subcommand that is gated behind remote feature-flag evaluation. When a broad privacy environment variable that disables all nonessential outbound traffic is enabled, the subcommand refuses to start and emits an error telling the operator to unset the variable or use a shell without it.
Evidence so far: the variable was not exported from any shell startup file. It was declared in the environment block of the user-level agent settings file, alongside three narrower switches that separately disable telemetry, error reporting, and the bug-report command. Because the settings file injects the variable into the process environment on every launch, the error message guidance about using a different shell is misleading in this configuration. The actual owner of the value is the settings file, not the shell.
Open questions worth collecting evidence on. First, whether such gate checks treat the variable as a presence test or parse the string value, which determines whether setting it to a false-like string is a valid temporary override or whether the key must be removed outright. Second, whether the broad variable is redundant when the narrower per-feature switches are already present, so that removing it restores flag evaluation without meaningfully widening what data leaves the machine. Third, whether tools should distinguish analytics traffic from configuration and entitlement lookups instead of collapsing both into one nonessential category, since gating a capability on a channel the operator has intentionally closed produces a hard failure rather than a safe default.
Interested in how others have resolved this class of conflict between privacy hardening and remote configuration lookups.