523b8c0a4a46abcac54c7c82b034bbcb99940f70
The open build no longer exports OpenTelemetry events, but several user-prompt, tool, hook, API, and survey paths were still constructing and calling a no-op logOTelEvent helper. This removes those dead calls, drops the now-unused helper module, and deletes an unreferenced GrowthBook experiment event artifact so the remaining compatibility layer is less distracting during future audits. Constraint: Keep the local logEvent and tracing compatibility surfaces untouched where they still structure control flow Constraint: Avoid touching unrelated bridge and session changes already present in the worktree Rejected: Remove sessionTracing compatibility entirely | Call surface is still broad and intertwined with non-telemetry control flow Rejected: Leave no-op OTel event calls in place | They add audit noise without preserving behavior Confidence: high Scope-risk: narrow Reversibility: clean Directive: Continue treating remaining telemetry-named helpers as removable only when their call sites are proven behavior-free 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)
openclaude
This repository contains a recovered Bun-based CLI workspace for Claude Code.
Project Layout
src/: main source codescripts/: build scriptsdocs/: project documentsvendor/: 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.lockis 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.
/insightsautomatic S3 upload; reports now stay local viafile://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
Languages
TypeScript
100%