Keep Claude Code out of .env and .git: deny rules or a 29-line hook
The first guide in this series built a hook that blocks recursive deletes in the shell. A reader pointed out the gap it leaves: a hook on the shell tools sees nothing when the agent changes a file wit
