{"version":"2.1.257","anchor":"simplified-cloudci-environment-detection","canonical_anchor":"simplified-cloudci-environment-detection","heading":"Simplified cloud\/CI environment detection","tier":"internal","area":"Telemetry","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257\/e\/simplified-cloudci-environment-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257","markdown":"### Simplified cloud\/CI environment detection\n\nDetection of external orchestration now checks env var names against allowlists, dropping several individual checks.\n\nThe heuristic that detects whether Claude Code is running under external orchestration (for telemetry\/attribution) now checks environment variable names against allowlists more generically, using set-membership checks. Several individually-checked variables, including `CLAUDE_CODE_OAUTH_TOKEN`, `CLAUDE_CODE_ARTIFACTS_API_TOKEN`, and the `CLAUDE_BG_*` vars, were dropped in favor of this approach.\n\n- Area: Telemetry\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}