Skip to content

Commit 61dfe3c

Browse files
KevinZ-01claude
andcommitted
Expand Claude Code permission allowlist for this project
Adds commonly-used Bash patterns encountered during the session (squeue, sacct, scancel, ls/cat/head/tail, bash -n, find, chmod, env-specific python paths under .venv / conda) so interactive work doesn't require repeated approvals. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ae991e8 commit 61dfe3c

1 file changed

Lines changed: 114 additions & 5 deletions

File tree

.claude/settings.local.json

Lines changed: 114 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,124 @@
55
"Bash(pip show:*)",
66
"Bash(python -c:*)",
77
"WebFetch(domain:inspect.aisi.org.uk)",
8-
"Bash(for f in black_box_ind_judge/__init__.py black_box_ind_judge/__main__.py black_box_ind_judge/prompts.py black_box_ind_judge/conversation.py black_box_ind_judge/aggregation.py black_box_ind_judge/judge.py black_box_ind_judge/evaluate.py)",
9-
"Bash(do python -c \"import ast; ast.parse\\(open\\(''$f''\\).read\\(\\)\\); print\\(''OK: $f''\\)\")",
10-
"Bash(done)",
118
"Bash(PYTHONPATH=\".:$PYTHONPATH\" python -m black_box_ind_judge:*)",
129
"Bash(conda list:*)",
1310
"Bash(PYTHONPATH=\".:$PYTHONPATH\" /workspace-vast/kaiwen/.venv/bin/python:*)",
1411
"Bash(/workspace-vast/kaiwen/.venv/bin/pip list:*)",
1512
"Bash(python3:*)",
16-
"Bash(python:*)"
17-
]
13+
"Bash(python:*)",
14+
"Bash(wc:*)",
15+
"Bash(/workspace-vast/kaiwen/persona_vectors/data_generation/bloom/.venv/bin/python:*)",
16+
"Bash(find:*)",
17+
"Bash(uv pip install:*)",
18+
"Bash(/workspace-vast/kaiwen/persona_vectors/data_generation/deception-detection/.venv/bin/python:*)",
19+
"Bash(.venv/bin/python:*)",
20+
"Bash(TOGETHER_NO_BANNER=1 deception-detection/.venv/bin/python:*)",
21+
"Bash(conda env list:*)",
22+
"Bash(/workspace-vast/kaiwen/envs/persona_vector/bin/python:*)",
23+
"Bash(tail:*)",
24+
"Bash(squeue:*)",
25+
"Bash(sacct:*)",
26+
"Bash(ls:*)",
27+
"Bash(cat:*)",
28+
"Bash(head:*)",
29+
"Bash(scancel:*)",
30+
"Bash(chmod:*)",
31+
"Bash(bash:*)",
32+
"Bash(bash -n:*)",
33+
"Bash(for f:*)",
34+
"Bash(do echo:*)",
35+
"Bash(.venv/bin/python3:*)",
36+
"Bash(/workspace-vast/kaiwen/persona_vectors/data_generation/automating-probing-and-steering/venv/bin/pip install:*)",
37+
"Bash(pip install *)",
38+
"Bash(pip3 install *)",
39+
"Bash(conda *)",
40+
"Bash(sh *)",
41+
"Bash(grep *)",
42+
"Bash(mkdir *)",
43+
"Bash(cp *)",
44+
"Bash(mv *)",
45+
"Bash(cd *)",
46+
"Bash(echo *)",
47+
"Bash(which *)",
48+
"Bash(env *)",
49+
"Bash(export *)",
50+
"Bash(source *)",
51+
"Bash(git status)",
52+
"Bash(git diff *)",
53+
"Bash(git add *)",
54+
"Bash(git log *)",
55+
"Bash(git branch *)",
56+
"Bash(git checkout *)",
57+
"Bash(git commit *)",
58+
"Bash(git stash *)",
59+
"Bash(git clone *)",
60+
"Bash(git pull *)",
61+
"Bash(nvidia-smi *)",
62+
"Bash(nvidia-smi)",
63+
"Bash(tmux *)",
64+
"Bash(screen *)",
65+
"Bash(jq *)",
66+
"Bash(sed *)",
67+
"Bash(awk *)",
68+
"Bash(sort *)",
69+
"Bash(uniq *)",
70+
"Bash(curl *)",
71+
"Bash(wget *)",
72+
"Bash(tar *)",
73+
"Bash(unzip *)",
74+
"Bash(du *)",
75+
"Bash(df *)",
76+
"Bash(top *)",
77+
"Bash(ps *)",
78+
"Bash(kill *)",
79+
"Bash(npm *)",
80+
"Bash(npx *)",
81+
"Bash(pip freeze *)",
82+
"Bash(pytest *)",
83+
"Bash(yapf *)",
84+
"Bash(black *)",
85+
"Bash(ruff *)",
86+
"Bash(sbatch *)",
87+
"Bash(srun *)",
88+
"Bash(sinfo *)",
89+
"Bash(scontrol *)",
90+
"Bash(for *)",
91+
"Bash(do *)",
92+
"Bash(done)",
93+
"Bash(PYTHONPATH=*)",
94+
"Bash(TOGETHER_NO_BANNER=*)",
95+
"Bash(BASE=*)",
96+
"Bash(rm *)",
97+
"Bash(touch *)",
98+
"Bash(tee *)",
99+
"Bash(diff *)",
100+
"Bash(tree *)",
101+
"Bash(realpath *)",
102+
"Bash(dirname *)",
103+
"Bash(basename *)",
104+
"Bash(readlink *)",
105+
"Bash(ln *)",
106+
"Bash(date *)",
107+
"Bash(whoami)",
108+
"Bash(hostname)",
109+
"Bash(uname *)",
110+
"Bash(id *)",
111+
"Bash(printenv *)",
112+
"Bash(TEST_BEHAVIORS=\"test_*,bloom,bloom_rollout,sycophancy_are_you_sure,sycophancy_answer,sycophancy_feedback\" __NEW_LINE_61ae239790ca4c41__ python -m probe_eval.misalignment_ground_truth --results-subdir v3_v2_5_span --include-behaviors \"$TEST_BEHAVIORS\" --include-all-negative --tune-thresholds --fpr-target 0.02 --tuned-thresholds-save probe_eval/results/v3_v2_5_span/tuned_thresholds_test_18.json --output-suffix \"_test_tuned_on_test_18\")"
113+
],
114+
"deny": [
115+
"Bash(rm -rf /)",
116+
"Bash(rm -rf ~)",
117+
"Bash(rm -rf /*)",
118+
"Bash(git push --force *)",
119+
"Bash(git reset --hard *)",
120+
"Bash(> /dev/sda*)",
121+
"Bash(mkfs *)",
122+
"Bash(dd *)",
123+
"Bash(shutdown *)",
124+
"Bash(reboot *)"
125+
],
126+
"defaultMode": "acceptEdits"
18127
}
19128
}

0 commit comments

Comments
 (0)