[Feature Request] Improve permission prompts: reduce noise for compound commands and repo subdirectories, delegate script review to subagent

Resolved 💬 1 comment Opened Apr 29, 2026 by madhu19991 Closed May 31, 2026

Bug Description
Permissions. I am continuing to find that Claude will ask permissions for silly things and not ask permissions for some important things.
the silly things are - compound commands. Usually this is a case where the command needs to be run from another directory and it will ask for permission for a command it has permission already for.
reading from repo - when working in a worktree or branch, it seems often there are multuple permissions asked for different subdirectories when the full repo is available to read/write.
Another seems to be something about newline in bash or script, there is some security risk and it will ask for permission, the user doesnt really parse a complex script anyway - better to get that script reviewed by another subagent than ask the user.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.119
  • Feedback ID: 2470e364-413b-4936-abb8-e1f538648e58

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/madhu/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T20:24:14.148Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/madhu/src/thunk-web.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4802:7647)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-27T20:50:32.725Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:13291)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:118:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:121:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-28T01:08:03.741Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at aT5 (/$bunfs/root/src/entrypoints/cli.js:2734:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-28T01:55:57.278Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at aT5 (/$bunfs/root/src/entrypoints/cli.js:2734:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-28T01:55:57.279Z"}]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗