A 5e storytelling engine with an LLM DM

Add running game transcript so the DM remembers what was said master

The DM was losing conversational details when Claude's session history got long or truncated on resume. The campaign log tracks events and time, the session tracks current state, but neither captures the actual dialogue. Now each player/DM exchange is written to a per-day transcript file in worlds/{world}/transcripts/. The last 10 turns are injected into the system prompt as "Recent Conversation", giving the DM short-term conversational memory independent of Claude's session history. Transcripts are also naturally searchable via recall since they live under the world directory. System messages like [Session starting] are filtered out. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


+178 -2
3 changed files