mirror of
https://github.com/itme-brain/agent-team.git
synced 2026-05-08 11:40:12 -04:00
fix: add schema, Bash deny rules for secrets, fix git push -f glob
This commit is contained in:
parent
5095de1fea
commit
2fdd30bf04
1 changed files with 10 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash",
|
||||
|
|
@ -14,7 +15,7 @@
|
|||
"Bash(rm *)",
|
||||
"Bash(rmdir *)",
|
||||
"Bash(git push --force*)",
|
||||
"Bash(git push -f *)",
|
||||
"Bash(git push -f*)",
|
||||
"Bash(git reset --hard*)",
|
||||
"Bash(git clean *)",
|
||||
"Bash(chmod *)",
|
||||
|
|
@ -31,7 +32,14 @@
|
|||
"Read(~/.aws/**)",
|
||||
"Read(~/.gnupg/**)",
|
||||
"Read(./.env)",
|
||||
"Read(./.env.*)"
|
||||
"Read(./.env.*)",
|
||||
"Bash(cat ~/.ssh/*)",
|
||||
"Bash(cat ~/.aws/*)",
|
||||
"Bash(cat ~/.gnupg/*)",
|
||||
"Bash(cat .env*)",
|
||||
"Bash(less ~/.ssh/*)",
|
||||
"Bash(less ~/.aws/*)",
|
||||
"Bash(less ~/.gnupg/*)"
|
||||
]
|
||||
},
|
||||
"model": "sonnet",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue