Skip to content

fix(telemetry): omit App IDs from CLI usage events - #88

Merged
littleDogWang merged 4 commits into
mainfrom
codex/cli-drop-telemetry-app-id
Dec 2, 2026
Merged

littleDogWang merged 4 commits into
mainfrom
codex/cli-drop-telemetry-app-id

Conversation

@littleDogWang

Copy link
Copy Markdown
Collaborator

Summary

Remove Agora App IDs from CLI usage telemetry for direct project creation and init, across Shell and MCP. Keep App IDs available for project setup and CLI business operations. Update the telemetry disclosure and add an Unreleased changelog entry.

The companion SSP change covers existing CLI installations. See SSP #66.

Type of change

  • Bug fix (non-breaking)

Public-contract impact

  • No public CLI JSON, flag, or exit-code changes.

Test plan

  • go test ./... passed locally.
  • The local CLI-to-SSP smoke test inspected the request at SSP ingress and confirmed that the new binary omitted app_id. Project creation and the telemetry opt-out also passed.
  • Telemetry regression tests verify project creation and init events in Shell and MCP.
  • Local formatting, generated command docs, and error-code checks passed. GitHub CI covers golangci-lint and the cross-platform matrix.

Documentation

  • Usage telemetry documentation and first-use disclosure updated.
  • Changelog entry added under [Unreleased].

littleDogWang and others added 4 commits December 2, 2026 01:31
Supersedes the Dependabot updates in #74, #77, and #85.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Supersedes the Dependabot updates in #84 and #86.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@digitallysavvy

Copy link
Copy Markdown
Contributor

Pushed three commits on top of c00de23 to fold the open dependency updates into this PR:

Validated locally: go build ./..., go vet ./..., GOOS=windows go vet ./..., go test -count=1 ./..., gofmt -l ., ./scripts/check-error-codes.sh, and go run ./cmd/gendocs -check all pass. Because pflag is the flag parser, I also smoke-tested --help --all, telemetry status --json, and unknown-flag handling on a local build.

Dependabot should close those five PRs on its own once this merges and main has the new versions.

The App ID removal itself looks good to me: app_id is gone from the emit sites and from the validator allowlist, so an accidental app_id would now fail validation and the event would be dropped.

@digitallysavvy digitallysavvy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving at 49eb7b1.

App ID removal (c00de23): app_id is removed from both emit sites (direct project create and init) and from the validator allowlist, so an accidental app_id now fails validation and the event is dropped. The first-use disclosure, docs/telemetry.md, docs/llms.txt and the [0.2.11] changelog section all describe the change accurately, including that v0.2.11 could include App IDs.

Dependency updates (c83be78, 2910936): these fold in #74, #77, #84, #85 and #86. Build, vet (including Windows), the full test suite, gofmt, the error-code check and the command-docs check pass locally, and flag parsing was smoke-tested against pflag 1.1.0.

Before merging and tagging:

  • Wait for the macOS and Windows jobs on this head; Ubuntu and govulncheck are green.
  • Existing v0.2.11 installs keep sending App IDs until the companion collector change is deployed, so that should land before or with the release.
  • The cosign-installer and sbom-action bumps only run in the release workflow, so the next tag is their first real run.

@littleDogWang
littleDogWang merged commit 78d86f1 into main Dec 2, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants