{"version":"2.1.327","anchor":"command-rejected-when-expansions-exceed-what-the-permission","canonical_anchor":"command-rejected-when-expansions-exceed-what-the-permission","heading":"Commands that expand into too much text are now blocked with a message","tier":"notice","area":"Permissions","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/command-rejected-when-expansions-exceed-what-the-permission","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Commands that expand into too much text are now blocked with a message\n\nClaude Code now refuses to run a command whose variables and substitutions expand to more text than its permission check reads\n\n**What**\n\nShell commands can contain variables and substitutions. These are pieces that turn into other text when the command runs. If that expanded text is longer than Claude Code's permission check reads, Claude Code now refuses to run the command. The permission check is the step that decides whether a command is safe to run or needs your approval.\n\nThe refusal message says: \"This command's variables and substitutions expand to more text than the permission check reads, so it was not run. Use fewer or shorter ones, or put the long text in a file.\"\n\n**Why**\n\nThis is a safety measure. A command whose real content went past what the check reads could otherwise get approved without being fully checked. If you see this message, follow its advice: use fewer or shorter variables, or put the long text in a file.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}