-
Notifications
You must be signed in to change notification settings - Fork 0
fix(guardrails): resolve team single-task deadlock and permission deny ordering #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9952a4e
680593e
eebe893
e055d63
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -80,7 +80,25 @@ | |||||||||||||||||
| "external_directory": "ask", | ||||||||||||||||||
| "bash": { | ||||||||||||||||||
| "*": "ask", | ||||||||||||||||||
| "node *": "allow", | ||||||||||||||||||
| "npm *": "allow", | ||||||||||||||||||
| "npx *": "allow", | ||||||||||||||||||
| "bun *": "allow", | ||||||||||||||||||
| "git status*": "allow", | ||||||||||||||||||
| "git diff*": "allow", | ||||||||||||||||||
| "git log*": "allow", | ||||||||||||||||||
| "git show*": "allow", | ||||||||||||||||||
| "git branch*": "allow", | ||||||||||||||||||
| "git remote*": "allow", | ||||||||||||||||||
| "git stash*": "allow", | ||||||||||||||||||
| "gh *": "allow", | ||||||||||||||||||
|
Comment on lines
+91
to
+94
|
||||||||||||||||||
| "git branch*": "allow", | |
| "git remote*": "allow", | |
| "git stash*": "allow", | |
| "gh *": "allow", | |
| "git branch*": "ask", | |
| "git remote*": "ask", | |
| "git stash*": "ask", | |
| "gh *": "ask", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bash allow patterns
git branch*,git remote*, andgit stash*also match mutating/destructive subcommands (e.g.git branch -D,git remote add/remove,git stash drop/pop) and will bypass permission prompting. Consider narrowing these patterns to read-only forms or changing them toaskto keep guardrails conservative.