Skip to content

dev: builds 488 to 494 (real sizes, town streets, far traffic, grass, saved-world sizes, one ground, railway lines) - #534

Merged
k06a merged 57 commits into
mainfrom
dev
Dec 2, 2026
Merged

k06a merged 57 commits into
mainfrom
dev

Conversation

@k06a

@k06a k06a commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Requested by Anton · project thread "Green main and a merge queue"

One merge of the combined state of seven PRs, each with its own build number:

PR build generator
#489 everything at its real size 488 gate moved to gw 78
#499 towns to the measure of real small towns 489 gw 79
#518 cars on the roads as far as the roads are seen 490
#519 grass follow-up 491
#520 the size of every saved world 492
#521 one ground for everybody 493
#505 railways join towns 494 gw 80

By hand: #521 against #489 in 79_law.js (the helicopter takes the shared ground and the model's own size) and tools/hut.test.mjs (main's version); deck, ramp and top tests ask the shared ground finder, since Town.ground went into it.

Checked on this state: golden (1184 checks), the whole-source checks (undef, genv, dupkeys), split, srclist, cold start, the menu, ramp, top, rline (all parts), the four plan tests.

Known red on this state: deck (39 steps of more than half a cell along bridge decks, ceiling 30; 26 on main): 5 come with the shared ground finder on the same world, 8 with the worlds of gw 78 to 80. Routed to the owning threads. windows, camel, arm were red on main before.


Generated by Claude Code

claude added 30 commits December 2, 2026 17:57
…d nets; tug of war fits its lawn; golden worlds for real sizes
…ta.real, real goals, hoops, nets, rows, pools, bowling; gw 70)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsGCWcaAP1WD7crRgd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsGCWcaAP1WD7crRgd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsGCWcaAP1WD7crRgd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsGCWcaAP1WD7crRgd
…house on a street, roads that reach the streets (gw 70)

Asphalt of a town 31 % -> 21 % of its ground (small historic towns 15-25 %, UN-Habitat 2013); street spacing by planning
tradition, lanes without sidewalks in grown cores; no building more than 6 m off a street; street graphs inside the ranges
of real cities of the same tradition (Boeing 2019); every road in reaches a street of its town by a least-cost path over the
land (Galin et al. 2010), 24 of 95 stopped short before. Ice-cream van stops on streets cut by car park entrances.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdt14xCS9pvwcYytzRr
…V gw 71

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdt14xCS9pvwcYytzRr
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsGCWcaAP1WD7crRgd
…rack, block signals (WIP)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczds25hPkj1T5izApXNA
…rack, block signals (WIP)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczds25hPkj1T5izApXNA
…n's remarks paraphrased

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdt14xCS9pvwcYytzRr
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczds25hPkj1T5izApXNA
…rs rammed meanwhile

The stage totals were read from the whole history. The drivers held up by the rubble on the
street ram their way through it, one command of the history per crash, for as long as a stage
lasts, and a stage lasts as many frames as the page gets in its 60 s of waiting. Measured on
three pages of main and three of this branch: the charges' own commands differ by 0.1% at most
(102 576 to 102 682 cells), the ramming by 1 034 to 5 443 cells, which is over the 2% allowed
(two pages of main: 104 153 and 106 594).

The test now sums the commands Boom.cmd made and holds them to half a percent.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsGCWcaAP1WD7crRgd
…hots 482

The helicopter of main flies by Rotor (78_rotor.js): the points of its body are scaled to the
model that flies (Rotor.body from H.rad / H.ht, which Law.dim takes from the model), so the
real-size police helicopter keeps its longer tail and wider rotor out of the blocks; a check
in tools/scale.test.mjs holds the body to the model.

The estates hook of 34_settle.js read the gate variable STR that the version floor removed
(a town with an estate with lanes threw): STR is always true above the floor.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsGCWcaAP1WD7crRgd
…tream

A living car is kept within 90 m; the roads are seen for a kilometre. RdFar draws
every car of the stream beyond the circle at its place by the world clock, as a
few boxes laid out from the description of the same look in the same paint, all
in one draw; lamps after dark. The living car is made where its far look is, and
the far look goes on where a living car leaves. Heights of far roads come from a
worker. Riders in the open are seen as far as their mounts.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdrQkRq9cma4smGik1v
…ars are made in

A car on its way out lives on between the circle it is made in and the one it is taken away at; a device that has just come does not make it there (beyond the circle a car is its far look).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdrQkRq9cma4smGik1v
…tem a street kind is built from (TOWN_MAIN)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdrQkRq9cma4smGik1v
…ly town is left out no longer asks for it for ever

Lines take main's one net of ways: Rail.passes holds a terminus yard level, pre0L uses it and the tolerance of Span.hold;
the ways test measures along a line as along a loop.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczds25hPkj1T5izApXNA
…here the land is compared

- Grass.ahead (mushrooms before a bumper) and Lamps.roof read cells of cars at the border of the loaded
  land with Land.get, which made the missing column on the spot (10 ms in the frame, seen as sync gens
  in the idle perf scenario on main too). They ask Land.cols first. Test: trample.test PART=edge.
- The mesher keeps its own PLANT_LV (the offline tools read 10_vox.js without the core: hut.test);
  trample.test checks the four copies of the number agree (mesher, core, Rust core, GRASS.up).
- Grass.heal(): every mark runs out at once. boom, lotw and net compare the land block for block and
  now meet the steps of the last minute on the lawn: they set the marks aside first.
- docs/ARCHITECTURE.md: the two rules.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdrurem6srPELF9HNmp
claude and others added 27 commits December 2, 2026 21:40
…ilway loop planning that ends

Rail.make left the last town of a loop out and asked the stale plan again for ever (seed 5150 by the sea in the desert, gw 71+): every plan
now costs the loop a town or one of the four sides of a town alone, and with no town left there is no line. tools/rail.mjs test counts the plans.
Street.set takes the generator version again.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdt14xCS9pvwcYytzRr
…rld tab of the menu

The weight of a record is measured in DB.put (bytesOf, DB.w), the one door
every world comes in by, so autosave, a guest's copy, a clone and an imported
file have it with no code of their own. A row of the list keeps it (sz, se);
worlds saved by older builds are weighed once when the list shows. One
formatter of bytes (fmtBytes) for saves and for the traffic of playing together.

Test: tools/savesize.test.mjs

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdv2S7R29NkBEWwgx7U
…d number)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdv2S7R29NkBEWwgx7U
A Memory row says what the page takes now: the whole page where the browser
measures it, the JS heap where it tells one, then the game's own count of its
budget. The device line no longer shows the budget as if it were memory in use.

Test: tools/ram.test.mjs

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdv2S7R29NkBEWwgx7U
The height a foot, a paw or a wheel stands on is found in one module.
Town.ground, Drive.floor, Drive.bed, Fauna.drop, Roll.top, Arm.floor,
Art.floor, Law.ground, Taxi.gnd, Rotor.floor and the saucer's scan are
gone; Nav, Occ, Life, Pilot, Plan, Nest and Rotor walk the column through
the kernel (Ground.cell / roof / room). Who asks says what it needs as
data (GROUND.walk, fall, roll, fly, hover).

Chosen changes: a body rolling over and a look from afar get the sloped
top of a road ramp; plants are no floor from afar; a police car or a
builders' truck put under a slab with no room goes on top of it, as the
taxi did.

tools/ground.test.mjs: the meaning on columns built by hand and 60 000
random columns against the old finders kept in the test word for word.
tools/split.test.mjs: ground 11 -> 0; the scan detector is wider (it also
sees a body that begins with a get) and counts 7 where the old one would
count 0; a finder that was folded in may not come back (gone).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdv1q9xAXyaDKTTGyWH
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdrurem6srPELF9HNmp
…her sides, then the region has no railway

The search of Rail.make ended only when Rail.reachW was content; with the last town left out it asked for the same town
for ever and the world of seed 5150 (town + river) never loaded. tools/ways.test.mjs part ends builds the regions that
never came back under a time limit; the ways test measures along a line as along a loop and takes a level crossing the
road is held to for what the generator makes of it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczds25hPkj1T5izApXNA
…eads the tools for calls of a function that is gone

pax.test still called Town.ground through a one-letter name of the module (const T = G.Town), which no check of the game's own
source sees: it failed only in the whole run. The same in 32 screenshot recipes and four more tests (Law.ground, Fauna.drop,
Drive.floor, Drive.bed, Art.floor). split.test now reads every file of tools/ for a call of a gone function under the module's
name or any name it was given there.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdv1q9xAXyaDKTTGyWH
The medina check of weave.test knows the size of a network: few streets always look ordered (the entropy of n samples, Miller 1955), so the
limit is the order of random streets at that size plus the old margin (0.35 at the 35 streets of a medina before WVS_GW).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdt14xCS9pvwcYytzRr
… the notes and shots 487

The gate of real sizes (REAL_GW 74) now sits below the current version, so the two gw 77
worlds of the golden list get real-size grounds too: their far tile level 5 (both) and
town asian (the snowy one) hashes are those of this state. The 44 furniture hashes of main's
worlds are the catalog sizes (not gated).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsGCWcaAP1WD7crRgd
…a looks across the road

The first recipe put them 11 cells from each other, less than a car is long, so they stood inside one another.
A probe step prints the heights along the road for the dry run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdv1q9xAXyaDKTTGyWH
… before the picture; the probe step is gone

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdv1q9xAXyaDKTTGyWH
…tes and shots 487; the second world that never came

Seed 260429754 in a forest (Terr.at(-2160, -2736) never returned on main) is the same railway loop planned for ever: it joins the test.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdt14xCS9pvwcYytzRr
…of the ramp

The townsperson put into the list by hand was not drawn in the dry run, so the recipe and its title name the two cars only.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdv1q9xAXyaDKTTGyWH
…s the railway planning test

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdt14xCS9pvwcYytzRr
…lan); srclist.test keeps such lists whole

10_vox.js reads PADB of 09_core.js since build 485; hut, roomy, villa and the plan tools listed 10_vox without 09_core and threw
before their first check. Behind that the hut test had three more missing names (the species of the lot trees, treeId, the road
net, airports and the ports' Settle.kmax): it loads the flora files and stands in for the rest as its sister tests do; its numbers
are the ones it gave before (97 of 200).
tools/srclist.test.mjs reads every self-contained list of game files in tools/ and fails when a listed file needs at load time a
name no listed file declares and the test does not stand in for.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdv1q9xAXyaDKTTGyWH
Build 468: everything at its real size against the person

Merge queue: build 488
Towns to the measure of real small towns: less asphalt, houses on streets, roads that reach the streets (gw 71)

Merge queue: build 489
Cars on the roads as far as the roads are seen: the far look of the traffic stream

Merge queue: build 490
Grass follow-up: no column made in the frame for a far car; marks set aside where the land is compared

Merge queue: build 491
Show the size of every saved world and the memory of the page

Merge queue: build 492
One ground for everybody: Ground replaces eleven finders (refactor step 1)

Merge queue: build 493
…7; a yard is not put across a road that cannot pass it

A road held close by (its town's pad, a ring, a junction with another road) cannot dive a storey under a level yard:
the yard slides, takes the other flank or stands farther out from its town (LN_OUT, within LN_FAR of the town's edge)
until every road across has the room (Rail.xcount); rline.test checks the room with the roads' own profiles laid.
The fix of the loop planner that never ended is taken from #499 as it is; ways.test part ends builds the three
regions that never came back.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczds25hPkj1T5izApXNA
Railways join towns: lines with run-round termini, double track and block signals (gw 78)

Merge queue: build 494
…nd went into it

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdrPyoU594YpAeAd6En
@k06a
k06a merged commit 9d98230 into main Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Screenshots of build v494

🚆 The big map: the railway is a line from one town to another with stations at the towns on the way, not a loop

The big map: the railway is a line from one town to another with stations at the towns on the way, not a loop

🔁 The run round at a terminus: the coaches wait at the platform while the loco passes them on the other track of the loop

The run round at a terminus: the coaches wait at the platform while the loco passes them on the other track of the loop

🔁 Back through the points onto the platform track: the loco couples at the far end and hauls the same train back

Back through the points onto the platform track: the loco couples at the far end and hauls the same train back

🛤️ A double line out of town: each way has its own track, a train on the right-hand one

A double line out of town: each way has its own track, a train on the right-hand one

🚦 A block signal beside the track: red while the train that has just passed is still in its block

A block signal beside the track: red while the train that has just passed is still in its block

All of them are assets of the v494 release.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

⏱ Performance: this PR against main

Scenarios of src/game/98_perf.js, the two builds by turns on one runner (tools/perf.mjs, CPU side, draws counted not drawn).

✅ No regression against main · faster in 1

More turns to settle a suspicion: idle +6, night +4, drive +2, tunnel +4 (a difference counts when the turns of the two builds stand apart, 8 turns each).

scenario metric main PR Δ threshold turns
idle sync gens 3.50 0.00 -100% ✅ ±30% 8
scenario CPU mean p95 max slow/min spikes/min miss sync gens draws top systems (ms/frame)
idle 6.36 9.10 42.2 0.00 15.0 0% 0.00 396 Town.update 1.19⚠️, Land.drawPass 0.64, Town.draw 0.52, RdFar.frame 0.36
night 4.76 7.45 16.3 0.00 0.00 0% 0.00 365 Town.update 0.61, Land.drawPass 0.54, Town.draw 0.39, BigMap.sample 0.30
drive 28.3 64.1 384 244 182 31% 105 142 Land.lightTick 10.3⚠️, Land.gen 3.36⚠️, Land.meshChunk 1.73⚠️, BigMap.sample 1.54
flight 13.3 32.2 648 77.2 154 0% 51.0 55.5 Land.lodData 2.26, Folk.update 1.78, BigMap.sample 1.77, Land.gen 1.03
tunnel 12.5 44.9 286 97.4 170 0% 35.0 265 Land.lightTick 2.02⚠️, Town.update 1.29⚠️, Land.meshChunk 1.09⚠️, Land.lodData 1.08

Over budget (ms/frame, budget): drive Land.lightTick 10.29 > 1 · drive Land.gen 3.36 > 0 · tunnel Land.lightTick 2.02 > 1 · drive Land.meshChunk 1.73 > 1 · tunnel Land.gen 0.54 > 0 · tunnel Town.update 1.29 > 1 · idle Town.update 1.19 > 1 · tunnel Land.meshChunk 1.09 > 1


Generated by Claude Code

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