{"version":"2.1.282","anchor":"refusal-retry-is-now-on-by-default-tengu-ochre-kite-gate-an","canonical_anchor":"same-model-retry-after-a-safety-classifier-refusal-is-now-on","heading":"Retry after a safety-classifier refusal is now on by default, with CLAUDE_CODE_DISABLE_REFUSAL_RETRY to turn it off","tier":"notice","area":"Safety Classifier","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282\/e\/refusal-retry-is-now-on-by-default-tengu-ochre-kite-gate-an","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282","markdown":"### Retry after a safety-classifier refusal is now on by default, with CLAUDE_CODE_DISABLE_REFUSAL_RETRY to turn it off\n\nWhen a safety classifier stops a response, Claude Code now retries once on the same model unless CLAUDE_CODE_DISABLE_REFUSAL_RETRY is set\n\n**Unclear.** It is not clear exactly what the retry does after a refusal.\n\n**What**\n\nThe recovery Claude Code runs when a safety classifier stops a response no longer needs to be switched on. A safety classifier is an automated check that can halt a reply partway through. Until this release the recovery ran only if you set the environment variable `CLAUDE_CODE_OCHRE_KITE`, or if the server-side flag `tengu_ochre_kite` was on, and that flag counted as off when the server gave no value. An environment variable is a named setting you give a program when you start it. Both the variable and the flag are removed. Now:\n\n- It retries once by default: when safeguards stop a response in the main conversation, Claude Code shows \"safeguards stopped the response above \u00b7 continuing once with that noted\" and tries once more on the same model.\n\n- Tool calls in the stopped response still get a recorded result, such as \"Not run: the response that made this tool call was stopped by a safety classifier.\" A tool call is an action Claude asked to take, like running a command or editing a file.\n\n- `CLAUDE_CODE_DISABLE_REFUSAL_RETRY` is a new environment variable. When it is set, the retry does not run.\n\n- Some requests are still excluded: the retry does not run for background helper requests (those classed as \"auxiliary\"), or when the caller passes an internal argument that skips it.\n\n**Why**\n\nA refusal no longer simply ends the turn for everyone. The model gets one more attempt, with a note that a safeguard was triggered. If you would rather a stopped response end the turn as before, set `CLAUDE_CODE_DISABLE_REFUSAL_RETRY`.\n\n- Flag `tengu_ochre_kite`: Off in both readings (read for one account on one subscription tier against v2.1.282; this account: off, anonymous baseline: off, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Safety Classifier\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 3\/5"}