DEV Community

Claude Code modes, permissions, and settings Series' Articles

Back to Rulestack's Series
Claude Code permission rules: how allow, deny, and ask actually match

Claude Code permission rules: how allow, deny, and ask actually match

Comments
11 min read
claude -p: what headless Claude Code actually loads (and when --bare is the right call)

claude -p: what headless Claude Code actually loads (and when --bare is the right call)

1
Comments 6
5 min read
Claude Code /context vs /memory: check what loaded, change what loads next

Claude Code /context vs /memory: check what loaded, change what loads next

2
Comments 8
4 min read
Claude Code settings precedence: which of your five settings files actually wins

Claude Code settings precedence: which of your five settings files actually wins

Comments 2
4 min read
Claude Code plan mode: what it actually blocks, what still runs, and what approving switches you into

Claude Code plan mode: what it actually blocks, what still runs, and what approving switches you into

Comments 10
5 min read
Auto mode is now Claude Code's default: what the classifier approves, and how to switch back

Auto mode is now Claude Code's default: what the classifier approves, and how to switch back

1
Comments 10
14 min read
Claude Code permission rules: Bash(git push:*) stopped 8 of 14 ways to push, and 5 reached the remote

Claude Code permission rules: Bash(git push:*) stopped 8 of 14 ways to push, and 5 reached the remote

4
Comments 5
12 min read
Claude Code's Read deny rules let 4 of 11 routes through: grep -r, a Python one-liner and two CLAUDE.md @imports

Claude Code's Read deny rules let 4 of 11 routes through: grep -r, a Python one-liner and two CLAUDE.md @imports

3
Comments 7
15 min read
What fills Claude Code's first request: 23,207 tokens in an empty folder, 2,664 after two flags

What fills Claude Code's first request: 23,207 tokens in an empty folder, 2,664 after two flags

Comments
15 min read
A Claude Code deny rule missed 5 ways to git push. A pre-push hook caught all 5, but 2 flags skip it. What guards your remote?

A Claude Code deny rule missed 5 ways to git push. A pre-push hook caught all 5, but 2 flags skip it. What guards your remote?

1
Comments 2
5 min read
Claude Code read a file listed in .claudeignore 12 of 12 times; a Read deny rule blocked every read except grep -r

Claude Code read a file listed in .claudeignore 12 of 12 times; a Read deny rule blocked every read except grep -r

Comments
17 min read
Claude Code 2.1.288 ran TZ="$HOME" rm -rf build past sandboxed deny and ask rules 6 of 6 times; 2.1.289 stopped all 6

Claude Code 2.1.288 ran TZ="$HOME" rm -rf build past sandboxed deny and ask rules 6 of 6 times; 2.1.289 stopped all 6

Comments
15 min read
Claude Code below 2.1.251 let code in its Bash sandbox redirect an Edit outside the workspace on macOS (CVE-2026-88968)

Claude Code below 2.1.251 let code in its Bash sandbox redirect an Edit outside the workspace on macOS (CVE-2026-88968)

Comments 4
6 min read
Claude Code 2.1.322 blocks git 'push' and denied CLAUDE.md imports, but 4 of 14 pushes still reach the remote

Claude Code 2.1.322 blocks git 'push' and denied CLAUDE.md imports, but 4 of 14 pushes still reach the remote

Comments 1
11 min read
We commit Claude Code's settings.local.json on purpose. Five of the 15 allow rules it collected let almost anything through

We commit Claude Code's settings.local.json on purpose. Five of the 15 allow rules it collected let almost anything through

Comments
7 min read