# refactor\(server\): classify telemetry exports · PR \#10277 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/10277)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

State: merged

Source repository: pingdotgg/t3code

Source branch: cleanup-server/telemetry-usage-internals

Target branch: cleanup-server/service-internals

Head commit: 71d237b15304d483225aa9c5136618396b38db12

[Discussion and reviews](https://git.cafe/pingdotgg/t3code/pull/10277)

[Commits](https://git.cafe/pingdotgg/t3code/pull/10277/commits?format=markdown)

[Files changed](https://git.cafe/pingdotgg/t3code/pull/10277/diffs?format=markdown)

## Description

---

Telemetry, diagnostics, resource monitoring, and usage modules had 21 unclassified runtime exports. This marks eight canonical Effect service constructors as intentionally public and keeps 13 implementation helpers private without changing telemetry or usage contracts.

This is layer 4 of 9 in the server Knip cleanup stack.

Verification after rebasing onto current main: server typecheck and the server-only Knip export audit pass. Changed-file lint and formatting pass, with one existing lint warning. Focused auth, provider, source-control, preview toolkit, orchestration, and Knip preprocessor tests pass: 90 tests across 9 files. This changes server export visibility and static analysis; screenshots do not apply.

Model: gpt-6 astra. Harness: Codex in T3 Code.

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

* **Documentation**
  * Added public API documentation for several service constructors and diagnostic components.

* **Refactor**
  * Reduced the public API surface by making internal helpers, constants, platform utilities, usage formatters, and telemetry functions module-private.
  * Existing behavior remains unchanged.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
