Skip to content

Commit 80473ca

Browse files
committed
ai: allow certain tools unconditionally
These tools are harmless and allow tasks to continue with less user confirmations. Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I7482c210ea10235f66a0e2b79aa85ccd0a5c6f43 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1219638 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
1 parent 6c32704 commit 80473ca

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.claude/settings.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(go test:*)",
5+
"Bash(go build:*)",
6+
"Bash(go list:*)",
7+
"Bash(go fmt:*)",
8+
"Bash(find:*)",
9+
"Bash(grep:*)",
10+
"Bash(ls:*)",
11+
"Bash(tail:*)",
12+
"Bash(awk:*)",
13+
"Bash(git status:*)",
14+
"Bash(git log:*)",
15+
"Bash(git show:*)",
16+
"Bash(git diff:*)",
17+
"Bash(git branch:*)",
18+
"Bash(git ls-files:*)",
19+
"Bash(git ls-tree:*)",
20+
"Bash(git rev-parse:*)",
21+
"Bash(git describe:*)",
22+
"Bash(git config --get:*)",
23+
"Bash(git config --list:*)",
24+
"Bash(git add:*)",
25+
"Bash(true:)",
26+
"Bash(echo:*)",
27+
"Bash(go run:./cmd/cue eval*)",
28+
"Bash(go run:./cmd/cue export*)",
29+
"Bash(go run:./cmd/cue def*)"
30+
],
31+
"deny": [
32+
"Bash(go:* -exec*)",
33+
"Bash(go:* -toolexec*)"
34+
]
35+
}
36+
}

0 commit comments

Comments
 (0)