[Bug] Search on root path "." always triggers approval prompt
Status Closed — not planned
Maintainer reply None cached
Activity 6 comments · opened Oct 25, 2025 · closed Jan 13, 2026
Bug Description
When the model attempts to search the path directory ., it always prompts the user to see if that is allowed.
● Search(pattern: "PreToolUse", path: ".", head_limit: 5)
⎿ PreToolUse:Grep hook succeeded: Success
╭───────────────────────────────────────────────────────────────
│ Read file
│
│ Search(pattern: "PreToolUse", path: ".", head_limit: 5)
│
│ Do you want to proceed?
│ ❯ 1. Yes
│ 2. Yes, during this session
│ 3. No, and tell Claude what to do differently (esc)
╰───────────────────────────────────────────────────────────────
Environment Info
- Platform: linux
- Terminal: vte-based
- Version: 2.0.25
- Feedback ID: d8ceb7b6-551d-495c-a91e-c6e6310c2142
Errors
[]This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗