Put your Claude Code shell allow-list in settings.json, not in the prompt
This story is from 2026-10-14. It is preserved in the archive; the latest stories are on the live feed.
Prompts are suggestions. Settings are rules. If you only write "never run dangerous shell commands" in CLAUDE.md , the model can still try them. Claude Code lets you put an explicit allow / deny list in .claude/settings.json so the runtime blocks the tool call before it runs. Minimal example { "per…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-14 01:13 · DEV Community — AI
Put your Claude Code shell allow-list in settings.json, not in the prompt