atxtechbro / atxtechbro/dotfiles
fix: Add grep command to auto-approve bash permissions
- Dominant language
- Shell
- Stars
- 27
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
## Problem
Getting prompted for `grep` command even though we have `"Bash(grep:*)"` in permissions.
## Exact Prompt
```
Bash command
grep -n "generate-claude-commands" /home/linuxmint-lp/ppv/pillars/dotfiles/worktrees/feat-slash-command-analytics-594/setup.sh
Find generate-claude-commands call in setup.sh
Do you want to proceed?
```
## Pattern Emerging
We now have 4 bash commands that aren't being auto-approved despite being in permissions:
- `mkdir` (#605)
- `find` (#606)
- `ls` (#608)
- `grep` (this issue)
All have `"Bash(command:*)"` pattern but still prompt. Need to investigate why bash permissions aren't working.
Related: #593, #600, #603, #605, #606, #608 (permissions work)
Principle: tracer-bullets
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the grep prompt shown for setup.sh, then compare the configured permissions for grep, mkdir, find, and ls with the related issues. Done means identifying why the Bash(command:*) entries are ignored and verifying that all four commands are auto-approved without prompts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100