[MODEL] Claude Code forgets project rules during session continuations

Resolved 💬 3 comments Opened Feb 20, 2026 by weilhalt Closed Feb 24, 2026

Preflight Checklist

  • [x] I have searched existing issues for similar behavior reports
  • [x] This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Claude modified files I didn't ask it to modify

What You Asked Claude to Do

Claude Code forgets project rules during session continuations. When context from previous sessions is compressed, the initialization instructions (MEMORY.md, CLAUDE.md) are loaded, but the planning files referenced within them are not actually read. Consequently, the user has to repeatedly explain the same fundamental rules.

What Claude Actually Did

forgot everything after new session and repeats all failures over and over.

Expected Behavior

Remember the guidelines!

Files Affected

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

_No response_

Claude Model

Opus

Relevant Conversation

Impact

Critical - Data loss or corrupted project

Claude Code Version

claude code / cli

Platform

Anthropic API

Additional Context

_No response_

View original on GitHub ↗

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