NPCs have configurable persistence behavior. The Auto-Trim policy, e.g. Full reset (keep system), controls how context is trimmed when the window fills, with Percent to Drop (30%), Fixed Tokens to Drop (1000), and Token Reset Padding Window (50). Persistence Mode (Override) sets per-NPC behavior.Documentation Index
Fetch the complete documentation index at: https://docs.gladecore.com/llms.txt
Use this file to discover all available pages before exploring further.

Persistence Modes
- Always reset: no memory between sessions
- Resume same NPC: wipe only when a different NPC is loaded
- Full persistence: saves to disk, never auto-deleted
- NPC Save Files
NPC Save Files
See the default Save file location below.
<ProjectSaved>/GladeCore/Sessions/<PersonalityAsset>.glade-state.json (e.g. DA_DemoNPC1.glade-state.json). The file contains chat history, system prompt, and any compressed memory tiers. Writes are atomic (.tmp + rename) to avoid corruption, with a 256 KB warning threshold and 10 MB hard limit.