From 69de933ab0ea8a750ed2575e1e60cb21c8598c17 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Tue, 11 Aug 2026 21:27:15 +0200 Subject: [PATCH] fix(claude): share the browser-automation rules, untrack the local settings file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .claude/settings.local.json was tracked — the one file in the workspace whose whole purpose is to stay out of version control. .gitignore has listed it since it was added and line 130 even carries the git rm --cached command, but gitignore cannot act on a path git already tracks, so the rule had never once fired. Nothing leaked. Both committed versions held four permission rules and no env keys, checked per commit rather than only at HEAD. The risk was prospective: the next person to put a credential in the local overrides file would have committed it, and the ignore rule would have stayed silent about it. The four rules are worth sharing, so they move rather than disappear. They allow chrome-devtools screenshot/snapshot/navigate and puppeteer evaluate — visual verification, which is routine work in a Flutter UI and not one person's preference. settings.json is committed by design and already carries 16 allow and 43 deny rules, so they now sit with their peers. Anyone cloning this repo keeps the tooling; before this commit they only got it by accident. The file itself stays on disk, so no one loses local settings. It is simply no longer shared, and the existing ignore rule now has something it can act on. Closes T-1. Co-Authored-By: Claude --- .claude/settings.json | 6 +++++- .claude/settings.local.json | 10 ---------- 2 files changed, 5 insertions(+), 11 deletions(-) delete mode 100644 .claude/settings.local.json diff --git a/.claude/settings.json b/.claude/settings.json index d7f7837..f3107fd 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -19,7 +19,11 @@ "Bash(dart analyze:*)", "Bash(dart format:*)", "Bash(docker logs tatlock-ui:*)", - "Bash(curl -sI http://localhost:9999/*)" + "Bash(curl -sI http://localhost:9999/*)", + "mcp__chrome-devtools__take_screenshot", + "mcp__puppeteer__puppeteer_evaluate", + "mcp__chrome-devtools__navigate_page", + "mcp__chrome-devtools__take_snapshot" ], "deny": [ "Bash(/mnt/media/Projects/cladmin/ops/bin/toj)", diff --git a/.claude/settings.local.json b/.claude/settings.local.json deleted file mode 100644 index 8847f7f..0000000 --- a/.claude/settings.local.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "permissions": { - "allow": [ - "mcp__chrome-devtools__take_screenshot", - "mcp__puppeteer__puppeteer_evaluate", - "mcp__chrome-devtools__navigate_page", - "mcp__chrome-devtools__take_snapshot" - ] - } -}