Skip to content

Notebook entries may not run ahead of the story - #70

Merged
t11z merged 1 commit into
mainfrom
claude/notebook-entry-timing
Oct 24, 2026
Merged

t11z merged 1 commit into
mainfrom
claude/notebook-entry-timing

Conversation

@t11z

@t11z t11z commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Summary

The notebook entry »Der Fall Brodersen« named Tadeusz two dialogue nodes before Anni introduces him: clue_auftrag was learned in an_jakob, the line naming Tadeusz comes in an_bezahlung, and the notebook can be opened mid-conversation. The defect dates back to the first design: world.md wrote each clue text as a summary of its whole source, cast.md placed the learn in an early node, and the later merge of an_polizei into an_jakob moved it earlier still. Structurally, the world stage owns clue text and the logic stage owns clue timing, but no stage, rule or check owned the consistency between the two. The editorial review could not catch it either, because the transcript showed no notebook entries.

Rule introduced: a clue says only what the player has read when its learn runs, except where the entry is the text of a document.

  • Pipeline: lexvm transcript now shows each new notebook entry with its text at the point it is learned (*Notebook: Name.* …). The authoring guide (clues section, checklist item 15, review section), the logic prompt (which owns clue timing) and the review prompt (new rubric point 4; the review may move a learn within the same dialogue or rule) state the rule. The prompt kit is regenerated.
  • Pack 1.1.1: after reading the new transcript, five learns were moved within forced dialogue sequences (clue_auftrag, clue_asmussen, clue_zaehlheft, clue_schweigegeld, clue_gestaendnis) and one entry was trimmed (clue_schluessel, »Nissenhütte«). Scores stay where they were. Design docs (world.md, cast.md, puzzles.md) and design/CHANGES.md are updated.

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 (unit tests for the notebook lines in the transcript)
  • npm run lint passes
  • npm run typecheck passes
  • npm test passes (522 tests)
  • npm run check:packs passes
  • Docs updated where behaviour changed
  • Prompt kit regenerated (npm run prompts)
  • UI changes: none
  • 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 (unchanged), 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.0 → 1.1.1)

Generated by Claude Code

A clue says only what the player has read when its learn runs; the
notebook can be opened mid-conversation. »Der Fall Brodersen« named
Tadeusz two dialogue nodes before Anni does: world.md wrote clue texts
as summaries of a whole source, cast.md placed the learn early, and no
stage or check owned the timing of a clue against its text.

- lexvm transcript shows each new notebook entry with its text where it
  is learned, so the editorial review can see the notebook.
- Guide, checklist, logic and review prompts state the rule; the logic
  stage owns clue timing, the review may move a learn within a dialogue.
- Die letzte Nacht der Reichsmark 1.1.1: five learns moved within forced
  dialogue sequences (auftrag, asmussen, zaehlheft, schweigegeld,
  gestaendnis), one entry trimmed (schluessel). Mechanics otherwise
  unchanged: exploration 6,869 states, 0 dead ends, 25/25.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R5RB4cK9E5cLMxHzTdGHXf
@t11z
t11z merged commit 388602c into main Oct 24, 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