Edit knowledge
knowledge.md in your configured editor and creates the file if needed. Organize it with second-level headings:
Let the Entity maintain sections
Theupdate_knowledge tool supports add, update, and remove. For example, the Entity can add a section with:
[locked] section. That lock applies to this tool, not to an operator or process with direct filesystem access.
Automatic context compaction can also extract durable facts into knowledge when compaction_flush_to_knowledge is enabled. This is selective retention; it does not preserve every detail of the original conversation.
Inspect the journal
/journal shows recent entries without asking the model to rewrite them.
A journal may contain personal context. “Private” describes its intended audience, not an encryption guarantee.
Find and preserve the files
Without a configured workspace, these files normally live under the Entity’s state directory.NGRAM_EXECUTION_WORKSPACE_DIR can redirect them to persistent storage, and portable Entities use their runtime cache layout.
Use uv run ngram status rook and the persistence guide to find the actual paths. Back up both files together with the structured memory store.