YoVinchen 2264aea591 Reduce misleading telemetry shims in the open build
The open build already treated analytics and tracing as inert, but several empty sink and shutdown modules still made startup and exit paths look like they initialized or flushed telemetry. This trims those dead compatibility layers, updates the surrounding comments to match reality, and adds small regression tests that lock in the inert analytics boundary and disabled transcript sharing behavior.

Constraint: Preserve the no-op logEvent/logOTelEvent compatibility surface for existing call sites
Constraint: Avoid touching unrelated bridge and session work already in progress in the worktree
Rejected: Remove every remaining logEvent/logOTelEvent call site | Too broad for a safe first cleanup pass
Rejected: Keep the empty sink/shutdown modules | Continued to mislead future audits and maintenance
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Treat remaining analytics and GrowthBook helpers as compatibility surfaces until each call path is individually proven dead
Tested: bun test src/services/analytics/index.test.ts src/components/FeedbackSurvey/submitTranscriptShare.test.ts
Tested: bun run ./scripts/build.ts
Not-tested: bun x tsc --noEmit (repository has pre-existing unrelated type errors)
2026-04-09 13:58:03 +08:00
2026-04-04 03:08:08 +08:00

openclaude

This repository contains a recovered Bun-based CLI workspace for Claude Code.

Project Layout

  • src/: main source code
  • scripts/: build scripts
  • docs/: project documents
  • vendor/: vendored assets and dependencies kept in-repo

Local Development

Run the CLI directly:

bun run dev

Build the standalone executable:

bun run build

Build the compiled artifact into dist/:

bun run compile

Notes

  • node_modules/, dist/, and generated CLI binaries are ignored by Git.
  • bun.lock is kept in the repository for reproducible installs.

Local Info Egress Status

This fork has removed several local system and project metadata egress paths that existed in the recovered upstream code.

Removed in this repository:

  • Model-request context injection of working directory, git status/history, CLAUDE.md, current date, platform, shell, and OS version.
  • Feedback upload and transcript-share upload paths.
  • 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.
  • Perfetto local trace-file output paths that could persist request/tool metadata to disk.
  • Extra dead telemetry scaffolding tied to the removed egress paths, including startup/session analytics fanout, logout telemetry flush, and remote GrowthBook metadata collectors.

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.
  • Minimal compatibility helpers for analytics and GrowthBook still exist in the tree as local no-op or cache-only code.
Description
No description provided
Readme 16 MiB
Languages
TypeScript 100%