The memory file is a JSON document with a version, update timestamp, and sectioned arrays of facts. Facts can be plain strings or compact structured facts.

Sections

Limits

Normalization

Older or partial documents are normalized when loaded:
  • Missing known sections are added as empty arrays
  • Facts are trimmed
  • Structured facts are normalized to compact keys and values
  • A missing updated timestamp is replaced with the current time
  • Unknown sections are ignored by the active schema
The schema is intentionally narrow so context stays predictable across clients and restarts.