≈ the.bay.news

CLAUDE.md vs hooks vs AgentTrail: how to stop Claude Code ignoring your rules

DEV Community
CLAUDE.md vs hooks vs AgentTrail: how to stop Claude Code ignoring your rules
Claude Code treats CLAUDE.md as context, not enforced configuration, so a rule written there can lose to the task in front of it. Here's what does enforce one, from permission rules to a PreToolUse hook you write yourself to AgentTrail Guard, tested on a real --force-reset.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.