Disable analytics, GrowthBook, and telemetry egress

This commit is contained in:
2026-04-03 23:17:26 +08:00
parent 9e7338d54c
commit 497f81f4f9
8 changed files with 124 additions and 1800 deletions

View File

@@ -45,10 +45,11 @@ Removed in this repository:
- Remote Control / Bridge registration fields that sent machine name, git branch, and git repository URL, plus git source/outcome data in bridge session creation.
- Trusted-device enrollment and trusted-device token header emission for bridge requests.
- `/insights` automatic S3 upload; reports now stay local via `file://` paths only.
- Datadog analytics and Anthropic 1P event-logging egress.
- GrowthBook remote evaluation/network fetches; local env/config overrides and cached values remain available for compatibility.
- OpenTelemetry initialization and event export paths.
Still present:
- Normal Claude API requests are still part of product functionality; this fork only removes extra local metadata injection, not core model/network access.
- Datadog and Anthropic 1P analytics codepaths still exist and can emit environment/process metadata unless disabled by runtime privacy settings.
- GrowthBook remote evaluation still exists and still prepares remote-eval user attributes.
- Optional OpenTelemetry export still exists behind telemetry configuration flags.
- Compatibility scaffolding for analytics, GrowthBook, and telemetry still exists in the tree as local no-op or cache-only code.