Understand the OpenChronicle Memory Format
mainOpenChronicle stores memory as plain Markdown files located in ~/.openchronicle/memory/. Each file represents a single entity and follows a specific structure: YAML frontmatter followed by a list of append-only entries.
Key characteristics:
- One file per entity: Filenames use specific prefixes to denote the entity type.
- Append-only: Information is never deleted; when facts change, old entries are struck through and new entries are appended.
- Human-readable: Files can be read, searched with
grep, or hand-edited. - Derived Index: The SQLite FTS index (
index.db) is a mirror of these files. If you manually edit files, you must rebuild the index usingopenchronicle rebuild-indexto prevent drift.