Skip to content

Pin the engine's town-naming fix: no street left under its stand-in name, lots and unnamed streets told by kind - #405

Merged
calebl merged 4 commits into
mainfrom
fm/ta-town-names-fix-server
Dec 4, 2026
Merged

calebl merged 4 commits into
mainfrom
fm/ta-town-names-fix-server

Conversation

@calebl

@calebl calebl commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

The game's half of renderedstep/engine#105: a town street or square is never left under its stand-in name, unnamed streets and lots are told to writers by kind, and lots are named from a closed table.

What changes

  • Pin moves to the engine PR's merge commit, 377b7ac (on top of the model switch, Move the game to Mistral Medium 3.5, now that 3.1 has left OpenRouter #404).
  • lib/engine_sweep/scripts/a-town-laid-out-before-it-is-written.yml gets the engine's three prompt_includes changes. The why: notes stay.
    • The square's ways out now read a street to the east; a street to the south.
    • Thornwick shop 1, which fronts it on the becomes a shop, which fronts it on the.
    • Thornwick house 1 / Thornwick smithy 1, which fronts it on the becomes a house / a smithy, which fronts it on the.
  • test/engine_parity/a-town-laid-out-before-it-is-written.json is the engine's golden. rake engine:parity SCRIPT=… writes the same file byte for byte. The lots in exits are now the shop, the house, the first smithy and the second smithy.
  • test/lib/rust_engine_extension_test.rb: the map frontage test now looks for the shop instead of Thornwick shop 1.

Checked and unchanged

  • test/engine_parity/a-town-laid-out-before-it-is-written.checks.json: rake engine:checks rewrote it with no change.
  • engine:kept_requests passes, and eval:realization_digest still matches. Neither one covers a town street, so no non-town request moved.
  • No other text a model reads changes, and nothing here made a paid call.

Gates (OPENROUTER_API_KEY and TYPESAFE_API_KEY unset)

  • bin/rails test: 5597 runs. Its one failure was the map test above, which passes after the fix.
  • rubocop and zeitwerk:check are clean, and brakeman reports 0 warnings.
  • engine:vendored matches byte for byte.
  • engine:rust_gates passes on all 116 scripts.

…left under its stand-in name, and lots and unnamed streets are told by kind

The town walk's three prompt_includes follow the engine's: the square's ways out
name its unnamed streets as 'a street to the east/south', and the street writer
meets lots as 'a shop', 'a house', 'a smithy'. The golden is the engine's copy,
and rake engine:parity reproduces it byte for byte. The checks file is unchanged,
kept_requests pass, and eval:realization_digest still matches: neither covers a
town street.
@calebl
calebl force-pushed the fm/ta-town-names-fix-server branch from fd00b2a to 7406a75 Compare December 4, 2026 17:25
@calebl
calebl merged commit 4fc9a72 into main Dec 4, 2026
4 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.

1 participant