Skip to content

Call characters by name only once the player knows it - #71

Merged
t11z merged 1 commit into
mainfrom
claude/npc-names-revealed
Oct 25, 2026
Merged

t11z merged 1 commit into
mainfrom
claude/npc-names-revealed

Conversation

@t11z

@t11z t11z commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Summary

A playtest of Die letzte Nacht der Reichsmark found characters named before the player could know them. The first command reads »Sprich mit Anni« while the text still says »die Frau«. The watchman is »Tadeusz« on his chip before he has said a word. Nobody ever tells Voss that the dealer is called Lene.

The cause is in the format. An object had exactly one static name, and the engine shows it everywhere: chips, command labels and echoes, the conversation heading, default messages and {id} references. What the player knows was not part of the model, and no rule or check covered it.

Format and engine (ADR 0013)

  • name is a Text with variants. The convention is: the real name first, the description the player starts with last. This is additive within lexvm-pack/1; plain strings work as before.
  • Every place that shows a name resolves it against the state. Text helpers now take the state explicitly; null means "no state" and shows the first variant.
  • The parser accepts the words of every variant, following the forgiving policy of ADR 0005.
  • New walkthrough warning text.name-before-reveal. It fires when a step prints an earlier variant's text, including the genitive, while that character is present and still unrevealed after the step. Mentions of an absent character are fine, and the step that reveals the name is not checked. lexvm generate ranks the warning with the walkthrough findings.
  • Updated alongside: spec (sections 4 and 6, appendix), JSON Schema, guide (rule, checklist item 16, review section), the world, logic and review prompts, the regenerated prompt kit, and the CHANGELOG.

Pack 1.2.0

Character Before the reveal Named from
Anni Frau »Ich heiße Anni«
Kröger Mann am Ecktisch his first talk, where he now says »Kröger, Vorarbeiter«
Lene Händlerin her greeting »Lene. …«, or her handshake after the evidence
Tadeusz Wächter his first talk, where he now says »Tadeusz Wrona. Den haben Sie gefunden.«
Asmussen, Jakob, Lotte – at once, because their identity follows compellingly from what the player knows

Lotte: Anni now says »unsere Tochter Lotte«, which makes the sleeping child in her hut Lotte as a logical consequence.

Texts that mention a present character before the reveal got variants without the name. The hints name these characters by role. Details are in design/CHANGES.md.

Linked issues

None.

Type of change

  • Bug fix
  • Feature
  • Content pack (new or updated)
  • Content pack format or save format change (ADR required)
  • Documentation
  • Tooling, CI or maintenance

Checklist

  • Tests added or updated (objectName and name references; text.name-before-reveal)
  • npm run lint passes
  • npm run typecheck passes
  • npm test passes (527 tests)
  • npm run check:packs passes
  • Docs updated where behaviour changed; for format changes: spec, schema, ADR and changelog updated in this PR
  • Prompt kit regenerated (npm run prompts)
  • UI changes: no layout change; chips and headings show the resolved name
  • No new runtime dependency

Content packs only

  • npm run lexvm -- check packs/letzte-nacht-der-reichsmark: 0 errors, 0 warnings; walkthrough 74 steps, 25/25; exploration complete, 6,869 states, 0 dead ends
  • language and license (SPDX) are declared
  • author and generator unchanged
  • Played through by a human: not yet; both tap-walkthrough e2e tests pass (30/30 e2e)
  • Follows the content guidelines in CONTRIBUTING.md
  • version bumped (1.1.1 → 1.2.0)

Generated by Claude Code

The format gave every object one static name, so the engine showed a
character's real name on chips, in command labels, conversation headings
and {id} references before the player could know it (»Sprich mit Anni«
while the text said »die Frau«; Lene never named at all).

ADR 0013: an object's name is a Text with variants (additive within
lexvm-pack/1). Every place that shows a name resolves it against the
state; the parser accepts the words of every variant. lexvm check warns
(text.name-before-reveal) when a walkthrough step prints a present
character's name before its name variant holds. Guide, checklist and
the world, logic and review prompts state the rule; spec, JSON Schema
and prompt kit are updated.

Die letzte Nacht der Reichsmark 1.2.0: Anni, Kröger, Lene and Tadeusz
go by appearance or role until their name falls in conversation; texts
before that get variants without the name. Lotte is named as a logical
consequence (Anni now says »unsere Tochter«). 0 warnings, exploration
complete, 25/25.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R5RB4cK9E5cLMxHzTdGHXf
@t11z t11z self-assigned this Oct 25, 2026
@t11z
t11z merged commit 962fd9d into main Oct 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants