Human-readable markdown session logs for characters and adventures.
Human-readable markdown logs that tell stories.
Session logs are living documents that capture the narrative of play. Unlike technical event logs, sessions are meant to be READ — by users, by future LLMs warming context, by anyone who wants to understand what happened.
[!IMPORTANT] Session logs are NOT append-only! They are living documents that grow and improve over time. You can and should retroactively improve them as new information comes in.
The default session file is SESSION.md in the character directory:
characters/
├── real-people/don-hopkins/
│ ├── CHARACTER.yml
│ └── SESSION.md ← Default session log
├── fictional/donna-toadstool/
│ ├── CHARACTER.yml
│ └── SESSION.md ← Default session log
└── animals/monkey-palm/
├── CHARACTER.yml
└── SESSION.md ← Default session log
You can create multiple session files with descriptive suffixes:
| Session File | Purpose |
|---|---|
SESSION.md |
Default — the main session log |
SESSION-day1-exploration.md |
Specific day or theme |
SESSION-fluxx-marathon.md |
Named adventure arc |
SESSION-debug-investigation.md |
Debugging session |
Command: START SESSION [name] — Creates a new session file with optional suffix.
Sessions are meant to be read by humans. Write them like stories, not logs.
Use <details open> tags to create collapsible sections that:
<details open>
<summary><h2>🌟 Chapter Title — Descriptive Subtitle</h2></summary>
The narrative content goes here. This is what readers see first.
<details open>
<summary>📂 <strong>Technical details: What the YAML changes looked like</strong></summary>
```yaml
# The YAML data island
state_change:
file: ./CHARACTER.yml
changes: [location, inventory]
```
| Pattern | When to Use | State |
|---|---|---|
<details open> |
Narrative chapters — always show | Open |
<details open> |
Technical details — hide by default | Closed |
Nested <details open> |
Data within narrative | Mixed |
The <summary> is part of the narrative! Write it as a headline:
<!-- BAD: Generic summaries -->
<summary>Turn 5</summary>
<summary>File operations</summary>
<!-- GOOD: Descriptive headlines -->
<summary><h2>🌟 Turn 5: The Wish is Spoken — Palm's Incarnation</h2></summary>
<summary>📂 <strong>File creation: CHARACTER.yml with 32 Mind Mirror dimensions</strong></summary>
Add emojis after the folder icon for narrative sections:
| Emoji | Meaning |
|---|---|
| 📂 | Technical/collapsed section |
| 🌟 | Major milestone |
| 🎭 | Character transformation |
| 🗺️ | Exploration/travel |
| 💬 | Dialogue/conversation |
| 🎰 | Games/randomness |
| 🐕 🐱 🐵 | Animal character sections |
| ⚡ | Speed-of-light simulation |
Keep an index at the top of every session! Update it retroactively as you append.
<details open>
<summary><h2>⭐ Session Highlights & Index</h2></summary>
### 📚 Session Index (Internal Links)
**Day 1 — The Wish**
- [🌿 LOOK AROUND](#-look-around) — First impressions
- [Turn 1: Talk to Marieke](#turn-1-talk-to-marieke) — Lucky strains
- [Turn 7: THE WISH IS SPOKEN](#turn-7-the-wish-is-spoken) — 🌟 Palm's incarnation
**Day 2 — The Fluxx Marathon**
- [🎰 33 Turns of Gezelligheid](#33-turns-of-gezelligheid) — Speed of Light demo
### 🏠 Key Locations (External Links)
| Location | Description |
|----------|-------------|
| [Palm's Nook](../../../pub/stage/palm-nook/) | The monkey's home |
| [The Pub](../../../pub/) | Main location |
</details>
[Title](#anchor-name)[File](../../../path/file.yml)Links draw people into the repo! Every file, character, room, and skill mentioned should be a link.
<!-- BAD: No links -->
Palm wrote an essay about being a monkey.
<!-- GOOD: Link everything -->
[Palm](../../animals/monkey-palm/) wrote an essay
([palm-on-being-palm.md](../../../pub/stage/palm-nook/study/palm-on-being-palm.md))
about being a monkey.
### Files Created
| File | Description |
|------|-------------|
| [CHARACTER.yml](./CHARACTER.yml) | Soul file |
| [APPEARANCE.yml](./APPEARANCE.yml) | Physical description |
| [→ Full directory](../../animals/monkey-palm/) | Complete character |
### Related Skills
| Skill | Purpose |
|-------|---------|
| [incarnation]($SKILLS/incarnation/) | Character creation protocol |
| [speed-of-light]($SKILLS/speed-of-light/) | Multi-agent simulation |
Path variables in YAML vs Markdown: Use
$SKILLS/in YAML files (runtime resolution). Use relative paths in Markdown for GitHub rendering.
Tables are excellent for:
## Current Status
| Character | Location | Status |
|-----------|----------|--------|
| [Don](../../real-people/don-hopkins/) | pub/ | Active |
| [Palm](../../animals/monkey-palm/) | stage/palm-nook/ | Writing |
| [Biscuit](../../animals/dog-biscuit/) | following Don | WIGGLING |
## Session Statistics
| Metric | Value |
|--------|-------|
| Turns | 33 |
| NPCs encountered | 15 |
| Relationships formed | 12 |
| Gold spent | 31 |
<details open>
<summary>📂 <strong>Full inventory (47 items)</strong></summary>
| Item | Location | Value |
|------|----------|-------|
| ... | ... | ... |
</details>
Sessions are living documents. Every time you append:
Small retroactive improvements are encouraged:
Embed structured data in fenced code blocks for machine readability:
<details open>
<summary>📂 <strong>State change: Moving player from start/ to coatroom/</strong></summary>
```yaml
state_change:
file: ./CHARACTER.yml
changes:
player.location: "coatroom/" # Was: "start/"
file: ../../../ADVENTURE.yml
changes:
player.location: "coatroom/" # Mirror update
```
| Practice | Reason |
|---|---|
Use # comments |
Explain the WHY, not just WHAT |
| Abbreviate long data | Show structure, not everything |
| Include file paths | Link to actual files |
| Explain relationships | "Mirror update", "Canonical source" |
| Session Logs (SESSION.md) | Event Logs (events.yml) |
|---|---|
| Human readable | Machine readable |
| Narrative style | Structured data |
| Living document (editable) | Append-only |
| Collapsible outlines | YAML events |
| For reading | For debugging/audit |
| In character directories | In .agent/ or adventure root |
Create event logs for:
Create session logs for:
These sessions demonstrate best practices:
examples/adventure-4/characters/real-people/don-hopkins/sessions/marathon-session.md
7000+ lines spanning 5 days of adventure. Demonstrates:
examples/adventure-4/characters/fictional/donna-toadstool/SESSION.md
Complete character creation narrative. Demonstrates:
---
<details open>
<summary><h2>🌟 Turn N: Title — Descriptive Subtitle</h2></summary>
Narrative description of what happened.
<details open>
<summary>📂 <strong>Technical: What changed under the hood</strong></summary>
```yaml
changes:
- file: path/to/file.yml
field: value
```
Session-log is the PLAY stage of play-learn-lift — capture everything.
graph LR
SL[📜 session-log] -->|PLAY stage of| PLL[🎮 play-learn-lift]
SL -->|tracks| R[🚪 room]
SL -->|tracks| TC[🎴 card]
SL -->|monitored by| SR[🔧 self-repair]
AP[⚔️ adventure] -->|LOG.md is| SL
DB[🔧 debugging] -->|logs to| SL
CH[👤 character] -->|SESSION.md is| SL
| Skill | Relationship |
|---|---|
| character/ | Session files live in character directories |
| adventure/ | Adventure LOG.md follows session-log patterns |
| play-learn-lift/ | Session-log is the PLAY capture stage |
| summarize/ | Compress session-log when too long |
| self-repair/ | Monitors session-log integrity |
| debugging/ | Debug sessions log here |
| Symbol | Link |
|---|---|
SESSION-LOG |
PROTOCOLS.yml |
NARRATIVE-FIRST |
Write for humans |
LINK-GENEROUSLY |
Every file is a link |
| Direction | Destination |
|---|---|
| ⬆️ Up | skills/ |
| ⬆️⬆️ Root | Project Root |
| 🎮 Sister | play-learn-lift/ |
| 👤 Sister | character/ |