Skip to content

Builds 495–499: signals fixed, HDR on iPhone, blasts, seam records, water held by the land - #537

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

k06a merged 39 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"

Six ready pull requests combined into one branch and merged at once, as asked for the evening: every build gets its own number, notes and shots.

Build PR What
495 #535 Block signals find their ground again (a call of a method build 493 took away); members.test finds such calls in the whole source; the queue ends the test run of a train whose main moved
– #528 Shots of build 486 find their places in the world
496 #533 HDR holds on iPhone and in Safari
497 #531 Nothing hangs in the air after a blast; everybody leaves the danger zone
498 #532 Seam records between the cells of the world, level station platforms (world version 81)
499 #512 The water of the world is what the land holds (world version 82, moved from 79)

Put together by hand

Checked on the combined state


Generated by Claude Code

claude added 30 commits December 2, 2026 18:37
…aces only, a smooth ragged crater edge, earth falls too, gravity measured 2R round, rubble lands on something

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdvrpwSh3UgCctwTZGT
…e work of a blast is spread over frames (no frame over budget); animals in a crater stand on their feet and scramble out

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdvrpwSh3UgCctwTZGT
…at are not loaded: asked from the workers during the fuse, held until the job ends; the same blast gives the same command whatever the frame timing

Thrown blocks take off together once all are aimed. Land.have / release, Boom.pre / needG, BOOM.land, BOOM.stall.
boomhang: the repeated blast runs on a street without cars and bystanders; boom.test: the injected error goes into the job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdvrpwSh3UgCctwTZGT
…s try round a fence, climbers plan a way over it and give up a way rubble has shut, bodies caught in rubble stand up while the danger lasts; a held column is not evicted; the job makes missing land itself under its budget

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdvrpwSh3UgCctwTZGT
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdvrpwSh3UgCctwTZGT
…ets a street; the loop search ends

Water level is one continuous field across the rise of a cliff basin (no jump from 60 to 20 along a line), with a dry rim and a
river that leaves as rapids one cell at a time. Earthworks never bring land under the water of its place: way cells are drained,
the inner skirt is a bank, no bridge deck under its water, a brook ends in a pond before a way. Every road that ends at a village
has a street up to its end. Rail.make's search for a loop ends when a town alone cannot be served (seed 20261146 never came up).
Tests: tools/water.test.mjs, tools/ways.test.mjs (vill, ends).

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

# Conflicts:
#	build/notes.mjs
#	src/game/75_seed.js
#	tools/shots/485.mjs
#	tools/test-times.json
…een settlement cells, town gates; a seam test over 12 worlds

A border between two chunks is a record made before both from the levels above (Lv.edge, Lv.side: one object for both
neighbours, audited). Edge (39_edge.js) is that record for today's world: the lines of the network that cross (Roads.all,
the list a cell also draws from) with their heights, and the natural water along the border with its level.
tools/seam.test.mjs walks 600 borders of 12 worlds and holds the built columns to the records; what it finds is
counted down in tools/seam.known.json.

Found by it and fixed: Rail.make laid the same line for ever in a region whose only town was left out (seed 271828);
tools/rail.mjs test catches it.

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

# Conflicts:
#	build/notes.mjs
#	src/game/99_main.js
… aside, the tests wait for the job of the blast, undo failures name the cells; notes and screenshot list as 487

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdvrpwSh3UgCctwTZGT
…s branch's; notes move to 488

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsWP38p6ohAsRYayXG
The fixed coordinates of the bend, the fork and the link road went stale when the towns and roads of main changed between the PR and its landing: the pictures showed a junction, a quay and a road without snow. Each picture now looks for its place itself: the wide bend that turns and climbs most (out of the snow, which hides the lines), the track that leaves an asphalt road at the shallowest angle on dry land, the steepest part of the road from home to town in a snow biome, the bridges that rise most. Fair weather for all.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdtfS3F7ut856jKPgvG
…r-14 blast on a phone back under its memory ceiling); boomflee counts an animal as hanging only when it stays in the air

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdvrpwSh3UgCctwTZGT
…no wall of land across the platform by a station hall

- Found by tools/seam.test.mjs on the merged main: in worlds of gw 77 Span.apply took the height along a line from the next segment
  (Span.along) and Span.lay took the width of the bed from it too, while the distance stayed the one to the nearest segment. Beside
  the ends of every station hall the hill stayed (39 halls of 39 in four worlds, up to 98 cells off the line).
- Span.lay takes the width of the segment the distance was measured to (SPW_GW = 78); the height still runs along the line.
- tools/bed.test.mjs: every column the line's own rule calls bed stands at the height of the line (red at GW=77, green at 78).
- Golden world for gw 78 (seed 5, town + lake); notes and the shot list of build 488 (the same station by gw 77 and by gw 78);
  the rule in docs/ARCHITECTURE.md names the finding.
- The seam ratchet is back at its floor: new 15, port 16, gate 6.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsWP38p6ohAsRYayXG
…eue's to set)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsWP38p6ohAsRYayXG
…at shows what the screen shows

WebKit passes a canvas through the CPU for copyExternalImageToTexture (the whole
drawing buffer is read back), so the 4 ms guard switched HDR off half a second
after it came on, and the switch drew the stored wish instead of the screen.

- no governor switches HDR off for speed any more; the state 'slow' is gone
- a second way of the hand-over ('read': the codes read back through a pixel
  pack buffer and a fence, written with writeTexture, one frame late); the
  device keeps whichever way costs it less (Hdr.judge), remembered per build
- Hdr.lit is what the switch draws, Hdr.why names every way of being off,
  Hdr.onoff makes the open menu follow and says the browser's own words
- a picture lost on a page in the background or long after HDR came on is not
  put down to HDR (Hdr.blame); a refused start can be tried again
- tools/glow.test.mjs PART=slow; rule in docs/ARCHITECTURE.md

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

# Conflicts:
#	build/notes.mjs
#	src/game/35_track.js
#	tools/roads.mjs
#	tools/shots/487.mjs
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdw3KUitNgtCeCv9tDM
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdvje6pw2vhTBDwAXWm
…; the after scene keeps the camera of the before scene

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uiczdw3KUitNgtCeCv9tDM
…e train again

A train waited an hour for runners while main moved twice; twelve runners then tested a state nobody could land. The wait for a
train's run now looks at main at every poll: when main moved the run is cancelled and the round starts over on the new main.
tools/queue.test.mjs case 8.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdrPyoU594YpAeAd6En
…ck for methods a module no longer has

- 79_train.js asked Town.ground for the post of a block signal (build 494); build 493 had moved that finder into Ground. Near a signal
  the train module threw in every frame.
- tools/members.test.mjs: every Mod.name(...) call on one of the game's own objects must find name among what the object is given
  (its literal, Mod.name = ..., this.name = ... in its methods, Object.assign). It found exactly this call on main. The merge queue runs
  it on every combined state, with undef, genv and dupkeys.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdrPyoU594YpAeAd6En
…d shots are build 495

- SPW_GW = 81, GENV.gw 81; golden world of the fix pinned to gw 81 (main's hashes unchanged).
- tools/bed.test.mjs on the merged worlds: 43 station halls of 43 off their line at gw 80 (worst 150 cells), none at gw 81.
- tools/seam.known.json holds what the merged worlds give (railway lines between towns and the new towns changed them):
  new 14, port 17, gate 4.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsWP38p6ohAsRYayXG
github-actions Bot and others added 9 commits December 2, 2026 23:38
Block signals find their ground again; a check for methods a module no longer has; the queue ends a stale train's run

Merge queue: build 495
Shots of build 486 find their places in the world (bend, fork, snow ramp)

Merge queue
HDR holds on iPhone: no speed guard, a cheaper hand-over, a switch that tells the truth

Merge queue: build 496
Blasts: nothing hangs within twice the reach, no frame freezes, every inhabitant leaves the danger zone

Merge queue: build 497
Borders as records: every border of the world names what crosses it; a seam test over 12 worlds; station beds level again (gw 81)

Merge queue: build 498
The water of the world is what the land holds: no walls of water at roads or where levels meet, rapids instead; a street to every road end of a village (gw 79)

Merge queue: build 499
…h is called passes (ends is the time-limit part)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdrPyoU594YpAeAd6En
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdsWP38p6ohAsRYayXG
…eather by day (tools/shots/498.mjs)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiczdrPyoU594YpAeAd6En
@k06a k06a self-assigned this Dec 2, 2026
@k06a
k06a merged commit 3bfaa77 into main Dec 2, 2026
2 checks passed
@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

scenario metric main PR Δ threshold turns
– no change beyond the noise
scenario CPU mean p95 max slow/min spikes/min miss sync gens draws top systems (ms/frame)
idle 5.05 7.80 33.0 0.00 11.2 0% 1.00 390 Town.update 0.80, Land.drawPass 0.58, BigMap.sample 0.35, RdFar.frame 0.33
night 4.47 7.00 16.1 0.00 3.00 0% 0.00 370 Land.drawPass 0.55, Town.update 0.54, BigMap.sample 0.31, RdFar.frame 0.30
drive 23.8 58.5 355 177 242 20% 88.0 151 Land.lightTick 8.02⚠️, Land.gen 2.55⚠️, BigMap.sample 1.47, Land.meshChunk 1.31⚠️
flight 11.9 27.0 538 64.7 142 0% 42.0 56.5 Land.lodData 1.77, BigMap.sample 1.69, Folk.update 1.33, RdFar.frame 1.08
tunnel 11.4 35.8 190 64.9 160 0% 2.50 290 Land.lightTick 1.52⚠️, Town.update 1.20⚠️, Land.meshChunk 0.83, Land.lodData 0.77

Over budget (ms/frame, budget): drive Land.lightTick 8.02 > 1 · drive Land.gen 2.55 > 0 · tunnel Land.lightTick 1.52 > 1 · flight Land.gen 0.34 > 0 · drive Land.meshChunk 1.31 > 1 · tunnel Town.update 1.20 > 1 · tunnel Land.gen 0.03 > 0 · idle Land.gen 0.01 > 0


Generated by Claude Code

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Screenshots of build v499

🛣️ 🛣️ Before: right behind the house the cut of the road under the cliff filled with the water of the top, a wedge that ended in a wall at the asphalt

🛣️ Before: right behind the house the cut of the road under the cliff filled with the water of the top, a wedge that ended in a wall at the asphalt

🛣️ 🛣️ Now: the same place in the same seed. The road is drained and its slope is dry land

🛣️ Now: the same place in the same seed. The road is drained and its slope is dry land

🏞️ 🌊 Before: 1400 cells from the home the water level jumped from 20 to 60 along a straight line, the river and its bed stood as a wall of 40 cells

🌊 Before: 1400 cells from the home the water level jumped from 20 to 60 along a straight line, the river and its bed stood as a wall of 40 cells

🏞️ 🏞️ Now: the same place in the same seed. The basin has a dry rim, no water stands against a wall

🏞️ Now: the same place in the same seed. The basin has a dry rim, no water stands against a wall

🏞️ 🏞️ Now: the river leaves the basin as rapids, a step of one cell at a time, between dry banks

🏞️ Now: the river leaves the basin as rapids, a step of one cell at a time, between dry banks

All of them are assets of the v499 release.

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