# Dictionary — the terms of art The source of truth for what things are called. When prose, UI, or code drifts from these names, the fix is to align to this file; when a name here stops working, the fix is to re-rule it here first, then sweep. Durable meanings live in `README.md`; this file rules the WORDS. ## The people and the models - **the GM** — the human running the world: every NPC, every consequence, all retcons. Runs on organic memory; the model's canon files are the prosthesis. Always a human, never a model. - **the player** — the player-model: the LLM playing the one PC. The two parties who play are the GM and the player (2026-11-14, GM) — and the player is always the model: humans are never "the player" (QUESTIONS #28); a human in the app is a GM (of their own runs), a spectator, or the op. - **the PC** — the one character the player-model plays. Female by postulate (README Scope); the shared prompts say "she" throughout. - **the housekeeper** — a fresh model invocation after each session, reading the transcript and the rings; emits a manifest. Judgment, never clerical work; never plays, never edits files. Its prompt (housekeeper.md) is substrate-internal and never exposed. - **the clerk** — `tool/memory.mjs`: validates, applies, renders, dumps. Fails loudly, never drifts silently. Code, never a model. - **the op** — the superuser of a deployment: mints and revokes invites and users; recovery is filesystem access. The whole of admin. ## The story state - **the deployment** — one clone plus `server.json`, `state/`, and `runs/` (all gitignored): the unit of sharing. Invited users need neither the key nor a clone. - **the package** — a preset: authored content only, no state. System packages ship with the repo; user packages are saved runs, published to the deployment (gm.md included — saving is the act of publishing). Read exactly once per run, ever — at create. - **the run** — one story: the package copied wholesale into `runs//` at create; from then the run directory is the only truth. The id is anonymous hex and carries no facts; the visible name is "Package / PC". The run is the PROCESS that delivers; the story is the DELIVERABLE it exists to produce. In anything mechanical it is always "the run". - **the story** — the emerging deliverable: the narrative a run exists to deliver. Prose may speak of the story; mechanics always say run. - **draft** — a run with no sessions yet: created, never started. Editable in setup, deletable from the SPA; a played run refuses deletion server-side. - **the session** — one play period between housekeeping passes: opens with the bundle assembly, plays by turns, ends with housekeeping (which applies memories and auto-opens the next). Renamed from "window" — see Ruled renames. Its transcript log is `sessions/.jsonl`; ordinals in prose: "session one", "her next session". - **the turn** — one exchange: a GM turn (user role), then the player's turn (assistant role; tool calls may interleave between beats). - **the bundle** — the opening context of a session, assembled in order: the system message trio (system.md → invariants.md → the run's handbook), then the GM messages — backdrop, character, ring-b, ring-a. Everything in it is inspectable read-only in the SPA; agent prompts never enter it. - **fresh** — a session over a never-started run: the seed applies (lazily, once) and turn-0's `` block ingests at open. - **the seed** — `seed.json`, the run's initial state (`entries` → rings, `records` → files). Rides the run copy until the first session-open applies it; freely editable until then; re-apply refuses. - **turn-0** — the opening beat file: the GM's zeroth turn, sent once as the first GM message of the first session. The FILE is turn-0; the MESSAGE, once sent, is "the opening beat". ## Memory - **the rings** — her salient memory, two tiers ordered by touch (an LRU cache): **ring A** — important facts, cap 500; **ring B** — the rest that passed the gate, cap 3000. Storage is rows; the views (`canon/ring-*.md`) are rendering. - **touch** — a meaningful invocation during play (named, used, clearly weighed); raises the entry. Mere adjacency doesn't count. - **promotion / demotion** — the housekeeper's A↔B judgment, reason logged. Judgment, not a metric. - **overflow** — mechanical and exact: A spills to B, B spills to cold, oldest-touched first. Enforced by count, never by a model's arithmetic. - **cold storage** — everything evicted or deleted. Beyond the models' reach; GM-reachable via revive. Nothing is ever destroyed. - **status** — descriptions of her immediate situation, admitted by the three-part gate (non-normal, acute, turn-affecting). Rides every GM turn as the `` block; mutated by ``/`` deltas; entirely hers — the housekeeper never writes it. Renamed from "paper" — see Ruled renames. - **the agenda** — her second self-kept block: intentions — what she means to do — in a cap-5 recency queue. Rides as the `` block, mutated by ``/`` (drops by 0-based index); disposable by design. The seam with the status: how she is vs what she means to do. - **records** — her files: the card index, the ledger, whatever she keeps. Diegetic and per-run (the settings gate); narrow query, hard cap 10 in the tool; a miss is a miss. Filed at her desk by the player; the housekeeper only archives. - **the backdrop** — the world as everyone in it knows it: public knowledge. Never memory, never decays, always in the bundle. - **identity** — `character.md`, the sheet: concept, drives, skills, voice. The GM's to edit; the housekeeper proposes via open questions; blanks are the player's to invent. - **the manifest** — the housekeeper's whole output: JSON semantic operations (insert, touch, promote, demote, reword, delete, archive; plus summary, inventions, open questions). Validated and applied by the clerk; a rejected manifest changes nothing and says why. - **housekeeping** — the session-close ritual: a fresh housekeeper call over the transcript + rendered rings, the manifest, the apply, the log, the autorestart of the next session. The only word for it (2026-11-14, GM): the old shorthand "the wrap" is retired. - **the log** — `log/.md`, one per pass: what the housekeeper declared, cross-checked against the dump diff. The `events` table is the journal underneath; both are write-only for every model. ## Channels and syntax - **IC / OOC** — in-character vs out-of-character. OOC is a line opening with `(`, closing paren optional; any opening `` line is substrate traffic and always OOC. Unknown tags are reported to the GM. - **speech / narration** — plain text is spoken aloud; `*italics*` carry actions, descriptions, thoughts, interiority. - **sigils** — `@PC` (her name) and `@Package` (the display name): identity substitution resolved from the run's settings. Any other `@`-word is the author's own text — `@` syntax is not owned here. - **$TOKENs / vars** — template variables the prompts declare themselves; setup collects them; the run's `settings.vars` holds the answers. - **deltas** — the in-band mutations: ``/`` on the status, ``/`` on the agenda. Same-verb blocks combine into one apply; misses return as a conflict. - **conflict** — the self-heal message: a `` block sent as its own GM-side message, clean of prose; the model adjusts in the same exchange. Capped at 3 heals per turn. - **ask_gm** — the player's tool for points of order, canon questions, proposals. Pauses the turn mid-loop; the answer is authoritative and never elides from the context. - **roll** — the dice tool: a uniform random pick among equal-weight options; the model receives `picked: