Repository navigation
Call characters by name only once the player knows it - #71
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)
nameis aTextwith variants. The convention is: the real name first, the description the player starts with last. This is additive withinlexvm-pack/1; plain strings work as before.nullmeans "no state" and shows the first variant.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 generateranks the warning with the walkthrough findings.Pack 1.2.0
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
Checklist
objectNameand name references;text.name-before-reveal)npm run lintpassesnpm run typecheckpassesnpm testpasses (527 tests)npm run check:packspassesnpm run prompts)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 endslanguageandlicense(SPDX) are declaredauthorandgeneratorunchangedversionbumped (1.1.1 → 1.2.0)Generated by Claude Code