Expand description
CLAUDE.md hierarchical loading.
Loads instruction files from 4 scopes with priority merging:
- Managed: ~/.claude/rules/*.md
- User: ~/.claude/CLAUDE.md
- Project: {root}/CLAUDE.md
- Local: {root}/.claude/CLAUDE.md
Structs§
- Memory
File Info - A loaded CLAUDE.md / rules file with metadata.
Enums§
- Memory
Scope - Scope of a CLAUDE.md file (highest priority first).
Functions§
- build_
memory_ prompt - Build a merged memory prompt from all loaded files.
- load_
all_ memory_ files - Load all CLAUDE.md / rules files for a project, in priority order.