Repository navigation
Never leave a town street under its stand-in name; tell writers lots and unnamed streets by kind - #105
Merged
Conversation
…rs lots and unnamed streets by kind
A street or square whose answer has no name the engine keeps (left out,
refused, or already taken) is asked the same request once more; failing
that it takes the first free name of a closed list by the side of the town
it lies on ("the east street", "the east lane", ... "the square").
The street writer's ways out, the arrival narrator's and the narrator's
tell a street nobody has named as "a street to the east" and a lot as
"a workshop". Lots are dealt names from a closed table ("the house",
"the first smithy") in place of "Thornwick house 1".
When the writer is asked to name a street or square, the schema's name is
required and says ", as the instructions above ask"; the naming examples
there and in NAME THIS say they show the form only.
The town walk's script, golden and records move with it; no other walk
or request changes.
calebl
force-pushed
the
fm/ta-town-names-fix
branch
from
December 4, 2026 17:12
cd5b4c0 to
05fcf61
Compare
calebl
added a commit
to renderedstep/server
that referenced
this pull request
Dec 4, 2026
…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
added a commit
to renderedstep/server
that referenced
this pull request
Dec 4, 2026
…renderedstep/server 7406a75)
calebl
added a commit
to renderedstep/server
that referenced
this pull request
Dec 4, 2026
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.
The town walk's street-naming measurement found streets left under "Thornwick room 4" (which the player then read: "You arrive at Thornwick room 4."), the square copying "the well square", and a lot's stand-in name ("Thornwick workshop 1") in a street's prose. This takes the approved fix and its words, and nothing else.
What changes
G1: a town room is never left under its placeholder (
turn/told/realize.rs,town.rs)the {dir} street,lane,row,way,alley,walk, thenthe second {dir} streettothe twenty-fifth {dir} streetthe square,the town square,the open squarerealization::name_refused, whichroom_namealso uses.G2: unnamed neighbouring streets told by kind and direction
plan.rs):a street to the eastinstead ofto the east, Thornwick room 2. A named street keepsto the {wall}, {name}.ways out:(arrival.rs) and narrationWays out of here:(moment.rs), throughtown::way_out_name:a street to the southfor an unnamed street, anda workshopfor a lot.G3 (option ii): lots named from a closed table as they are dealt (
turn/town.rs)the {kind}. A kind dealt more than once runsthe first {kind}tothe twelfth {kind}.the first smithy.{town} {kind} {n}. The table runs out there, and no other words are approved.Wording 1.1 + 2B (
schemas.rs,realization.rs)nameis required. Its description is 1.1's text with 2B's-- this shows the form only; never use it.added.-- these show the form only; never use one., with 2B's line breaks exactly.Wording 3 (
plan.rs)a shop, which fronts it on the … side.Every approved string is used byte for byte from the approved wording file.
Sweep files re-vendored (only the town walk moved)
a-town-laid-out-before-it-is-written:parity/scripts/…yml: threeprompt_includesfollow G2 and wording 3:Its ways out:line now hasa street to the east; a street to the southThornwick shop 1, which fronts it on the→a shop, which fronts it on theThornwick house 1 / Thornwick smithy 1, which fronts it on the→a house / a smithy, which fronts it on theparity/goldens/…json: the lot names in exits move (G3):the shop,the house,the first smithy,the second smithy. Because of that,the housesorts later in one exits list.parity/records/…json: the requests change for G2, wording 3, 1.1 (requiredgainsname) and 2B; the lot rows are renamed (G3).parity --writeleft the other 111 scripts byte-identical, and the kept-request vectors are unchanged. Every non-town request stays as it was.Tests
tests/town.rs:the square,the east street,the south streetandthe inn street. Each step asks exactly twice with an identical request. Each facts paragraph saysYou arrive at {name}.with no placeholder, and no request carries another room's placeholder or a lot stand-in.the first house).town.rsunit tests cover the closed tables, the direction rule and legacy lot names.Gate (offline, no paid call, provider keys unset):
cargo fmt --checkandcargo clippy -D warningsare clean;cargo test --workspacepasses 554 tests with 0 failures;parity --checkagrees on 112 of 116 (the other 4 are the runner-only scripts, as before);fight --checkagrees on 10 of 10. The game's doctor and audit run in the runner job below.Left as it is (needs its own words to change)
## The Placeblock still saysname: Thornwick room N: the name it is asked to replace, next to NAME THIS. Nothing approved replaces that line. The test leaves that one line out and checks everything else.Thornwick room Nuntil they are walked. G3 covers lots only.a way out to …clause. G2 approves no wording for that clause.What the game (renderedstep/server) needs
lib/engine_sweep/scripts/a-town-laid-out-before-it-is-written.yml, make the same threeprompt_includeschanges asparity/scripts/here, keeping itswhy:notes. Then copy this repository's golden, records and script for that walk, and move the engine pin.test/engine_parity/a-town-laid-out-before-it-is-written.checks.json, since the lot names moved, and the town street cases ineval:realization_digestandengine:kept_requestsif either covers a town street. The NAME THIS line and the outdoor schema changed for town streets only.SERVER_COMMIT, so it fails untilSERVER_COMMITpoints at a server branch carrying (1).SERVER_COMMITis not moved here.The re-measure on Mistral Medium 3.5 is not part of this change.