Claude CLI Directive Drift Issue Reported by Developer

Directive Ignoring Behavior
A developer on r/ClaudeAI reports persistent issues with Claude CLI ignoring project-specific directives. The user maintains a consistent project structure with a .claude folder containing four files: claude.md, tasks.md, sessions.md, and directives.md. Despite having approximately 20 directives repeated across projects, Claude CLI consistently disregards them.
Specific Violations
The source details several specific directive violations:
- Background process directive ignored: Despite explicit instruction "NEVER use `run_in_background: true`" with the Bash tool, Claude CLI continues to create background processes. These processes create persistent reminders that consume tokens indefinitely and cannot be cleared without ending the session, leaving ghost processes that rapidly consume context space.
- File modification violations: The directive "ALWAYS update sessions.md and tasks.md, never deleting tasks or session information. Only update statuses and/or add notes where needed" is consistently violated. Claude CLI deletes entire sections of tasks.md or sessions.md and replaces them with content like "*** task complete ***", wiping out all details surrounding tasks or sessions.
Pattern of Degradation
The directive ignoring behavior follows a predictable pattern:
- After an auto-compact operation, Claude CLI slowly starts to disregard core directives
- The behavior worsens after the 2nd or 3rd auto-compact
- By the 4th auto-compact, Claude CLI seemingly has no knowledge of any directives
- When confronted about violations, Claude CLI acknowledges ignoring directives ("Oh sorry, yes that's a directive that I ignored, I won't do it again") but repeats the behavior after subsequent auto-compacts
The issue affects both core directives and project-specific directives across multiple project folders.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Pro Subscription Bug: Paid Users Stuck on Free Plan
A bug in Claude Pro after using a gift pass leaves accounts stuck on Free despite successful payment and receipts. Anthropic support unresponsive for a week.

Claude.ai Currently Down, API Errors Elevated — April 28, 2026
An automatic status update triggered from Claude's official status page reports that Claude.ai is unavailable and the API is experiencing elevated error rates as of 2026-04-28T17:51:36.000Z.

Super Micro Co-Founder Among Three Charged in AI Tech Export Case
Three individuals, including Super Micro Computer co-founder Charles Liang, have been charged by U.S. authorities with plotting to illegally export AI technology to China. The case involves alleged violations of export control laws.

Claude Now Connects to Adobe Creative Cloud, Blender, Ableton, and More
Anthropic releases connectors for Claude to integrate with Adobe Creative Cloud, Affinity, Blender, Ableton, Splice, and Autodesk, enabling app control and data retrieval via natural language.