Commit graph

2,259 commits

Author SHA1 Message Date
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
Meta Vens
0f4739f8b8 ridge assets: Vienna rebaked under baker 5 with the new bake id vienna-6c0b4df70bf5 (tiles byte-identical, manifest now inside the id); the asset test hashes the manifest too
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 02:23:49 +01:00
Meta Vens
fcfa26c2bc ridge-bake: bake_id addresses the whole bake, the manifest as written (its id blanked) and then the tile files, so a manifest change is a new directory
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 02:23:47 +01:00
Meta Vens
fa2e216039 ridge runtime: the speed is bounded from the anchor, the owner settles before the rig reads it, a mode pick eases the view, and a scene start has a deadline
anchor takes the place's speed bound, so the view never turns past it while the first tiles load, and the rig no longer installs it. The owner keeps one
listener (same function, same place in cameraState's order) so a re-anchor cannot move it behind the old rig's. A change of mode eases phi (shownPhiAt) and
the offset the clamp releases or takes over EASE_MS, keyed finely in the same WAAPI animation. prepare waits PREPARE_DEADLINE_MS for the first arc, then draws
with the tiles held (the rig asks for the rest) or, with none, is the sky alone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 02:09:27 +01:00
Meta Vens
32bcc2490a ridge loader: a freed slot is handed to the next waiter, so the cap of six holds under arc churn; dispose gives up the requests of the pass in flight
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 02:09:25 +01:00
Meta Vens
898ace2291 ridge runtime: the hold is session state in cameraState, the clamps are derived at read and never written back, fetches go nearest the view first
- cameraState holds the chosen mode (persisted) and a non-persisted hold flag;
  the mode in effect is still while held. A rebuild keeps the hold, a reload is
  a Return, and picking a mode (the chosen one included) ends it.
- The speed bound is applied at read in heading.ts (setSpeedLimit); the stored
  speed and offset are the viewer's and nothing writes them back.
- ensure(arc, first): the tiles are asked for and made nearest first to the arc
  the view shows now, then outward along the sweep.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 01:34:07 +01:00
Meta Vens
76d02e1997 ridge-bake tests: the forward offset is searched at phi 0 alone (a mutant that searched the circle survived)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 01:27:52 +01:00
Meta Vens
35c3f825a8 ridge runtime: one owner of the rotation mode and the hold; the offset range and the speed bound per mode; the arc swept, not sampled at its ends; the heading kept bounded
- cameraState owns the mode; heading.ts keeps only where the view was at a
  clock and integrates under the choice, listening to it. A manual turn sets
  the mode to still, so a rebuild or a reload keeps the hold and choosing a
  mode again (the one the viewer had included) resumes it. The second copy of
  the mode in heading.ts and the sync that re-applied it at every scene build
  are deleted. Reduced motion is an override in heading.ts (freeze).
- offsetRange takes the mode (and the camera's angle): the forward bound
  camera.r_max_forward_m where the camera stays on its heading, the worst-case
  camera.r_max_m where it circles and for a backward offset, the nearest card's
  foot clamp on both sides where the circle takes the offset round to phi 180.
  The default +200 m is clamped by the range of the current mode.
- maxSpeed: the speed the baked resident count sustains, applied to the stored
  choice at the scene start and on every change.
- sweepArc: the arc of every pose of the next 30 s, sampled four times a
  second; the rig mounts and asks the loader for that, and lays out in the same
  tick as it issues a stretch.
- heading.normalize brings h and phi into [0, 360) before each stretch, so
  transforms and tile positions stay small however long the page is open.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 01:01:57 +01:00
Meta Vens
b4232c9c55 ridge runtime: the loader asks for files six at a time against a timeout, backs off a failed tile and gives up on a 404
A tile's files were fetched one card after another with no timeout, and a
failed tile was asked for again every 500 ms for as long as it stayed in the
arc. Requests now queue to FETCH_PARALLEL over every tile of the pass, each
gives up after FETCH_TIMEOUT_MS (aborted), a tile that failed is asked for
again after a pause that doubles from 1 s to 60 s, and a file the server
answers 404 or 410 is not asked for again while its tile stays: the scene draws
the tile's other cards. The load and keep margins move to ring.ts, where
view.ts's speed bound spends them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 01:01:36 +01:00
Meta Vens
40573e5c32 ridge assets: Vienna rebaked with camera.r_max_forward_m (205.4 m, r_max_m 98.2 m); the manifest and the gate read it
The tile files are unchanged (same bake id); the manifest gains the forward
offset bound. The assets gate recomputes the resident run at the larger of the
two offsets.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 00:53:07 +01:00
Meta Vens
86063b86ff ridge-bake: camera.r_max_forward_m, the offset bound with the camera on its heading (phi = 0 alone); baker version 5
r_max_m holds over every angle of the camera on its circle, which only the
offset-only rotation mode reaches. Where the view direction turns with the
camera phi stays 0 and the linear map holds further out: the baker ships that
bound too (same FIT_PX_MAX, same half-nearest-distance cap, same resident gate,
refused if below r_max_m).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 00:44:43 +01:00
Meta Vens
5fb77e2bcd ridge runtime: view test pins the sign of the camera's sideways shift
A mutant that flipped the offset's sin(phi) term survived: the phi 90 test read
the shift by magnitude only. It now requires the shift to the left for a camera
clockwise of the heading and to the right for the other side.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 00:11:13 +01:00