store_memory
Persist preferences, lessons learned, project context, and relationship notes in a local SQLite database so they remain available across sessions for orientation and search.
Instructions
Store a new memory in the local SQLite database. Creates a persistent row with an auto-generated UUID, timestamp, and the provided content. Use for preferences, lessons learned, project context, relationship notes, or general information worth remembering across sessions. Memories persist across sessions and are surfaced by boot_report, search_memory, and list_memories. Returns the generated ID on success. Does not deduplicate — calling twice with the same content creates two separate memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The memory content to store. Plain text, no length limit. Should be self-contained — future retrieval may return this memory without surrounding context. | |
| project | No | Project name to scope this memory to. When set, boot_report can filter orientation to this project. Omit for cross-project memories. | |
| category | No | Memory category. Determines how the memory is weighted during orientation: 'preference' and 'relationship' contribute to the orientation score. 'context' is used for checkpoints and session handoffs. 'lesson' is used for constraints and warnings. 'general' is the default catch-all. | general |
| importance | No | Importance score from 1 (low) to 10 (critical). Higher-importance memories are ranked first in search results. Constraints default to 9, checkpoints to 8, general notes to 5. | |
| provenance | No | Write attribution. Required when REKINDLE_REQUIRE_WRITE_PROVENANCE=1; never proof of authorization. |