[Feature Request] Allow trusting parent directories to auto-trust subdirectories in git worktrees

Resolved 💬 3 comments Opened Jan 28, 2026 by ArnaudRinquin Closed Feb 1, 2026

Bug Description
It's a bit annoying that I have to accept every new git worktree dir as a trusted dir. I wish I could trust their parent dir once so any subdir is also trusted.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.22
  • Feedback ID: 35429086-551e-494e-af7d-4c29db980006

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:2063)\n    at rW (/$bunfs/root/claude:11:35454)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at DQR (/$bunfs/root/claude:1758:380)\n    at DQR (/$bunfs/root/claude:1758:1350)\n    at <anonymous> (/$bunfs/root/claude:1758:4670)\n    at <anonymous> (/$bunfs/root/claude:1758:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at mb8 (/$bunfs/root/claude:4820:4342)","timestamp":"2026-01-28T11:59:30.871Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/arnaud/.local/share/claude/versions/2.1.22 (expected in multi-process scenarios)\n    at BzR (/$bunfs/root/claude:3967:2091)\n    at YjA (/$bunfs/root/claude:3967:1202)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-28T11:59:30.896Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗