{"version":"2.1.324","anchor":"jq-auto-allow-regex-loosened","canonical_anchor":"jq-auto-allow-regex-loosened","heading":"Fewer jq options are excluded from the read-only command check","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/jq-auto-allow-regex-loosened","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Fewer jq options are excluded from the read-only command check\n\nThe pattern Claude Code uses to spot read-only `jq` commands no longer excludes file-reading options such as `--rawfile` and `-f`\n\n**Unclear.** It is not clear whether another check still makes Claude Code ask before running jq commands that use these options.\n\n**What**\n\n`jq` is a command-line tool for reading and reshaping JSON data. Claude Code keeps a pattern that recognises read-only `jq` commands, which it can run without asking you first. That pattern used to rule out commands using any of these:\n\n- `-f` and `-L`\n\n- `--from-file`, `--rawfile` and `--slurpfile`\n\n- `--run-tests` and `--library-path`\n\n- `env` and `$ENV`\n\n- `include` and `import`\n\nThose exclusions are gone, so a `jq` command using them can now match the read-only pattern.\n\n**Why**\n\nThis changes which `jq` commands may skip the permission prompt. Several of these options read other files or environment variables, so it is worth watching what `jq` commands Claude runs without asking.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}