CLAUDE.md Lazy Loading
- Entity ID:
ent-20260423-r31a000000003 - Type:
mechanism - Scope:
private - Status:
active
Description
Context-conservation mechanism beyond the 5-layer compaction pipeline: base CLAUDE.md hierarchy is loaded at session start, but nested directory files and conditional rules are loaded only when the agent reads files in those directories. Keeps the initial prompt small while permitting deep memory coverage at need-to-know granularity.
Key claims
- CLAUDE.md uses lazy loading for nested directories