> Simply put: whatever you write in CLAUDE.md, Claude will follow.

No.

CLAUDE.md is just prompt text. Compaction rewrites prompt text.

If it matters, enforce it in other ways.

[deleted]

CLAUDE.md survives compaction.

It's meant to, yes.

Exactly!

[flagged]