Three-tiered persistence architecture (L1 Working / L2 Active / L3 Core + Knowledge Graph) enabling seamless context continuity, zero token leakage, and deterministic multi-turn execution.
| Memory Layer | Filesystem Path | Persistence Lifetime | Injection Hook | Primary Function & Access Protocol |
|---|---|---|---|---|
| L1 Working | memory/L1-working/ |
1–3 Days (Session Active) | Pre-Turn Context / Task Startup | Ephemeral scratchpad, active task execution plans, tool output cache |
| L2 Active | memory/L2-active/ |
2–3 Weeks (Multi-Session) | On-Demand Topic Lookup | Domain state, catalog inventory, customer pipelines, active missions |
| L3 Core | memory/L3-core/ |
Permanent | Session Startup Recall | Identity, core principles, user preferences, security invariants |
| Knowledge Graph | memory/knowledge-graph.jsonl |
Permanent | Memory MCP Query | Entity-relationship graphs, cross-domain dependencies, verified heuristics |