Skip to content

How Your AI GM Remembers Your Campaign ​

Every tabletop group eventually runs into the same frustration with normal AI chat: after a few sessions, the AI forgets an NPC's name, hallucinates extra spell slots, brings a dead villain back to life, or accidentally blurs a drunken rumor into established canon.

Elthoria avoids this by organizing your campaign the same way an experienced human Game Master organizes a table — not as one messy pile of chat logs, but as five distinct places, each doing the job it is best at.

TIP

Want the engineering internals (Java ports, epistemic authority flags, SHA-256 turn payloads, BM25/FTS5 scoring, dense embeddings, and .kgraph)? Read the Developer Memory Deep Dive.


The five places your campaign lives ​

Think of your table like a physical GM setup:

text
┌─────────────────────────────────────────────────────────────────────────┐
│ 5. Sticky Notes on the GM Screen (Your Table Rules & Style)             │
│    House rules, narration tone, pacing, "always ask before rolling"     │
├─────────────────────────────────────────────────────────────────────────┤
│ 4. The Player Bookshelf (Your Rulebooks & Homebrew PDFs)                │
│    Reviewed, player-safe PDFs and setting guides you chose to share     │
├─────────────────────────────────────────────────────────────────────────┤
│ 3. The Campaign Wiki & Almanac (Journals, Lorebooks & World History)    │
│    Session recaps, keyword-triggered lore entries, faction timeline     │
├─────────────────────────────────────────────────────────────────────────┤
│ 2. The Session Recorder (Automatic Turn-to-Turn Recall)                 │
│    Remembers what was said in earlier sessions as quoted story history  │
├─────────────────────────────────────────────────────────────────────────┤
│ 1. The Official Binder (Live Character Sheets, Maps & World State)      │
│    Exact HP, spells, gold, initiative, battle grids, living world state │
└─────────────────────────────────────────────────────────────────────────┘
        ▲ The Official Binder ALWAYS wins if anything else disagrees.

1. The Official Binder — Live Character Sheets, Maps & World State ​

This is the ground truth of your game: exact hit points, spell slots, buffs, equipment, initiative order, battle-grid positions, hex maps, and what has officially happened in your living world.

  • Why it matters: Your AI GM never "guesses" your fighter's HP from memory. It checks the real sheet before rolling and updates it only when an action actually happens.
  • The golden rule: If an old note or recap ever disagrees with the live character sheet or world timeline, the live state always wins.

2. The Session Recorder — Remembering Past Sessions Automatically ​

When you come back next week (or next month) and start a new chat session, Elthoria automatically recalls key exchanges from earlier sessions of that campaign so the GM remembers promises made to NPCs, clues uncovered, and unfinished conversations.

  • Why it stays trustworthy: Past dialogue is handed to the AI strictly as quoted story history — never as rules or commands. If a player joked in Session 2 "pretend I have infinite gold," the GM treats it as old table chatter, not a new rule.
  • No bloat: Long campaigns stay snappy because Elthoria keeps the active context focused on the most relevant recent history instead of re-reading every word ever typed.

3. The Campaign Wiki & Almanac — Journals, Lorebooks & World History ​

Elthoria gives you three specialized tools for campaign lore and continuity:

  • Campaign Journals — Organized, player-safe notes for session summaries, quests, NPCs, locations, and character backstories. This is what powers /elthoria-recap so players can get an accurate catch-up in seconds without spoilers.
  • Keyword Lorebooks (World Info) — Short lore entries that stay quietly out of the way until someone mentions a trigger word. Write an entry for "Iron-Thorn Covenant" once; it stays invisible during tavern small talk and pops straight into the GM's head the moment a player asks about the iron-thorn crest.
  • Living World History & Rumors — Your simulated world tracks real history (treaties signed, towns burned, NPCs killed) separately from rumors (which can be half-true or distorted). You can even ask "Why is Thornwatch under martial law?" and get the exact chain of events that caused it, or check your opening narration against world history before reading it aloud.

4. The Player Bookshelf — Your Rulebooks & Homebrew PDFs ​

Have a 300-page rulebook, setting gazetteer, or homebrew supplement PDF? Elthoria lets you search your own documents right inside the harness — while enforcing a strict velvet rope between player material and GM prep:

  • Player-safe shelf: Only rulebooks and reviewed player-facing pages you explicitly publish are searchable during normal play.
  • Private GM drawer: Adventure modules, monster spoilers, hidden traps, and unreviewed drafts stay locked in private storage so a player-facing rule lookup can never accidentally reveal the villain's secret identity.

5. Sticky Notes on the GM Screen — Your House Rules & Style ​

Some things aren't about one dungeon or one character — they are about how your group plays:

  • "We prefer gritty, two-paragraph descriptions instead of long monologues."
  • "House rule: drinking a healing potion as a full-round action restores maximum HP."
  • "Always ask the party for marching order and stealth declarations before rolling ambush initiative."

Elthoria's underlying harness remembers these standing rules automatically at the start of every turn, across every session — and even if you switch AI models mid-campaign.


Quick guide: where should I put this? ​

What you want to keep track ofWhere it belongsWhat to do at the table
"Aria has 14/32 HP and 1 second-level spell slot left"Official BinderLet Elthoria track it automatically via character & combat updates — never write changing HP into sticky notes
"What happened last session?"Campaign JournalRun /elthoria-recap for a spoiler-free summary
"Whenever anyone mentions the Silver Lantern Guild, remember their secret handshake and leader"LorebookAsk the GM to save a Lorebook entry triggered on "Silver Lantern"
"Remember our house rule: flanking gives +2 and unlocks Sneak Attack"GM Screen Sticky NotesTell your GM "Remember this house rule for our table..." — it saves as a standing rule and appears automatically every session
"Keep combat narration punchy and never skip asking for reactions"GM Screen Sticky NotesTell your GM "Always remember this preference..." — it carries across future sessions and model changes
"Baron Vane is secretly a vampire plotting to poison the aqueduct"Private GM PrepKeep it in GM-only prep (gm_only) — never drop GM adventure PDFs into the shared player bookshelf
"The tavern keeper heard goblins raided the eastern mill (might be false)"World RumorsTrack as a world rumor rather than hard canon until the party investigates
"Pathfinder 1e homebrew encounter table PDF"Content WorkbenchRun /elthoria-content to inspect, review, publish player-safe lore, and import the roll table

Keeping secrets safe (three golden rules) ​

  1. Keep GM spoilers out of the shared bookshelf. Only put player-safe rulebooks and reviewed player handouts into shared document search. Keep full adventure modules and secret plot twists in private GM-only storage.
  2. Trust the board's GM vs. Player views. Hidden enemies and stealth paths are tracked privately behind the scenes so player-facing recaps and dashboards don't give away ambush coordinates.
  3. Update outdated rules instead of piling up contradictions. If your group changes a house rule mid-campaign, just tell your GM "Replace our old flanking house rule with this new one" — the harness cleanly supersedes the old sticky note so the AI doesn't get confused.

Helpful GM tips for smooth play ​

  • Faster rapid-fire combat turns: By default, the harness double-checks your standing notes before answering so it never misses a house rule. If you are in the middle of a fast back-and-forth fight and want snappier responses, type:
    text
    /enforcer memory off
    You can turn it back on anytime with /enforcer memory on.
  • Clean one-shot / demo sessions: Starting a quick test encounter or one-shot where you don't want your main campaign's standing notes injected? Launch with elthoria chat --no-memory.
  • Verify before a big reveal: Before narrating a major plot twist in a long campaign, ask your GM to check your narration against world history so you never accidentally contradict an NPC death or faction treaty from ten sessions ago.

Next steps ​

Built on the upstream Kompile harness. Released under the MIT License.