Skip to content

Memories

EventideMiles edited this page Oct 6, 2026 · 2 revisions

Memories

Memories are durable facts the AI learns about you and your manuscript — voice preferences, the intent behind a choice that looked like a mistake, worldbuilding that doesn't fit a typed lore entry — saved as plain Markdown in your vault. You'll find them under the Lorebook tab → Memories sub-tab. Everything is a file you can open, read, edit, or delete; the panel is just a view.

Memories are not lorebook entries: the typed worldbuilding index (characters, locations, factions) lives in the surrounding Lorebook and feeds coverage and retrieval differently — see Lorebook. Memories are for the process and preference knowledge that doesn't fit that model.

What memories are (and are not)

The model is prompted to save sparingly and only durable context: when you correct an assumption it made ("that slow chapter is intentional"), state a preference about voice or process, or surface a worldbuilding fact future sessions would benefit from. It is told not to save transient discussion, in-progress drafting, restatements of lorebook entries, or obvious manuscript facts — and to delete only when you explicitly ask.

Where they live

One file per scope, under the "Memories folder" (default Memories, created on first write):

  • The scope key is the top-level folder of your active manuscript — working in Manuscript/Chapters/04.md uses Memories/Manuscript.memories.md. Eventide Quill resolves the scope from the current manuscript folder first, falling back to the active file, so brief visits to other notes don't switch pools under you.
  • Files at vault root — no manuscript in context — use the global pool, _global.memories.md, for cross-manuscript facts: series-wide tone, shared worldbuilding.
  • System locations never get a pool: .trash, Obsidian's config folder, and the memories folder itself. The lorebook folder is deliberately not excluded — it gets its own pool, which suits lorebook-coach sessions.

Each memory is one ## section, ending with an Obsidian block ID like ^quill-mem-003 — the stable handle the delete tool targets, preserved when a memory is updated. Sections you add yourself get an ID minted automatically the next time the file is read. Code fences are respected (a ^quill-mem-1 inside a code block is never parsed as an ID), and an H1 title and intro paragraph you add are preserved on every rewrite.

What the model can do

Three tools, available in every co-writer chat mode:

  • save_memory — appends a memory, or replaces the body when a memory with the same heading already exists (so the model updates instead of duplicating; the block ID survives the update). Optional lowercase tags, either passed explicitly or written inline as #hashtags.
  • recall_memory — fetches full bodies matching a query, with an optional tag filter, across the active pool, the global pool, or both. Capped by "Max recall entries" (default 10).
  • delete_memory — removes a memory by block ID. Deletes always show a confirmation modal, regardless of the auto-save toggle — silent destructive operations are too risky to auto-apply — and the modal notes the text is recoverable from Obsidian's file recovery.

Approval for saves follows "Auto-save memories" (default on): on, the write lands immediately with a Notice; off, every save shows a confirmation modal with the proposed heading and body first. The first AI-saved memory also triggers a one-time advisory explaining that memories are included in future co-writer context and sent to your configured provider — awareness, not a consent gate. Today's approval UX is the modal; richer pending-memory review cards (alongside pending lore edits) are a planned follow-up.

How memories reach the model

Hybrid retrieval keeps the default cost small. At the start of each co-writer session, Quill injects a compact index of the active pool plus the global pool — each memory as a heading, its block ID, a first-sentence preview, and its tags — each pool capped by "Max index entries" (default 20, range 0–200; the cap applies per pool, so a session can see up to twice that when both pools are full). If entries were cut, the index says so and points the model at recall_memory for the rest. It looks like this in context:

## Memories (Manuscript)
- **Long passages are intentional pacing** — ^quill-mem-001
  Do not flag the slow passage in chapter 4 — the writer confirmed it.

When "Inject full memory bodies" is on (default off), the previews are replaced with complete bodies — for powerful models with room to spare. Where all of this sits in the overall token budget is covered in Context management.

The system prompt carries a discipline clause matching the rules above, so the model's awareness of when to save is part of the feature itself, not guesswork.

Editing memories yourself

The Markdown file is the source of truth. Cards in the Memories sub-tab show each memory's heading, block ID, a short preview, and its tags; clicking a card opens the file scrolled to that section (Obsidian's path#^id link syntax). "New memory" opens the active scope's file ready for a new section; "Refresh" re-reads after you've edited the file elsewhere.

Because block IDs are load-bearing, the generic editing tools — edit_note, insert_note, append_to_note, revise_edit, delete_paragraph — refuse to touch anything inside the memories folder. The model can't bypass save_memory/delete_memory and clobber your IDs by editing the raw file. You, of course, can edit the file however you like.

Turning it off

The "Memories" toggle (default on) is a full kill switch: off means no memory tools, no discipline clause in the prompt, and no index injected — the feature vanishes from the model's awareness entirely, which matters on small local models where every context token counts. The Memories sub-tab shows a settings hint instead of cards. One dependency to know about: the memory tools ride inside the co-writer's tool registry, so turning off "Co-writer tool use" removes them too.

Clone this wiki locally