{"version":"2.1.336","anchor":"permission-decision-codes-and-classifier-retry-text","canonical_anchor":"permission-decision-codes-and-classifier-retry-text","heading":"Programs built on Claude Code get a new permission reason code","tier":"use","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/permission-decision-codes-and-classifier-retry-text","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Programs built on Claude Code get a new permission reason code\n\nPermission decisions can now report save_held_by_check to programs built on Claude Code, and a retry warning mentions settings-file block rules\n\n**Unclear.** What causes Claude Code to send `save_held_by_check` is not stated.\n\n**What**\n\nThe SDK lets developers build their own programs on top of Claude Code. When Claude Code asks such a program whether a tool may be used, it can send a code explaining its decision. Three things change:\n\n- `save_held_by_check` is a new decision code, sent only on the request asking whether a tool may be used\n\n- The warning shown when the safety check retries now says the project instructions file may also include the block rules from the user settings file\n\n- Permission checks gain a separate path for shell commands chained together after a lapse\n\n**Why**\n\nPrograms built on Claude Code can now see a new reason a decision was made.\n\n- Area: SDK\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}