From df89baffe1bc3d45d0881c95130a78ca92de1785 Mon Sep 17 00:00:00 2001 From: Clint Berry Date: Mon, 8 Jun 2026 23:34:22 +0000 Subject: [PATCH] chore(claude): trim transient and cross-project permission entries Remove one-off command grants (specific sed/node/gofmt/validate-frontmatter invocations, echo-exit noise, .wtest scratch, rm -f *, break, cat) and cross-project deuce-iaq paths that accumulated across recent sessions, keeping the durable generic patterns (git switch/cherry-pick *, docker exec *, gh auth *, npx eslint *, plugin reads, etc.). Collapse additionalDirectories to /tmp, dropping cross-project and stale run dirs. --- .claude/settings.json | 43 +++---------------------------------------- 1 file changed, 3 insertions(+), 40 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index 4a4b5dd..2b7aee8 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -87,68 +87,31 @@ "Bash(curl -sS -D - --max-time 25 __TRACKED_VAR__?open_file=Super+Threads+-+Queue.html)", "Bash(curl -sS --max-time 60 \"https://api.anthropic.com/v1/design/h/XWfzlliHoSegquQccfbe8A?open_file=Super+Threads+-+Queue.html\" -o /tmp/sth-handoff.tar.gz)", "Bash(tar -xzf /tmp/sth-handoff.tar.gz -C docs/design/super-threads)", - "Bash(cd /home/vscode/.claude/plugins/cache/compound-engineering-plugin/compound-engineering/3.9.2/skills/ce-compound && echo \"===SCHEMA===\" && cat references/schema.yaml && echo \"===YAML-SCHEMA===\" && cat references/yaml-schema.md && echo \"===TEMPLATE===\" && cat assets/resolution-template.md)", "Read(//home/vscode/.claude/plugins/cache/compound-engineering-plugin/compound-engineering/3.9.2/skills/ce-compound/**)", - "Bash(git -C /workspaces/deuce remote -v)", "Bash(command -v gh hub)", - "Bash(python3 scripts/validate-frontmatter.py docs/solutions/ui-bugs/agent-run-cards-disappear-after-refresh.md)", - "Bash(echo \"exit=$?\")", - "Bash(python3 -)", - "Bash(python3 /home/vscode/.claude/plugins/cache/compound-engineering-plugin/compound-engineering/3.9.2/skills/ce-compound/scripts/validate-frontmatter.py docs/solutions/ui-bugs/agent-run-cards-disappear-after-refresh.md)", "Bash(tailscale serve *)", "Bash(tailscale status *)", "Bash(curl -s -o /dev/null -w \"HTTP %{http_code}\\\\n\" http://localhost:8080/api/me)", - "Bash(sed -n '/type memberResult struct/,/^}/p' server/internal/handler/teams.go)", - "Bash(sed -n '50,80p' server/internal/handler/agent_run.go)", - "Bash(gofmt -l internal/handler/session_members.go internal/auth/proxy.go)", "Bash(gh --version)", "Bash(git ls-remote *)", "Bash(git rev-list *)", "Bash(git switch *)", "Bash(command -v python3)", - "Bash(cat)", "Bash(node -e ' *)", "Bash(npx eslint *)", - "Bash(grep -E \"\\\\.md$\")", - "Bash(rm -rf /tmp/design-extract /tmp/card-preview.png /tmp/card-preview2.png /tmp/mark-final.png && git status --short)", - "Bash(node -e 'require\\(\"sharp\"\\)\\(\"docs/design/deuce-design-system/project/assets/deuce-icon.png\"\\).metadata\\(\\).then\\(m=>console.log\\(\"dims\",m.width,m.height,\"hasAlpha\",m.hasAlpha\\)\\)')", - "Bash(node -e 'require\\(\"sharp\"\\)\\(\"docs/design/deuce-design-system/project/assets/deuce-icon.png\"\\).resize\\(128,128,{fit:\"cover\"}\\).png\\(\\).toFile\\(\"/tmp/fav-preview.png\"\\).then\\(\\(\\)=>0\\)')", "Read(//home/vscode/.claude/plugins/cache/compound-engineering-plugin/compound-engineering/3.9.2/skills/ce-brainstorm/references/**)", - "Bash(rm -f *)", - "Bash(node -e 'require\\(\"sharp\"\\)\\(\"public/deuce-mark.png\"\\).resize\\(44\\).png\\(\\).toFile\\(\"/tmp/mark-prev.png\"\\).then\\(\\(\\)=>0\\)')", - "Bash(sed -n '12,30p' internal/db/migrations/001_initial_schema.sql)", - "Bash(sed -n '1,40p' internal/db/migrations/002_seed_data.sql)", "Bash(docker exec *)", - "Bash(echo \"EXIT $?\")", - "Bash(gofmt -w internal/handler/teams.go internal/handler/teams_test.go)", - "Bash(echo \"--- exit code $? \\(1 = no non-test importers found\\) ---\")", - "Bash(echo \"exit: $?\")", - "Bash(echo \"build exit: $?\")", "Bash(gh auth *)", "Bash(ssh-add -l)", "Bash(command -v hub gh glab)", - "Bash(xargs git log --oneline -1)", - "Bash(python3 /home/vscode/.claude/plugins/cache/compound-engineering-plugin/compound-engineering/3.9.2/skills/ce-compound/scripts/validate-frontmatter.py docs/solutions/architecture-patterns/broadening-resource-visibility-requires-per-route-authorization-audit.md)", - "Bash(touch /home/vscode/.wtest)", - "Bash(rm /home/vscode/.wtest)", - "Bash(break)", - "Read(//home/vscode/deuce-iaq/server/internal/agent/pirun/extension/**)", - "Read(//home/vscode/deuce-iaq/server/internal/agent/pirun/**)", - "Read(//home/vscode/deuce-iaq/server/internal/ws/**)", "WebFetch(domain:www.anthropic.com)", - "WebFetch(domain:team400.ai)", "WebFetch(domain:arxiv.org)", - "WebFetch(domain:skillsplayground.com)", - "Bash(cd /home/vscode/deuce-iaq && grep -n \"KindAwaitingInput\\\\|PendingQuestion\\\\|SetAwaitingInput\\\\|RequestKind\" server/internal/agent/runtime.go)", - "Read(//home/vscode/deuce-iaq/**)", - "Bash(git cherry-pick *)" + "Bash(git cherry-pick *)", + "Bash(node)" ], "defaultMode": "bypassPermissions", "additionalDirectories": [ - "/tmp/compound-engineering/ce-code-review/20260606-203815-pireview", - "/tmp/design-extract", - "/tmp", - "/home/vscode/deuce-iaq/server/internal/agent/pirun/extension" + "/tmp" ] }, "enabledPlugins": {