From 048e24fd696500c2928cb08a5e67afa65ee45114 Mon Sep 17 00:00:00 2001 From: Test User Date: Sat, 14 Feb 2026 23:08:56 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20clean=20up=20project=20permissions=20(?= =?UTF-8?q?127=20=E2=86=92=2044=20rules)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Consolidate individual test/script entries into globs, remove stale one-off entries (electron, positron, tmp scripts, old worktree paths). Co-Authored-By: Claude Opus 4.6 --- .claude/settings.local.json | 136 ++++++++---------------------------- 1 file changed, 28 insertions(+), 108 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index a32db6926..29244cb4c 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -1,129 +1,49 @@ { "permissions": { "allow": [ - "Bash(node test/test-status.js:*)", + "Bash(./tests/:*)", + "Bash(./scripts/:*)", "Bash(node:*)", - "Bash(pick --fast:*)", - "Bash(pick --help:*)", - "Bash(xxd:*)", - "Bash(else echo \"File not found - only exists in Positron\")", - "Bash(env)", - "Bash(~/test-positron-environment.zsh)", - "Bash(~/binary-search-zshrc.sh)", - "Bash(fc:*)", - "Bash(if [ -f ~/workflow.log ])", - "Bash(then tail -1000 ~/workflow.log)", - "Bash(cut:*)", - "Bash(else echo \"No workflow log found\")", - "Bash(gemini --help:*)", - "Bash(gemini:*)", - "Bash(claude tasks)", - "Bash(/tmp/final_dashboard.sh)", - "Bash(timer help:*)", - "Bash(peek help:*)", - "Bash(peek qu:*)", - "Bash(peek status:*)", - "Bash(peek md:*)", - "Bash(timer status)", - "Bash(gm help:*)", - "Bash(brew list:*)", - "Bash(mkdocs build:*)", - "Bash(dash --help:*)", - "Bash(dash dev:*)", - "Bash(g log:*)", - "Bash(mcp invalid-action)", - "Bash(mcp test:*)", - "Bash([ -f mkdocs.yml ])", - "Bash(lsof:*)", - "Bash(timeout 5 npx:*)", "Bash(npm uninstall:*)", - "Bash(electron --version:*)", - "Bash(/Users/dt/projects/dev-tools/zsh-configuration/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron ./test-minimal-electron)", - "Bash(xattr:*)", - "Bash(positron:*)", + "Bash(brew:*)", + "Bash(mkdocs build:*)", "Bash(mkdocs gh-deploy:*)", + "Bash(markdown-link-check:*)", + "Bash(git -C:*)", + "Bash(git worktree:*)", "Bash(git restore:*)", - "Skill(taskmaster:to-done)", - "Skill(taskmaster:to-done:*)", - "Bash(./rename-bulk.sh:*)", - "Bash(./scripts/validate-tutorials.sh:*)", - "Bash(if [ -f .STATUS ])", - "Bash(then cat .STATUS)", - "Bash(else echo \"No .STATUS file found\")", - "Bash(dash:*)", - "Bash(track-activity:*)", - "Bash(./scripts/convert-status-files.sh:*)", - "Bash([[ -o interactive ]])", - "Bash(xargs:*)", - "Bash(alias:*)", - "Bash(claude-code:*)", - "Bash(/tmp/flatten-archive.sh:*)", - "Bash(git -C ~/projects/dev-tools/flow-cli status --short)", - "Bash(git -C ~/projects/dev-tools/flow-cli diff --stat)", - "Bash(_proj_save_session:*)", - "Bash(./tests/test-pick-smart-defaults.zsh)", - "Bash(./tests/test-cc-dispatcher.zsh)", - "Bash(cc help:*)", + "Bash(git rm:*)", + "Bash(git init:*)", + "Bash(git config:*)", "Bash(gh run list:*)", "Bash(gh run view:*)", - "Bash(./tests/test-cc-unified-grammar.zsh)", - "Bash(./tests/run-all.sh:*)", - "Bash(./tests/test-help-browser-preview.zsh)", - "Bash(flow alias:*)", - "Bash(./tests/test-phase2-features.zsh)", - "Bash(flow help:*)", - "Bash(git -C /Users/dt/projects/dev-tools/flow-cli status --short)", + "Bash(gh pr diff:*)", + "Bash(gh pr checks:*)", "Bash(gh release create:*)", - "Bash(shasum:*)", - "Bash(git worktree:*)", - "Bash(/Users/dt/.git-worktrees/flow-cli-dot-dispatcher/scripts/validate-dot-docs.sh:*)", - "Bash(./scripts/validate-dot-docs.sh:*)", - "Bash(./scripts/release.sh:*)", - "Bash(./tests/test-pick-command.zsh)", - "Bash(pick invalid-category-xyz)", - "Bash(./tests/run-unit-tests.zsh:*)", - "Bash(./tests/interactive-cache-dogfeeding.zsh)", - "Bash(./tests/test-teach-init.zsh)", - "Bash(./tests/test-teaching-workflow-comprehensive.zsh)", "Bash(gh release view:*)", - "Bash(git -C /Users/dt/projects/dev-tools/flow-cli log --oneline --all --grep=\"worktree\")", - "Bash(git -C /Users/dt/projects/dev-tools/flow-cli show de947ef7 --stat)", - "Bash(gh pr diff:*)", - "Bash(./tests/test-flat-worktree-detection.zsh:*)", "Bash(claude -p:*)", "Bash(claude --print:*)", + "Bash(claude tasks)", + "Bash(dash:*)", + "Bash(flow alias:*)", + "Bash(flow help:*)", + "Bash(cc help:*)", + "Bash(pick:*)", + "Bash(peek:*)", "Bash(wt create:*)", - "Bash(./tests/test-wt-enhancement-unit.zsh)", - "Bash(git init:*)", - "Bash(git config:*)", - "Bash(/Users/dt/projects/dev-tools/flow-cli/tests/test-teach-deploy.zsh)", - "Bash(gh pr checks:*)", - "Bash(./tests/test-index-management-unit.zsh)", - "Bash(./tests/test-teach-deploy-unit.zsh)", "Bash(teach hooks status:*)", - "Bash(markdown-link-check:*)", + "Bash(mcp test:*)", + "Bash(g log:*)", + "Bash(env)", + "Bash(lsof:*)", + "Bash(shasum:*)", + "Bash(xargs:*)", + "Bash(alias:*)", "Bash(zoxide query:*)", "Bash(pkill:*)", - "Bash(./scripts/lint-docs.sh:*)", - "Bash(./scripts/generate-doc-dashboard.sh:*)", - "Bash(./scripts/check-doc-updates.sh:*)", - "Bash(command find ~/projects/teaching/stat-545 -maxdepth 3 -name '*lesson*' -o -name '*plan*')", - "Bash(command find /Users/dt/.git-worktrees/flow-cli/feature-teach-doctor-v2/tests/fixtures/demo-course -maxdepth 3 -name '*lesson*' -o -name '*macro*' -o -name '*plan*')", - "Bash(git rm:*)", - "Bash(brew:*)", - "Bash(brew info:*)", - "Bash(git -C ~/projects/dev-tools/scholar branch --show-current)", - "Bash(git -C ~/projects/dev-tools/scholar remote -v)", - "Bash(git -C ~/projects/dev-tools/scholar pull origin dev)", - "Bash(git -C:*)", - "Bash(while read link)", - "Bash(if [[ ! -f \"$target\" ]])", - "Bash(then echo \" BROKEN: $link\")", - "Bash(fi)", - "Bash(done)", "Bash(tr:*)", - "Bash(if [ ! -f \"$target\" ])", - "Bash(then echo \" BROKEN: $link -> $target\")" + "Bash(cut:*)", + "Bash(fc:*)" ] } }