atxtechbro / atxtechbro/dotfiles

fix: Add mkdir -p to auto-approve bash permissions

Open
#605 0 comments 0 reactions 0 assignees View on GitHub
claude-code permissions tool-use
Dominant language
Shell
Stars
27
Forks
2
PR merge metrics
No merged PRs in 30d

Description

## Problem
Getting prompted for `mkdir -p` permission when creating worktree directories. This is a safe, idempotent operation.

## Exact Prompt
```
Bash command
mkdir -p ~/ppv/pillars/dotfiles/worktrees
Create worktrees directory

Do you want to proceed?
```

## Solution
We already have `"Bash(mkdir:*)"` in permissions, but need to check if it's working correctly or if we need a more specific pattern.

## Note
`mkdir -p` is safe because:
- Creates parent directories if needed
- No error if directory exists
- Read-only in nature (just creates structure)

Related: #593, #600, #603 (permissions work)
Principle: tracer-bullets

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the permission configuration containing the existing "Bash(mkdir:*)" rule and reproduce the `mkdir -p` prompt. Verify how the pattern is matched and adjust the permission entry if needed; done means the shown worktree-directory command no longer prompts for approval.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.