{"version":"2.1.277","anchor":"new-git-branch-guard-telemetryenv-override-for-cloud-sessio","canonical_anchor":"new-git-branch-guard-telemetryenv-override-for-cloud-sessio","heading":"New git-branch-guard telemetry\/env override for cloud session on-branch checkout","tier":"use","area":"Git Internals","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/new-git-branch-guard-telemetryenv-override-for-cloud-sessio","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### New git-branch-guard telemetry\/env override for cloud session on-branch checkout\n\nCloud on-branch checkout guard can now be forced on via a CCR_ON_BRANCH_DEFAULT_GUARD environment variable\n\n**Unclear.** Nothing has been read yet about the `tengu_on_branch_default_guard_observe` gate for this site's account, so what \"observe\" mode does in practice versus \"enforce\" isn't confirmed here.\n\n**What**\n\nA guard around `--on-branch` cloud checkouts can now be forced into \"enforce\" mode using the environment variable `CCR_ON_BRANCH_DEFAULT_GUARD`. If that environment variable isn't set, Claude Code falls back to checking a remote configuration value, `tengu_on_branch_default_guard_observe`, to decide the guard's behavior.\n\n**Why**\n\nThis gives operators a direct, local way to force strict enforcement of the on-branch checkout guard for cloud sessions, without waiting on remote configuration.\n\n- Area: Git Internals\n- Names: `CCR_ON_BRANCH_DEFAULT_GUARD`\n- Tier: Use it now\n- Useful: 2\/5\n- Signal: 2\/5"}