Expand description
Project memory — MEMORY.md / CLAUDE.md read/write.
Semantic memory: project context injected into the system prompt.
Memory is stored as human-readable Markdown, loaded from two tiers:
Global (~/.config/koda/memory.md):
User-wide preferences and conventions that apply to all projects.
Project-local (first match wins):
MEMORY.md— Koda nativeCLAUDE.md— Claude Code compatibilityAGENTS.md— Code Puppy compatibility
Both tiers are concatenated and injected into the system prompt.
When Koda writes (auto-memory), it always writes to MEMORY.md.
Functions§
- active_
project_ file - Return which project memory file is active (for display purposes).
- append
- Write an entry to the project’s memory file.
- append_
global - Write an entry to the global memory file (~/.config/koda/memory.md).
- load
- Load memory from both global and project-local sources.