Skip to content

feat: add explicit opt-in CLI telemetry controls#2562

Draft
affaan-m wants to merge 6 commits into
mainfrom
codex/opt-in-runtime-telemetry-20260723
Draft

feat: add explicit opt-in CLI telemetry controls#2562
affaan-m wants to merge 6 commits into
mainfrom
codex/opt-in-runtime-telemetry-20260723

Conversation

@affaan-m

Copy link
Copy Markdown
Owner

Summary

Adds a public, explicit-consent control surface for privacy-minimized ECC CLI usage telemetry.

This PR does not enable collection:

  • telemetry is off by default and has no install-time hook;
  • no default collection endpoint is shipped;
  • ecc telemetry enable is the only persisted opt-in;
  • ECC_TELEMETRY=0 is a hard override;
  • the Itō/RFQ command is excluded entirely;
  • arguments, prompts, paths, usernames, repositories, credentials, RFQs, prices, supply, and demand are absent from the schema;
  • failed delivery is dropped rather than queued and never changes the parent command result;
  • endpoint-bound rotating IDs support deletion against every original receiver.

The architecture note explicitly blocks configuring a public endpoint until the privacy notice, lawful basis, processor terms, retention, source-IP logging, deletion behavior, and small-cohort controls are reviewed.

Validation

  • npm test: 3,191/3,191
  • npm run lint: pass
  • npm run prepack: pass
  • npm pack --dry-run: pass
  • git diff --check: pass

Release boundary

Draft intentionally. Do not publish a package version or configure ECC_TELEMETRY_ENDPOINT from this PR. Server-side privacy and legal controls still require independent review.

@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: a70b2cce-f393-44fa-a3a6-be7f7c80d2ed

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/opt-in-runtime-telemetry-20260723

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ecc-tools

ecc-tools Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

Comment thread scripts/lib/telemetry-state-lock.js Fixed
@affaan-m
affaan-m force-pushed the codex/opt-in-runtime-telemetry-20260723 branch from 576c19d to 6d73db5 Compare July 24, 2026 04:08
@ecc-tools

ecc-tools Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

@ecc-tools

ecc-tools Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

@ecc-tools

ecc-tools Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

@ecc-tools

ecc-tools Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

@ecc-tools

ecc-tools Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

…telemetry-20260723

# Conflicts:
#	scripts/ecc.js
@ecc-tools

ecc-tools Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR.

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