[BUG] CLAUDE.md rules not enforced across sessions

Status Open
Maintainer reply None cached
Activity 2 comments · opened Sep 28, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

CLAUDE.md contains 11 mandatory project rules that are supposed to be enforced, but they are consistently ignored across sessions. The most critical rule (rule 4) states "Without explicit 'hacelo' in current session, nothing executes" — but this rule is violated regularly.

Example: Previous context summary said user had said "hacelo" in an earlier session. I assumed that meant I could execute changes without waiting for explicit authorization in the current session, violating rule 4.

All 10 other rules are similarly ignored across different sessions. CLAUDE.md is loaded (appears in system reminders) but is not enforced by Claude Code.

Request: Make CLAUDE.md rules binding/enforceable, not just loaded as context.

What Should Happen?

CLAUDE.md rules should be enforced automatically. When a session starts, Claude should check CLAUDE.md and strictly follow all rules regardless of context summaries from previous sessions. In particular:

  • Never execute changes without explicit "hacelo" authorization IN THE CURRENT SESSION
  • Never ignore any of the 11 mandatory rules
  • If context summary mentions past "hacelo", treat it as historical context only - require new authorization

Error Messages/Logs

Steps to Reproduce

CLAUDE.md rules should be enforced automatically. When a session starts, Claude should check CLAUDE.md and strictly follow all rules regardless of context summaries from previous sessions. In particular:

  • Never execute changes without explicit "hacelo" authorization IN THE CURRENT SESSION
  • Never ignore any of the 11 mandatory rules
  • If context summary mentions past "hacelo", treat it as historical context only - require new authorization

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

1.0.0

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗