fix(claude): share the browser-automation rules, untrack the local settings file
.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 <noreply@anthropic.com>
This commit is contained in:
@@ -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)",
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user