{"version":"2.1.221","anchor":"shell-output-redirection-denials-handle-non-path-targets","canonical_anchor":"shell-output-redirection-denials-handle-non-path-targets","heading":"Shell output-redirection denials handle non-path targets","tier":"notice","area":"Permissions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221\/e\/shell-output-redirection-denials-handle-non-path-targets","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221","markdown":"### Shell output-redirection denials handle non-path targets\n\nBlocked shell redirects to non-file targets no longer show a bogus path or add-directory suggestion.\n\n**What**\n\nDenials for shell output redirection no longer pretend a non-filesystem target is a path.\n\n**Details**\n\n- When the redirect target is not a filesystem path, the denial message quotes the raw target rather than a resolved path.\n- The prompt no longer offers an \"add this directory\" suggestion or a blockedPath for such targets.\n\n**Evidence**\n\n`was blocked. For security, Claude Code may only write to files in the allowed working directories for this session:`\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 0\/5"}