Commit graph

2,270 commits

Author SHA1 Message Date
Meta Vens
a06b08c784 scene view: host test afterEach returns void
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 16:56:39 +01:00
Meta Vens
070b4a4e9a scene view: tests pin the phone gesture (fade, horizontal only, primary pointer) and the reduced-motion start
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 16:55:15 +01:00
Meta Vens
2d0f4c5077 scene view: every data credit in Place, the weather's only where its feed serves the place; the speed bound pinned and never past maxSpeed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 16:54:18 +01:00
Meta Vens
c73cad91c6 scene view: leavable while its code loads, closed on a failed load, not offered with the scene off; the entry lives in SceneViewEntry.tsx
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 16:50:23 +01:00
Meta Vens
a7ec503c7a scene view: the scene stays visible when the app behind it is hidden
BackgroundScene mounts inside #root, so visibility: hidden on #root hid the scene the view exists to show; its wrapper is visible again.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 12:05:20 +01:00
Meta Vens
ffd0979470 scene view: README and target doc say the view, the controls and the one per-frame exception
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 11:51:10 +01:00
Meta Vens
ad13bb2c24 scene view: the fullscreen view replaces the sky menu
The entry button opens the view; its rail (Return, View, Time, Sky, Place) holds the moved time choices and picker, the rotation mode, speed and signed offset sliders (bounded by maxSpeed and offsetRange, committed on release through cameraState), the constellation lines switch and the credits. Dragging, arrows and a horizontal wheel turn the heading by hand through heading.hold; Return resumes the rotation via setCamera. The credit lives in the Place submenu per ruling ridge-view-credits-home.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 11:50:58 +01:00
Meta Vens
3ea2370424 scene view: sceneView.ts owns whether the view is open and which submenu
One history entry per open, Back and Return the same close, #root inert and hidden while open, the held rotation resumed through cameraState on close.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 11:34:43 +01:00
Meta Vens
1a752bcb86 ridge sky: the constellation lines have one setter; picking Night again no longer toggles them
pickSkyChoice's Night-while-Night branch is deleted (ruling ridge-scene-view-submenus supersedes ridge-constellation-lines-hidden-extra), which left it a copy of setSkyChoice, so it goes too. setConstellationLines(on) persists and emits once per change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 11:34:05 +01:00
298b0fc026 Merge pull request 'Ridge places on baker v7: Matterhorn, Fuji, Ama Dablam, Grand Canyon; baker Refusal class' (#182) from void/ridge-ring-rebake-v7 into dev
All checks were successful
Rat dev preview / Build dev preview (push) Successful in 3m43s
2026-11-26 05:12:20 +00:00
Meta Vens
a82d2b1847 ridge-bake tests: _refuses lets a non-Refusal exception propagate, so a crash stays CRASHED
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m44s
Soul s2 (refuses-converts-crash-to-kill): turning a numpy failure at a refusal case into an AssertionError made mutate.py count crashes as kills, the hole the Refusal class closes. Reverts that deviation of cb751c20; the apron-width mutant that crashes in numpy is reported as CRASHED.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 03:35:58 +01:00
Meta Vens
87a762e2de ridge: v7 ring bakes of fuji, matterhorn, amadablam and grandcanyon (Unkar/Cardenas); the index lists five places
Baked on Yggdrasil with baker version 7 (500 m near clip, DEM near ground, near pixels bind r_max at the clip) from a git archive of this tree's scripts/ridge-bake, one export.py per place into one out dir seeded with public/ridge. Every place binds at the clip: r_max_m 95.8, r_max_forward_m 198.4. Fuji reproduces fuji-8dac36611b90.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 00:26:35 +01:00
Meta Vens
cb751c203a ridge-bake: the baker's own Refusal(ValueError), raised at every refusal site; the fixtures catch it only
A numpy ValueError reaching a fixture that read `except ValueError as e: assert text in str(e)` is now a crash (mutate.py: CRASHED), not a kill. refusal.py is the one definition both ridge.py and export.py import (export's pure parts import no baker, ridge needs the env at import).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-26 00:26:18 +01:00
Meta Vens
0c5e06d85b ridge-bake: authored card splits for matterhorn, fuji, amadablam; the grandcanyon preset at Unkar/Cardenas (ruling ridge-grandcanyon-spot-unkar); bake host notes
Presets from fa2991e4 beside dev's tz rows; the grandcanyon eye is the operator's Unkar/Cardenas pick, not that commit's Black Bridge.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 22:16:13 +01:00
5dca1bd658 Merge pull request 'Ridge near ground: DEM march inside the 500 m clip, near pixels bind r_max at the clip' (#181) from void/ridge-near-ground into dev
All checks were successful
Rat dev preview / Build dev preview (push) Successful in 4m1s
2026-11-25 21:13:32 +00:00
Meta Vens
30b8b17b8e ridge-bake: the nearest-pixel mutant follows the near-pixel rule's text
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m35s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 10:14:58 +01:00
Meta Vens
6b869e7dcd ridge: rebake Vienna with near pixels bound at the clip (vienna-f50ec31ee950, 95.8 / 198.4)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 08:15:04 +01:00
Meta Vens
98e885cb3f ridge-bake: near pixels bind r_max at the clip in every tile (no near-only special case); mutate.py kills only on an assertion raised by the fixtures' own code, the _view wrapper is gone
The runner prints the innermost traceback frame's file with each FAIL; a KILL is an AssertionError whose frame lies in the tests directory, so a numpy crash in the baker or an assert inside the library is CRASHED.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 08:15:03 +01:00
Meta Vens
5117d67a53 ridge-bake: two fixtures assert where a refusal escaped as a ValueError, so their mutants are killed by an assertion
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 05:29:30 +01:00
Meta Vens
7bf01fb54f ridge-bake: near-only card-0 tiles bind r_max at the clip they are slid at; mutate.py runs the unmutated copy first and kills only on an AssertionError
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 03:10:04 +01:00
Meta Vens
5b559a051c ridge-bake: the stale pack mutant follows the near exclusion; mutate.py reports a mutant whose text is gone instead of crashing the pool
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 02:00:45 +01:00
Meta Vens
86da81539b ridge: rebake Vienna with the near ground (vienna-6cb9dd790b74, baker_version 7; 95.9 / 198.6)
Cards 1 and 2 byte-identical to vienna-5c02a10ec4c7; card 0's 173832 former wall pixels are near ground; every distance_m and the camera unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 00:42:52 +01:00
Meta Vens
2c22193c91 ridge: seven near-ground mutants; mutate.py counts a kill only on a named fixture failure; an ultrawide offsetRange case kills a 0.5 keep clamp
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 00:39:58 +01:00
Meta Vens
406b197a6c ridge-bake: the ground under the near clip is the place's own DEM from 1 m, drawn by card 0 inside the clip silhouette (baker_version 7)
near_march / join_near / the near flag in cards; cut_ring and bake_place join it; pack leaves near pixels out of distance_m and the nearest-terrain table.
Rulings ridge-near-ground-outline, ridge-skirt-needs-real-ground.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 00:39:58 +01:00
5aeb6bc49d Merge pull request 'Ridge near clip at 500 m, nearest-terrain offset bound, Vienna rebake' (#180) from void/ridge-near-clip into dev
All checks were successful
Rat dev preview / Build dev preview (push) Successful in 3m26s
2026-11-24 23:18:23 +00:00
Meta Vens
f17ed57d5b ridge-bake: delete the skirt (skirt_height, SKIRT_BLUR_DEG, the cards skirt parameter, its fixtures and mutants, blurw)
The blurred-ring skirt of card 0 is the owner the near ground replaces (ruling ridge-skirt-needs-real-ground); cut before the near march lands.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 23:54:57 +01:00
Meta Vens
df1b2bd8e3 ridge-bake: drop the skirt source and blur pins (the skirt colour is redesigned later); mutants follow the nearest-terrain names
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m32s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 23:33:49 +01:00
Meta Vens
1f2e0d3aa3 ridge: rebake Vienna at the nearest-terrain bound (vienna-5c02a10ec4c7, 95.9 / 198.6); the Vienna pin follows
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 21:32:10 +01:00
Meta Vens
38a854063e ridge: offsetRange on a desktop viewport with keep under 0.75 is pinned
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 21:32:09 +01:00
Meta Vens
73354b2e24 ridge-bake: r_max holds for the nearest solid terrain of each card tile, skirt-only tiles bind nothing; pin the skirt source and blur; the near-clip compare is float-safe
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 21:32:09 +01:00
Meta Vens
e75f512b03 ridge-bake: fix a quote in a mutant name
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 20:27:36 +01:00
Meta Vens
e3c7c5624f ridge: rebake Vienna with the skirt (baker 6, vienna-86018d39bd04)
Card 0's rows under the 500 m near clip are the calm skirt; r_max_m 113.4 and r_max_forward_m 234.9 are the fit bound of the terrain beyond the clip (nearest card 592 m), not the clip floor.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 19:42:15 +01:00
Meta Vens
73d42d3dfa ridge: the near ground is a skirt under a named 500 m near clip; every bake keeps 150 rows under the horizon
Card 0's rows under its first sample are wall rows like every other card's, coloured from the ring-blurred sample-0 height, so the near ground no longer extrudes one sample per column. NEAR_CLIP_M names the march start; write_bake refuses a card 0 nearer. set_view gains a horizon anchor (GROUND_ROWS_MIN = 150 rows under it, exaggeration floor 0.5x, refusing a skyline that cannot hold them); validate_manifest and manifest.ts refuse a short plane, and offsetRange loses its keep >= 1 case. Baker version 6; no bake is rebaked here.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-24 19:42:00 +01:00
52cd61b047 Merge pull request 'Ridge: the sky, stars and night bodies turn with the heading' (#179) from void/ridge-sky-turns into dev
All checks were successful
Rat dev preview / Build dev preview (push) Successful in 3m5s
2026-11-23 05:56:38 +00:00
Meta Vens
da27bc06b6 harness: plateCost passes the plate's slack
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m14s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 06:54:36 +01:00
Meta Vens
2a83976e7c ridge sky: a swap keys from the clock after its paint, the margin follows the speed and the tick, the twinkle is keyed by star
swap-lag: a plate is repainted first (`refit`), then everything is keyed from a clock read after the paint, on the issue path and the residency path alike; paint time is no longer lag.
recentre-margin-zero: the recentre margin is the speed in force (heading.ts turnRate) over the tick's real period plus a 2 s lateness budget; the slack is sized to the same speed, and a plate is repainted when a faster turn asks for more.
twinkle-reroll: the twinkle schedule runs over the catalogue (Star.id), so a swap keeps which stars swing and their phase, and the new twinkle canvas is drawn before it is shown.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 06:46:22 +01:00
Meta Vens
1ed14c93d7 harness: a live ridge page for the sky plate and a sun override for the look sheet; the scene README names the plate
ridgeLive.html runs one tier-full scene for a CDP driver (hold, pose, plate edge, plate paint cost, long tasks); ridgeSheet takes &sun=az:el so a column's sun can
stand where a turned camera should see it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 06:12:17 +01:00
Meta Vens
fe6be73807 ridge sky: the sky, the stars and the night bodies turn with the heading on a plate of the viewport arc plus slack, re-centred before it runs out
The live scene paints its physical sky into one plate element, 20 degrees wider than the viewport each side, centred on the heading heading.ts owns, with
the twinkle canvas as its child, and slides it on the same keyframes as the cards (translate by -(h - centre) px per degree; the sky is at infinity).
A residency tick or a reissue paints a new plate about the heading when it is within 14 degrees of the plate's edge and swaps it in the same tick.
The host canvas now holds only a still's sky (painted facing the still's frozen pose) or a gradient; the fixed full-viewport twinkle overlay is gone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 06:04:37 +01:00
a229d19781 Merge pull request 'Ridge runtime: the camera turns the whole ring (lazy tiles, rotation modes, per-mode offset bound)' (#178) from void/ridge-ring-runtime into dev
All checks were successful
Rat dev preview / Build dev preview (push) Successful in 3m38s
2026-11-23 04:47:56 +00:00
Meta Vens
013a3783f5 scene: a rebuild has no failure end; ink and theme follow the sky of the scene that is up
All checks were successful
Build pull request / Build pull request (pull_request) Successful in 3m5s
A rebuild with no tile stays pending (its loader retries) and replaces the shown scene the moment it holds one; a newer rebuild supersedes it. sceneDrawn owns the drawn sky; the door tells it the band of the scene it shows, and the theme and ink hooks read it, not the announced band. A rebuild over a sky-only scene keeps the first-load deadline.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 05:46:16 +01:00
Meta Vens
0c614f9e22 ridge still: one pose, frozen at the first paint; arrivals repaint it, a resize takes a fresh one and asks for its tiles
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 05:38:24 +01:00
Meta Vens
a95e5447b1 docs: the ridge target names the one owner of the pose
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 04:34:57 +01:00
Meta Vens
27356ff7c4 scene start: one lifecycle rule, a new backdrop replaces the shown scene once it holds tiles
A build a newer one supersedes is given up at once (its backdrop disposed, its requests aborted) instead of running to the end of its pass: five quick sky picks on a slow link left five backdrops and lighting contexts alive. A rebuild that ends with no tile no longer swaps a ridge that was fine for the sky alone and tells the host its planes failed: the scene that is up stays, its own backdrop is disposed, and the next change of sky tries again. Only a first load that ends with no tile is the sky alone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 04:22:47 +01:00
Meta Vens
721bb0b392 ridge heading: one owner of the camera pose, a segment that is a pure function of the clock; Vienna rebaked under the continuous fit gate
heading.ts holds one segment: the pose (view direction, camera angle, offset) at t0, the mode and bounded speed, and the ease to the pose the inputs owe. poseAt(t) is a pure function of it. Any change (a mode pick, a hold, a resume, the speed, the offset slider, a new bound, reduced motion, a place) starts a new segment from poseAt(now), and the order of the two stages (the angle first when the camera goes to stand on its heading, the offset first when it goes off it) is decided from that pose against the bound, so every pose inside an ease is inside the bound from wherever it starts.

Deleted: the change log in cameraState (takeChanges, CameraChange: the owner is one synchronous hook called before every listener, no queue), the offset ease and its closure state in Ridge.ts (offsetNow, offsetFrom, offsetAt, easeLeft, easeEndsAt, offsetFreeAt, shownPhiAt), and the rig's camera subscription (the rig hears heading alone). A rebuild reads poseAt(now) and lands exactly where the old scene was.

Vienna rebaked under the continuous measure: vienna-2aac8e6fee59, r_max_m 95.8 (was 98.2), r_max_forward_m 198.4 (was 205.4); the worst card is at 24.0 px by the continuous measure. Tests: a pick made while an ease is under way and a rebuild in the middle of one at Vienna's bounds, and a seeded property run of picks, holds, speeds, offsets and rebuilds at random times checking every laid-out pose against the bound and the owner's pose, and continuity across rebuilds.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 04:22:10 +01:00
Meta Vens
7aea83856b ridge loader: the backdrop retries a failed tile on its own backoff, for every tier
A still has no residency timer, so a tile that failed in its first pass was never asked for again and the ridge kept an 11.25 degree hole until reload. The loader now keeps the arc last asked for and, when a tile of it failed, asks again at the end of its pause (doubling to a minute, as before) with no one asking; the arc moving away or dispose ends it, a 404 is still not asked for again. Residency timers say which tiles are wanted and nothing else.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 04:21:02 +01:00
Meta Vens
128fda5ec5 ridge-bake: the fit gate measures the continuous error, the manifest and index are written as bytes
fit_px took the least-squares line of 33 uniform samples and the error on the same 33: the line was biased by its end samples, so the shipped bounds were at 24.7 and 26.3 card px by the continuous measure. The line is now the quadrature of the viewport (Gauss-Legendre, 48 nodes) and the error is looked for on 513 points; a fixture checks it against a 20001-sample brute force within 0.1 px at the offsets the bound is set at.

write_bake wrote manifest.json and index.json with Path.write_text, which ends lines with CRLF on Windows while bake_id hashed LF: the bytes served were not the bytes the id was hashed from. They are written as bytes now; the fixture runs the writer with a text writer that ends lines CRLF and checks the id from the bytes on disk.

Mutants: the 33-sample line, a two-node quadrature, and each text write.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 04:20:56 +01:00
Meta Vens
7b92d5c6ee ridge heading: the owner computes on read from the clock and the changes the viewer made (no listener, no order); a mode pick eases the camera's inputs in two stages, the angle and the offset one after the other, each pose a real pose inside the fit; reduced motion has no ease
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 02:54:28 +01:00
Meta Vens
aeace1f346 ridge still: the backdrop tells of each tile it makes, and a still rebuilds once per burst of arrivals (the same debounced rebuild as a resize), so the tiles that come after the deadline are drawn
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 02:45:30 +01:00
Meta Vens
5ed3327b14 scene start: the deadline is for the first scene alone; a rebuild keeps the scene it replaces until the new one has its tiles, and never swaps to the sky alone for want of time
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 02:45:28 +01:00
Meta Vens
801fdf3e31 ridge assets: public/ridge is checked out as committed (-text), so a Windows checkout serves the bytes its bake id was hashed from; the asset test hashes the real bytes and pins the attribute
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 02:41:04 +01:00