Skip to content

The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta (OW1) - #1378

Merged
transfix merged 8 commits into
masterfrom
feat/tick-120
Nov 20, 2026
Merged

transfix merged 8 commits into
masterfrom
feat/tick-120

Conversation

@transfix

Copy link
Copy Markdown
Owner

OW1 of ARIADNE_WORLDS.md section 18 (one world, the holon is the world). Every simulation host now runs the holon's clock: 1/120 s quanta, one physics step per quantum. The navigator's tick is 7 quanta (0.0583 s). The owner chose that on 2026-11-19 ("7 quanta") as the nearest whole tick to the 0.06 s the shipped policies were trained at.

What changes

  • cvc/core/sim_tick.h:
    • kSimQuantum = 1/120 s.
    • New kSimTickQuanta = 7; kSimTick is derived from them.
    • kSimCatchup stays 0.25 s (30 quanta).
    • adopt_sim_clock now puts a fresh clock on the catch-up even when it is already at the quantum.
  • The gym, WorldVehicles, the scene swarm (its navigator now ticks kSimTick, not the trainer scene's 0.06 s) and sim_thread's fallback all follow kSimTick.
  • Hosts on the clock build their plant world at kSimQuantum, so the tick is whole steps of it: pycvc_gl.cars and the scene swarm. plant_host's and world_config's own defaults stay 0.01 s, where the trainers' 0.06 s navigators run and the cross-platform determinism goldens are pinned.
  • reach_on_plant / score_on_plant: the evaluation world's step divides the tick (below).
  • pycvc: SIM_TICK_QUANTA. cars.py's fallbacks are 7/120 and 1/120.
  • Tests: the sim tick, gym tick, Python gym and nav-lab expectations, moved to the new tick.

The shipped policies at the new tick
NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick is opt-in (CVC_NAV_TICK_AB=1). It drives Jolt RoboRacers through the city over the same 24 s at 0.06 s, at 7/120 s and at 0.05 s (20 seeds of 48 agents), for both the shipped weights and the untrained default. It requires the reach at the new tick to stay within 0.05 of the reach at 0.06 s.

Policy 0.06 s x 400 7/120 s x 411 0.05 s x 480 new tick vs 0.06 s (paired, 20 seeds)
shipped coef_mlp.cvcnav 0.519 0.522 0.515 +0.003 (SE 0.014)
default_biased 0.522 0.548 0.501 +0.026 (SE 0.011)

Building hits stay at 0.00 and contact at 0.03-0.04 s. Neither policy needs retraining. The evaluation's physics world now uses a step that divides the tick: 0.01 s when the tick is whole 0.01 s steps, so every existing score is unchanged; the quantum when it is whole quanta.

Not changed here: the trainers' defaults (coef_train's training_scene::dt, city_scene, the CUDA trainer, the pycvc material trainer). They carry the GRL-SNAM city story's 0.06 s, which GRL-SNAM's own Python stories mirror, so they move together with GRL-SNAM's hosts (T3). The check above says no retraining is needed.

The docs record the result: ARIADNE_WORLDS.md section 18.1 and OW1 marked built; WORLD-CLOCK-SYNC "One tick" marked superseded.

Local (MSVC, Jolt):

  • Related C++ suites: 1362/1363 (Ariadne, gym, holon, room, swarm, clock, cvcGL).
  • Plant host, Python, scene world and swarm: 302/302 after the plant-world fix.
  • The one failure is cvcgl_ari_golden's orthoslicer frame on this box's Intel Arc, a volume render that doesn't use the clock.

…7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.
The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.
0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.
The pose track takes 618 steps of 1/120 s, not 515 of 0.01 s, and its pinned
state hash and the pose document's (C++ test and arigl's pose_entities regex)
move with the step. The timed-pose test's span is six physics steps instead
of a literal 0.06 s, so it holds at any step.
The drawn and headless worlds still agree (598 steps); the pinned cross-platform
hash moves with the step, as the other pose-entity hashes do.
@transfix
transfix merged commit cdcd888 into master Nov 20, 2026
29 checks passed
@transfix
transfix deleted the feat/tick-120 branch November 20, 2026 19:36
transfix added a commit that referenced this pull request Nov 20, 2026
…1403)

FL1b of [FLEETS_AND_NIGHT_ROADMAP.md](docs/roadmap/FLEETS_AND_NIGHT_ROADMAP.md), following FL0 + FL1a (#1384, merged as 28c371c).

Each fleet now has its own navigator, with its own sense, belief and policy (settled as D8). Nothing in the one-world stack (#1378, #1379, #1381, #1387) touches this part.

```yaml
start:
  - { fleet: city, archetype: humvee, plant: kinematic, count: 800, spawn: opposed, seed: 7,
      rally: { count: 16 }, sense: fog, belief: grouped, policy: trained }
```

## A navigator per fleet

- **One navigator per plant per fleet**, keyed `<plant>/<fleet>`. The plant's unnamed vehicles keep the navigator they had. The fleets meet each other as foreign agents, as different plants already did.
- **`sense:`** is `known` or `fog`. By default it is the world's `vehicles.sense`, and it follows that key when the key changes.
- **`belief:`** says how the vehicles share what they sense:
  - `shared` (the default): one map;
  - `grouped`: max(2, n / 64) maps, teammates together;
  - `private`: one map per vehicle.
- **Keys:** `vehicles.fleets.<name>.sense` and `.belief` rebuild the navigator, with the vehicles at rest where they are. `.planes` counts the maps.

## The policy

`policy:` takes one of:

- `trained` (the default): `$CVC_NAV_WEIGHTS`, else an installed copy (`coef_mlp::default_weights_path`), else a download of `cvcpkg://cvc/grl-snam-weights` (`share/grl-snam-weights/coef_sdf.cvcnav`) through the data store, cached by hash;
- `builtin`: the built-in net;
- a `.cvcnav` path;
- `{ uri, path, sha256 }`: a file, an https URL or a cvcpkg:// package, the `.cvcnav` inside it, and its hash;
- `{ data: <entry> }`: one of the document's `data:` entries.

Switching and reporting:

- `vehicles.fleets.<name>.policy` switches it live: `sim_world::set_policy`, or `reset_policy` for the built-in net.
- `.drives` says what drives:
  - `trained (<where>, sha256:...)` or `weights (...)`;
  - `builtin`;
  - `builtin: loading <uri>` while a download is under way;
  - `builtin: no trained weights (<why>)` when the weights can't be had. The fleet then drives on the built-in net, and the host's log gets the same line once. With the network off, the reason reads "the network is off, so ... cannot be fetched: run the host with the network on (--net-allow ORIGIN)".
- New `policy_library::get_bytes` loads weights already in memory (a download, a data entry) once per hash, as `get` does for files.

## Also

- **`controller: pose` is refused for a fleet**, and so is an archetype whose first controller is `pose`. A fleet lays out and drives its vehicles, while a pose entity is placed only by its poses.
- **The FL1a documents now say `policy: builtin`**, so their layout and drive tests don't depend on the weights a box has installed.
- **Docs:** the Fleets section of ARIADNE.md, and in the roadmap the FL1b row and D3 updated for ARIADNE_WORLDS section 18. A drawn host's async world becomes the local server-role holon (OW7), and `poses(fleet)` feeds OW5's playout.

**Left for FL1:**
- plant lists and per-team plants;
- the metric (D9);
- `poses(fleet)`;
- the gym's fleet.

## Tests

`ariadne_scene_world_test` passes locally (MSVC, Jolt).

- **New:** `AriadneWorldVehicles.AFleetHasANavigatorAndAPolicyOfItsOwn` covers:
  - a 130-vehicle grouped fleet (2 maps) beside 6 private fog scouts (6 maps) on a sha256-pinned `.cvcnav`;
  - the belief key, then the policy key switched live: builtin, trained via `$CVC_NAV_WEIGHTS`, a missing file, and an unreachable cvcpkg package. The last two fall back visibly.
- **Extended:** `AFleetIsANamedStartEntry` gains the new keys and their errors.
transfix added a commit that referenced this pull request Nov 20, 2026
…40 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.
transfix added a commit that referenced this pull request Nov 20, 2026
AFleetIsLaidOutInTeamsAtRallyPoints (FL1a, #1384) stepped 240 times and
asked for the fleet to be 5 m east. On OW1's 1/120 s quantum (#1378)
those steps are 2.0 s, not the 2.4 s it was written at, and the fleet
starting from rest is 4.36 m east by then. Neither PR's CI saw the
other, so master has failed it since OW1 merged.

It now steps 3 s of the clock (3 / kSimQuantum), about 9 m east.

(cherry picked from commit 1cf1081)
transfix added a commit that referenced this pull request Nov 20, 2026
…ter red after OW1) (#1405)

AFleetIsLaidOutInTeamsAtRallyPoints (FL1a, #1384) stepped 240 times and
asked for the fleet to be 5 m east. On OW1's 1/120 s quantum (#1378)
those steps are 2.0 s, not the 2.4 s it was written at, and the fleet
starting from rest is 4.36 m east by then. Neither PR's CI saw the
other, so master has failed it since OW1 merged.

It now steps 3 s of the clock (3 / kSimQuantum), about 9 m east.
transfix added a commit that referenced this pull request Nov 20, 2026
AFleetIsLaidOutInTeamsAtRallyPoints (FL1a, #1384) stepped 240 times and
asked for the fleet to be 5 m east. On OW1's 1/120 s quantum (#1378)
those steps are 2.0 s, not the 2.4 s it was written at, and the fleet
starting from rest is 4.36 m east by then. Neither PR's CI saw the
other, so master has failed it since OW1 merged.

It now steps 3 s of the clock (3 / kSimQuantum), about 9 m east.

(cherry picked from commit 1cf1081)
transfix added a commit that referenced this pull request Nov 21, 2026
…he major (#1377)

* cvcpkg recipes: pin every family dependency to its own release, not the major

While libcvc 4.0.1 was half-published (2026-11-19), CVC-Lab/GRL-SNAM's CI
resolved pycvc-gl-cp313 4.0.1 with cvcgl 4.0.0 (undefined symbol
cvc::gl::RibbonNode::replaceFrom) and pycvc-cp311 4.0.0 with libcvc 4.0.1
(segfaults, garbage energies). The ABI changes between patch releases, and
v4.0.1 predates #1289, so its rows record those edges with no version at all;
"^4.0" would have allowed the same mixes.

- Every dependency on a recipe under cvcpkg/recipes/ (or a name one provides)
  pins version "==<CMakeLists VERSION>". cvcpkg reads "==X.Y.Z" without
  +cvc.N as any revision of X.Y.Z, so +cvc.N rebuilds still satisfy it, and its
  backtracking resolver falls back to the newest release that is complete on
  the catalog instead of mixing two.
- recipe-family-pins.py checks "==<VERSION>" (was "^<major>.0") and gains
  --write. bump-version.py X.Y.Z does a release bump in one step (CMakeLists,
  every upstream_version, cvc_revision 1, the pins), so the pins move with it.
- publish-cvcpkg's CUDA lane installed the newest published cvcgl to build
  pycvc-gl-cp311-cuda: v4.0.1's was built against cvcgl 4.0.0+cvc.3, installed
  49 min before cvcgl 4.0.1 reached the catalog. It now waits (up to 120 min)
  for cvcgl==<version> and fails rather than link another release.
- backfill-family-pins.py pins the same edges on rows already published
  (1,116 rows; the registry's backfill-deps admin endpoint with
  expect_required_deps). Without it a half-published release still falls back
  to an unpinned older binding beside the new libraries. Dry run by default;
  --apply needs an admin token and is the registry owner's call.

* backfill-family-pins.py: count a row the server left alone as unchanged; --limit and --save

The registry's compare-and-set answers count.required_deps == 0, not an error, when a row's
stored deps differ from the catalog's copy, so a row it skipped was reported as pinned. It is
now reported UNCHANGED and fails the run. --limit N writes only the first N rows (a canary) and
--save FILE writes each row's old and new required_deps, from which the change can be reverted.

Applied to cvcpkg.org on 2026-11-19: 1,116 rows pinned, none unchanged or failed; a rerun finds
nothing.

* backfill-family-pins.py: the backfill's date is 2026-11-20 UTC

* recipes: pin the family to ==4.0.2, master's version since #1383

Written by recipe-family-pins.py --write after merging master.

* ariadne tests: the fleet's rally check drives 3 s, not 240 steps

AFleetIsLaidOutInTeamsAtRallyPoints (FL1a, #1384) stepped 240 times and
asked for the fleet to be 5 m east. On OW1's 1/120 s quantum (#1378)
those steps are 2.0 s, not the 2.4 s it was written at, and the fleet
starting from rest is 4.36 m east by then. Neither PR's CI saw the
other, so master has failed it since OW1 merged.

It now steps 3 s of the clock (3 / kSimQuantum), about 9 m east.

(cherry picked from commit 1cf1081)
transfix added a commit that referenced this pull request Nov 21, 2026
…nstruct series (P4) (#1397)

* contour_lab: the contour tiler in Ariadne, with a demo on a real Reconstruct series (P4)

Phase P4 of docs/roadmap/VOLROVER-LIBRARY-PORTS-ROADMAP.md (§3's Ariadne part, §7's P4 row):
the tiler P3b ported (cvc::tile_contours) as a scene node, a component that drives it, and a
demo on a small redistributable Reconstruct series, native and in arigl-web.

- contour_lab (inc/cvc/gl/ariadne/contour_lab_nodes.h, registered by register_cvcgl_extensions):
  reads a contour file (source: { file }, any contour format), another node's contour_stack
  (source: { node }, its tiler.contours or grid.contours data key) or a stack on a state key's
  data channel (source: { state }), and follows a node or state source when it changes. It draws
  each component's contours as polylines under <id>_contours (tag contours). request "tile" runs
  tile_stepper as a sliced task on the app's scheduler; the surfaces go under <id>_tiles (tag
  tiles) and on the data channel at <node>.tiler.surfaces.<component>, the stack at
  <node>.tiler.contours. Keys under <node>.tiler: tile_params and read.* (contour_read_params)
  from their tables, with their properties; a row per component (name, colour, visible, tile);
  view.*, info.*, warnings; and §1.9's job keys, the phase naming the slice pair being tiled
  ("tiling slices 3 - 4 42%"). Stop ends the tile at its next step and keeps what the node had.
- contour_tiler.ari: the component picker (tile / show / colour per component), the slice range,
  the parameters, Tile / Stop / Load, a progress bar labelled with the slice pair; its INDEX.ari
  entry, which ariadne_loader_test requires of every shipped component.
- The loader passes source: { node } through to a custom type's props, as { state } and
  { stream }.
- RealizedScene::pending_work: a custom node's work in flight. cvcgl_ari_golden steps until none
  is busy before the capture.
- The demo, examples/ariadne/documents/contour_tiler.ari, tiles the Kuwajima 2019 series (CC0,
  doi:10.18738/T8/QP43LB): two axons through 72 sections, a third that branches, and two
  mitochondria inside one of them (examples/data/contours/kuwajima2019, 216 KB; its README says
  where it came from and what was kept; THIRD_PARTY_NOTICES.md cites it). In the gallery as
  contour_tiler_ari.
- Golden: src/cvcGL/test/golden/contour_tiler.ari (sections 14 to 33 of the axon with its
  mitochondria). Its PNG comes from CI's llvmpipe run, as orthoslicer's did.
- arigl-web: the docset's contour_tiler.ari, served at /apps/tiler/ with a page config that
  preloads the series from /apps/data/ (the repository's examples/data); it prints one line once
  its three surfaces are up.
- wasm: arigl-web's and libcvc-examples-web's recipes take clipper2, cdt and shewchuk-predicates
  (cvc_revision 2), as do deploy-pages' and publish-cvcgl-wasm's gallery builds (the wasm-mt SDK
  itself unchanged), so the browser builds have cvc::planar and the tiler.
- Tests: cvcgl_contour_lab (57 checks): rows, keys and their properties, polylines, the tile
  equal to tile_contours, untick, stop, colour and visibility, node and state sources, bad input,
  the pending-work probe, two apps, and a cooperative run that spans many frames.

Found: in cooperative mode the tiler's first frames (snapping, curating, augmenting) take 50 to
160 ms each in a native Release build: tile_stepper::step runs on across a phase change, and a
curating or augmenting unit is a whole slice or pair. The roadmap's §3 records it; the fix is
P3b's stepper's, not this node's.

* golden(contour_tiler): a taller window, so its three rows show

CI's first run drew the window 130 px tall, which hid the third component's row behind a
scrollbar. At 160 px all three rows show.

* golden(contour_tiler): its reference image, from CI's llvmpipe run

Taken from the ari-golden artifact of package-linux / libcvc-release at 1575da9. The
libcvc-release-grpc lane wrote the same bytes.

* ariadne tests: the fleet's rally check drives 3 s, not 240 steps

AFleetIsLaidOutInTeamsAtRallyPoints (FL1a, #1384) stepped 240 times and
asked for the fleet to be 5 m east. On OW1's 1/120 s quantum (#1378)
those steps are 2.0 s, not the 2.4 s it was written at, and the fleet
starting from rest is 4.36 m east by then. Neither PR's CI saw the
other, so master has failed it since OW1 merged.

It now steps 3 s of the clock (3 / kSimQuantum), about 9 m east.

(cherry picked from commit 1cf1081)
transfix added a commit that referenced this pull request Nov 21, 2026
* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.
transfix added a commit that referenced this pull request Nov 21, 2026
* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.
transfix added a commit that referenced this pull request Nov 21, 2026
* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.
transfix added a commit that referenced this pull request Nov 21, 2026
…t, the jump, getting in by asking (#1415)

* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.

* OW6a: drive axes as shares, brake and reverse apart, the jump, getting in by asking

avatar_intent's drive axes are now shares of the vehicle's envelope: steer of its lock,
throttle [-1, 1] (negative is reverse), brake [0, 1]; the server scales them by the
driven vehicle's max_steer/max_accel/max_decel (holon::drive_command). The brake stops
the vehicle and never backs it up; reverse brakes a car still rolling forward, then
backs it up; a boat has no brake and reverses on its propeller astern. On the wire:
intent.throttle, intent.brake, intent.jump (intent.accel is gone).

The walker jumps (avatar_intent::jump) at its controller's jump_speed (4 m/s by
default) when something is under its feet, paying the jump from its reserve.

Getting in is asked for in the room: participants.<pid>.drive = "<seq>:<entity>",
answered by server_pump in drive_status and driving (relay-owned). holon::get_in holds
it to the world's rules: the archetype's drivable: and reach: (3 m from its chassis
box). room-drive / room-driving verbs; room entities carry drivable, reach, controls.

controls.h: control schemes walk, car and boat with their own bindings (Space jumps a
walker, brakes a car; E held 0.4 s gets in and out), and a resolver with steering
ramps and hold-to-fire.

* OW6a: clang-format the changed lines

* OW6a: arigl drives by scheme; the get-in prompt, riders hidden, chase camera; docs

arigl's room controls come from the scheme of what we control: walking (avatar.keys, plus
Space to jump, V for mouse look, E held to get in), or the car's or boat's scheme while
the relay says we drive (controls.<scheme>.<action>; all of them in the Controls window).
The nearest drivable vehicle in reach (drive_target, the one ahead first) gets a prompt
over it, "E  Drive <name>", whose ring fills as E is held; a refusal is shown for a
moment. Driving, client_pump plays our own pose out from the relay's samples instead of
predicting it, room_view hides every driver's marker (set_riders), and the camera swings
behind the moving vehicle.

traffic.ari's trucks are drivable. ARIADNE_WORLDS 18.6 describes the schemes, the shares,
the jump and the ask; OW6 is started.

* OW6a: clang-format the changed lines (client side)
transfix added a commit that referenced this pull request Nov 21, 2026
* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.

* OW6a: drive axes as shares, brake and reverse apart, the jump, getting in by asking

avatar_intent's drive axes are now shares of the vehicle's envelope: steer of its lock,
throttle [-1, 1] (negative is reverse), brake [0, 1]; the server scales them by the
driven vehicle's max_steer/max_accel/max_decel (holon::drive_command). The brake stops
the vehicle and never backs it up; reverse brakes a car still rolling forward, then
backs it up; a boat has no brake and reverses on its propeller astern. On the wire:
intent.throttle, intent.brake, intent.jump (intent.accel is gone).

The walker jumps (avatar_intent::jump) at its controller's jump_speed (4 m/s by
default) when something is under its feet, paying the jump from its reserve.

Getting in is asked for in the room: participants.<pid>.drive = "<seq>:<entity>",
answered by server_pump in drive_status and driving (relay-owned). holon::get_in holds
it to the world's rules: the archetype's drivable: and reach: (3 m from its chassis
box). room-drive / room-driving verbs; room entities carry drivable, reach, controls.

controls.h: control schemes walk, car and boat with their own bindings (Space jumps a
walker, brakes a car; E held 0.4 s gets in and out), and a resolver with steering
ramps and hold-to-fire.

* OW6a: clang-format the changed lines

* OW6a: arigl drives by scheme; the get-in prompt, riders hidden, chase camera; docs

arigl's room controls come from the scheme of what we control: walking (avatar.keys, plus
Space to jump, V for mouse look, E held to get in), or the car's or boat's scheme while
the relay says we drive (controls.<scheme>.<action>; all of them in the Controls window).
The nearest drivable vehicle in reach (drive_target, the one ahead first) gets a prompt
over it, "E  Drive <name>", whose ring fills as E is held; a refusal is shown for a
moment. Driving, client_pump plays our own pose out from the relay's samples instead of
predicting it, room_view hides every driver's marker (set_riders), and the camera swings
behind the moving vehicle.

traffic.ari's trucks are drivable. ARIADNE_WORLDS 18.6 describes the schemes, the shares,
the jump and the ask; OW6 is started.

* OW6a: clang-format the changed lines (client side)

* OW6b: gamepads drive every scheme (sticks, triggers, buttons)

A control binding's pad inputs are read now: buttons by position (A, B, X,
Y, LB, RB, ...), the triggers LT and RT, and stick halves (LeftY-, LeftX+).
Each has a deadzone; an action is its keys' value or its gamepad's, the
larger, and only a key's steering ramps.

Defaults: walk on the left stick (as fast as pushed), look around on the
right, jump A, get in and out on X held; driving, the left stick steers,
RT is the throttle and LT the brake, LB a car's reverse (a boat's is LT).

cvcGL's SdlGamepad reads the first gamepad SDL finds. arigl feeds it to
the resolver, faces where the camera looks while the gamepad is in use,
turns the camera with the right stick, and names the pad's button in the
get-in prompt. room_view gains intent_from_axes for the analog walk.

* OW6b: clang-format the changed lines; the prompt's key as plain ifs

* OW6b: gamepad bindings in the Controls window, beside the keys

A KeyBinding can name its gamepad inputs and where they live (pad,
pad_path). The Controls window shows them in a column of their own with
a Change button: the next gamepad input pressed becomes the new binding.
Keys are ignored while it waits, and Escape keeps the old one.

Runtime::post_pad_press takes the newly pressed gamepad inputs.
SdlGamepad::pressed() lists them each frame (a button gone down, a
trigger or stick half past half way).

arigl's input pump now owns the gamepad: it posts the presses to the
runtime and hands the gamepad to the room's controls, except while the
window waits for a button. Each avatar and vehicle action lists its
gamepad default, seeded at <viewer>.pad.<scheme>.<action>.

* OW6b: clang-format the changed lines (Controls window)
transfix added a commit that referenced this pull request Nov 22, 2026
…n mouse look (#1420)

* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.

* OW6a: drive axes as shares, brake and reverse apart, the jump, getting in by asking

avatar_intent's drive axes are now shares of the vehicle's envelope: steer of its lock,
throttle [-1, 1] (negative is reverse), brake [0, 1]; the server scales them by the
driven vehicle's max_steer/max_accel/max_decel (holon::drive_command). The brake stops
the vehicle and never backs it up; reverse brakes a car still rolling forward, then
backs it up; a boat has no brake and reverses on its propeller astern. On the wire:
intent.throttle, intent.brake, intent.jump (intent.accel is gone).

The walker jumps (avatar_intent::jump) at its controller's jump_speed (4 m/s by
default) when something is under its feet, paying the jump from its reserve.

Getting in is asked for in the room: participants.<pid>.drive = "<seq>:<entity>",
answered by server_pump in drive_status and driving (relay-owned). holon::get_in holds
it to the world's rules: the archetype's drivable: and reach: (3 m from its chassis
box). room-drive / room-driving verbs; room entities carry drivable, reach, controls.

controls.h: control schemes walk, car and boat with their own bindings (Space jumps a
walker, brakes a car; E held 0.4 s gets in and out), and a resolver with steering
ramps and hold-to-fire.

* OW6a: clang-format the changed lines

* OW6a: arigl drives by scheme; the get-in prompt, riders hidden, chase camera; docs

arigl's room controls come from the scheme of what we control: walking (avatar.keys, plus
Space to jump, V for mouse look, E held to get in), or the car's or boat's scheme while
the relay says we drive (controls.<scheme>.<action>; all of them in the Controls window).
The nearest drivable vehicle in reach (drive_target, the one ahead first) gets a prompt
over it, "E  Drive <name>", whose ring fills as E is held; a refusal is shown for a
moment. Driving, client_pump plays our own pose out from the relay's samples instead of
predicting it, room_view hides every driver's marker (set_riders), and the camera swings
behind the moving vehicle.

traffic.ari's trucks are drivable. ARIADNE_WORLDS 18.6 describes the schemes, the shares,
the jump and the ask; OW6 is started.

* OW6a: clang-format the changed lines (client side)

* OW6b: gamepads drive every scheme (sticks, triggers, buttons)

A control binding's pad inputs are read now: buttons by position (A, B, X,
Y, LB, RB, ...), the triggers LT and RT, and stick halves (LeftY-, LeftX+).
Each has a deadzone; an action is its keys' value or its gamepad's, the
larger, and only a key's steering ramps.

Defaults: walk on the left stick (as fast as pushed), look around on the
right, jump A, get in and out on X held; driving, the left stick steers,
RT is the throttle and LT the brake, LB a car's reverse (a boat's is LT).

cvcGL's SdlGamepad reads the first gamepad SDL finds. arigl feeds it to
the resolver, faces where the camera looks while the gamepad is in use,
turns the camera with the right stick, and names the pad's button in the
get-in prompt. room_view gains intent_from_axes for the analog walk.

* OW6b: clang-format the changed lines; the prompt's key as plain ifs

* OW6b: gamepad bindings in the Controls window, beside the keys

A KeyBinding can name its gamepad inputs and where they live (pad,
pad_path). The Controls window shows them in a column of their own with
a Change button: the next gamepad input pressed becomes the new binding.
Keys are ignored while it waits, and Escape keeps the old one.

Runtime::post_pad_press takes the newly pressed gamepad inputs.
SdlGamepad::pressed() lists them each frame (a button gone down, a
trigger or stick half past half way).

arigl's input pump now owns the gamepad: it posts the presses to the
runtime and hands the gamepad to the room's controls, except while the
window waits for a button. Each avatar and vehicle action lists its
gamepad default, seeded at <viewer>.pad.<scheme>.<action>.

* OW6b: clang-format the changed lines (Controls window)

* OW6c: an avatar archetype may be a vehicle, picked beside the look

world: avatars: archetypes: entries may name one of the world's vehicle
archetypes (vehicle: rover). This is §5k phase 3 for vehicles.

- Choice: a participant picks an archetype under the existing avatar
  choice subtree (participants.<pid>.avatar.archetype, beside color and
  accessory); until it picks, it has the first.
- Server: server_pump rules on the choice (holon::set_archetype) and
  answers in the relay-owned archetype_status. For a vehicle it spawns
  it where the person stands and seats the participant for good: no
  getting out or into another, and the vehicle goes when the participant
  leaves or picks a person again.
- Rules: world_rules::avatar() is now the first person archetype;
  find_avatar is new.
- Room: the archetypes section carries vehicle, and room entities carry
  avatar (whose body it is). drive_target skips such vehicles, and arigl
  shows its owner no get-out prompt.
- Verbs: room-archetypes, room-set-archetype, room-archetype. The
  baseline conference document gains a Body combo beside Colour and
  Wear.
- traffic.ari offers a rover body.

* OW6c: clang-format the changed lines

* OW6c: the body verbs' test (room-archetypes, room-set-archetype, room-archetype)

* OW6c: mouse look is first person, by default

Walking under mouse look, arigl puts the camera at the walker's eyes
(0.92 of its body's height, 5 cm behind them) and hides its own avatar,
so W walks where you look. The orbit distance comes back when mouse look
ends.

The Controls window gains "Mouse look in first person"
(MouseControls::first_person, arigl's camera settings.first_person,
seeded on). Turning it off gives back the over-the-shoulder view.
Driving keeps the chase camera.

* ci: pin numpy-cp312's last JS-exceptions wasm bundle until JX2

cy-pca/cvcpkg#633 published numpy-cp312 2.4.6+cvc.7, its wasm and wasm-mt extensions rebuilt with
-fwasm-exceptions. libcvc still links with Emscripten's JS exceptions until JX2 (#1409), so
ariglx-web's link failed on "undefined symbol: __cpp_exception" in _multiarray_umath. The
pre-JX1 pin puts back cvc.6, as it does for boost, libpng and the rest; JX2 deletes it.
transfix added a commit that referenced this pull request Nov 22, 2026
…e.ari) (#1422)

* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.

* OW6a: drive axes as shares, brake and reverse apart, the jump, getting in by asking

avatar_intent's drive axes are now shares of the vehicle's envelope: steer of its lock,
throttle [-1, 1] (negative is reverse), brake [0, 1]; the server scales them by the
driven vehicle's max_steer/max_accel/max_decel (holon::drive_command). The brake stops
the vehicle and never backs it up; reverse brakes a car still rolling forward, then
backs it up; a boat has no brake and reverses on its propeller astern. On the wire:
intent.throttle, intent.brake, intent.jump (intent.accel is gone).

The walker jumps (avatar_intent::jump) at its controller's jump_speed (4 m/s by
default) when something is under its feet, paying the jump from its reserve.

Getting in is asked for in the room: participants.<pid>.drive = "<seq>:<entity>",
answered by server_pump in drive_status and driving (relay-owned). holon::get_in holds
it to the world's rules: the archetype's drivable: and reach: (3 m from its chassis
box). room-drive / room-driving verbs; room entities carry drivable, reach, controls.

controls.h: control schemes walk, car and boat with their own bindings (Space jumps a
walker, brakes a car; E held 0.4 s gets in and out), and a resolver with steering
ramps and hold-to-fire.

* OW6a: clang-format the changed lines

* OW6a: arigl drives by scheme; the get-in prompt, riders hidden, chase camera; docs

arigl's room controls come from the scheme of what we control: walking (avatar.keys, plus
Space to jump, V for mouse look, E held to get in), or the car's or boat's scheme while
the relay says we drive (controls.<scheme>.<action>; all of them in the Controls window).
The nearest drivable vehicle in reach (drive_target, the one ahead first) gets a prompt
over it, "E  Drive <name>", whose ring fills as E is held; a refusal is shown for a
moment. Driving, client_pump plays our own pose out from the relay's samples instead of
predicting it, room_view hides every driver's marker (set_riders), and the camera swings
behind the moving vehicle.

traffic.ari's trucks are drivable. ARIADNE_WORLDS 18.6 describes the schemes, the shares,
the jump and the ask; OW6 is started.

* OW6a: clang-format the changed lines (client side)

* OW6b: gamepads drive every scheme (sticks, triggers, buttons)

A control binding's pad inputs are read now: buttons by position (A, B, X,
Y, LB, RB, ...), the triggers LT and RT, and stick halves (LeftY-, LeftX+).
Each has a deadzone; an action is its keys' value or its gamepad's, the
larger, and only a key's steering ramps.

Defaults: walk on the left stick (as fast as pushed), look around on the
right, jump A, get in and out on X held; driving, the left stick steers,
RT is the throttle and LT the brake, LB a car's reverse (a boat's is LT).

cvcGL's SdlGamepad reads the first gamepad SDL finds. arigl feeds it to
the resolver, faces where the camera looks while the gamepad is in use,
turns the camera with the right stick, and names the pad's button in the
get-in prompt. room_view gains intent_from_axes for the analog walk.

* OW6b: clang-format the changed lines; the prompt's key as plain ifs

* OW6b: gamepad bindings in the Controls window, beside the keys

A KeyBinding can name its gamepad inputs and where they live (pad,
pad_path). The Controls window shows them in a column of their own with
a Change button: the next gamepad input pressed becomes the new binding.
Keys are ignored while it waits, and Escape keeps the old one.

Runtime::post_pad_press takes the newly pressed gamepad inputs.
SdlGamepad::pressed() lists them each frame (a button gone down, a
trigger or stick half past half way).

arigl's input pump now owns the gamepad: it posts the presses to the
runtime and hands the gamepad to the room's controls, except while the
window waits for a button. Each avatar and vehicle action lists its
gamepad default, seeded at <viewer>.pad.<scheme>.<action>.

* OW6b: clang-format the changed lines (Controls window)

* OW6c: an avatar archetype may be a vehicle, picked beside the look

world: avatars: archetypes: entries may name one of the world's vehicle
archetypes (vehicle: rover). This is §5k phase 3 for vehicles.

- Choice: a participant picks an archetype under the existing avatar
  choice subtree (participants.<pid>.avatar.archetype, beside color and
  accessory); until it picks, it has the first.
- Server: server_pump rules on the choice (holon::set_archetype) and
  answers in the relay-owned archetype_status. For a vehicle it spawns
  it where the person stands and seats the participant for good: no
  getting out or into another, and the vehicle goes when the participant
  leaves or picks a person again.
- Rules: world_rules::avatar() is now the first person archetype;
  find_avatar is new.
- Room: the archetypes section carries vehicle, and room entities carry
  avatar (whose body it is). drive_target skips such vehicles, and arigl
  shows its owner no get-out prompt.
- Verbs: room-archetypes, room-set-archetype, room-archetype. The
  baseline conference document gains a Body combo beside Colour and
  Wear.
- traffic.ari offers a rover body.

* OW6c: clang-format the changed lines

* OW6c: the body verbs' test (room-archetypes, room-set-archetype, room-archetype)

* OW6c: mouse look is first person, by default

Walking under mouse look, arigl puts the camera at the walker's eyes
(0.92 of its body's height, 5 cm behind them) and hides its own avatar,
so W walks where you look. The orbit distance comes back when mouse look
ends.

The Controls window gains "Mouse look in first person"
(MouseControls::first_person, arigl's camera settings.first_person,
seeded on). Turning it off gives back the over-the-shoulder view.
Driving keeps the chase camera.

* The conference app as a component library (cvc://components/conference.ari)

The baseline conference app's windows and tick move into a shipped
library, so cyprty and other apps import them instead of carrying a copy
(cyprty's roadmap §2).

- Units: conference (My Camera), conference_avatar (Colour, Wear, Body,
  energy) and conference_peers (a camera window per participant, arg
  rows).
- Functions: conference-step runs the whole app. Its pieces can be
  called on their own (conference-join, conference-media-open,
  conference-name-step, conference-devices-step, conference-avatar-step),
  so an app can take some of the conference.
- The library imports room_users.ari and chat.ari itself.
- conference_roster.ari is now those units placed with its menus, and
  on_tick is (conference-step): 530 lines down to 114.
- Fix: the join now also resets the Body picker's keys. Before, they
  stayed unset (nil), so the picker never filled.
- INDEX.ari and ARIADNE.md's component table list the three units.

Tests: the baseline document is the library's windows and functions; the
library's steps join, fill the pickers, send a pick and show a refusal;
ShippedComponentsLoadClean covers the new file.

* conference library: clang-format the changed lines

* conference.ari: the Audio window is the library's too

conference.ari imports audio_buffers.ari (#1421) beside room_users and chat, and conference-join
seeds tree.audio.open to 0, so the Audio window waits for the View menu. The baseline keeps its
Audio include and View > Audio item; the test checks the window and the seed.

* ci: pin numpy-cp312's last JS-exceptions wasm bundle until JX2

cy-pca/cvcpkg#633 published numpy-cp312 2.4.6+cvc.7, its wasm and wasm-mt extensions rebuilt with
-fwasm-exceptions. libcvc still links with Emscripten's JS exceptions until JX2 (#1409), so
ariglx-web's link failed on "undefined symbol: __cpp_exception" in _multiarray_umath. The
pre-JX1 pin puts back cvc.6, as it does for boost, libpng and the rest; JX2 deletes it.
transfix added a commit that referenced this pull request Nov 22, 2026
* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.

* OW6a: drive axes as shares, brake and reverse apart, the jump, getting in by asking

avatar_intent's drive axes are now shares of the vehicle's envelope: steer of its lock,
throttle [-1, 1] (negative is reverse), brake [0, 1]; the server scales them by the
driven vehicle's max_steer/max_accel/max_decel (holon::drive_command). The brake stops
the vehicle and never backs it up; reverse brakes a car still rolling forward, then
backs it up; a boat has no brake and reverses on its propeller astern. On the wire:
intent.throttle, intent.brake, intent.jump (intent.accel is gone).

The walker jumps (avatar_intent::jump) at its controller's jump_speed (4 m/s by
default) when something is under its feet, paying the jump from its reserve.

Getting in is asked for in the room: participants.<pid>.drive = "<seq>:<entity>",
answered by server_pump in drive_status and driving (relay-owned). holon::get_in holds
it to the world's rules: the archetype's drivable: and reach: (3 m from its chassis
box). room-drive / room-driving verbs; room entities carry drivable, reach, controls.

controls.h: control schemes walk, car and boat with their own bindings (Space jumps a
walker, brakes a car; E held 0.4 s gets in and out), and a resolver with steering
ramps and hold-to-fire.

* OW6a: clang-format the changed lines

* OW6a: arigl drives by scheme; the get-in prompt, riders hidden, chase camera; docs

arigl's room controls come from the scheme of what we control: walking (avatar.keys, plus
Space to jump, V for mouse look, E held to get in), or the car's or boat's scheme while
the relay says we drive (controls.<scheme>.<action>; all of them in the Controls window).
The nearest drivable vehicle in reach (drive_target, the one ahead first) gets a prompt
over it, "E  Drive <name>", whose ring fills as E is held; a refusal is shown for a
moment. Driving, client_pump plays our own pose out from the relay's samples instead of
predicting it, room_view hides every driver's marker (set_riders), and the camera swings
behind the moving vehicle.

traffic.ari's trucks are drivable. ARIADNE_WORLDS 18.6 describes the schemes, the shares,
the jump and the ask; OW6 is started.

* OW6a: clang-format the changed lines (client side)

* OW6b: gamepads drive every scheme (sticks, triggers, buttons)

A control binding's pad inputs are read now: buttons by position (A, B, X,
Y, LB, RB, ...), the triggers LT and RT, and stick halves (LeftY-, LeftX+).
Each has a deadzone; an action is its keys' value or its gamepad's, the
larger, and only a key's steering ramps.

Defaults: walk on the left stick (as fast as pushed), look around on the
right, jump A, get in and out on X held; driving, the left stick steers,
RT is the throttle and LT the brake, LB a car's reverse (a boat's is LT).

cvcGL's SdlGamepad reads the first gamepad SDL finds. arigl feeds it to
the resolver, faces where the camera looks while the gamepad is in use,
turns the camera with the right stick, and names the pad's button in the
get-in prompt. room_view gains intent_from_axes for the analog walk.

* OW6b: clang-format the changed lines; the prompt's key as plain ifs

* OW6b: gamepad bindings in the Controls window, beside the keys

A KeyBinding can name its gamepad inputs and where they live (pad,
pad_path). The Controls window shows them in a column of their own with
a Change button: the next gamepad input pressed becomes the new binding.
Keys are ignored while it waits, and Escape keeps the old one.

Runtime::post_pad_press takes the newly pressed gamepad inputs.
SdlGamepad::pressed() lists them each frame (a button gone down, a
trigger or stick half past half way).

arigl's input pump now owns the gamepad: it posts the presses to the
runtime and hands the gamepad to the room's controls, except while the
window waits for a button. Each avatar and vehicle action lists its
gamepad default, seeded at <viewer>.pad.<scheme>.<action>.

* OW6b: clang-format the changed lines (Controls window)

* OW6c: an avatar archetype may be a vehicle, picked beside the look

world: avatars: archetypes: entries may name one of the world's vehicle
archetypes (vehicle: rover). This is §5k phase 3 for vehicles.

- Choice: a participant picks an archetype under the existing avatar
  choice subtree (participants.<pid>.avatar.archetype, beside color and
  accessory); until it picks, it has the first.
- Server: server_pump rules on the choice (holon::set_archetype) and
  answers in the relay-owned archetype_status. For a vehicle it spawns
  it where the person stands and seats the participant for good: no
  getting out or into another, and the vehicle goes when the participant
  leaves or picks a person again.
- Rules: world_rules::avatar() is now the first person archetype;
  find_avatar is new.
- Room: the archetypes section carries vehicle, and room entities carry
  avatar (whose body it is). drive_target skips such vehicles, and arigl
  shows its owner no get-out prompt.
- Verbs: room-archetypes, room-set-archetype, room-archetype. The
  baseline conference document gains a Body combo beside Colour and
  Wear.
- traffic.ari offers a rover body.

* OW6c: clang-format the changed lines

* OW6c: the body verbs' test (room-archetypes, room-set-archetype, room-archetype)

* OW6c: mouse look is first person, by default

Walking under mouse look, arigl puts the camera at the walker's eyes
(0.92 of its body's height, 5 cm behind them) and hides its own avatar,
so W walks where you look. The orbit distance comes back when mouse look
ends.

The Controls window gains "Mouse look in first person"
(MouseControls::first_person, arigl's camera settings.first_person,
seeded on). Turning it off gives back the over-the-shoulder view.
Driving keeps the chase camera.

* OW5a: the room's vehicles are in the client's world

A client's holon now holds each vehicle it shows as a kinematic box of its chassis's size where
its playout shows it (holon::hold_entity, on avatar_world's new obstacles), carried on along its
velocity through the frame's steps. The walk it predicts stops at a parked car and is pushed by a
moving one, as on the relay, instead of walking through and snapping back.

client_pump takes the entity_playout and holds every entity except the one the participant drives
or is; arigl pumps the entities first. ARIADNE_WORLDS.md section 18.5: OW5a as built, OW5b and
OW5c still to come.

* OW5a: clang-format

* ci: pin numpy-cp312's last JS-exceptions wasm bundle until JX2

cy-pca/cvcpkg#633 published numpy-cp312 2.4.6+cvc.7, its wasm and wasm-mt extensions rebuilt with
-fwasm-exceptions. libcvc still links with Emscripten's JS exceptions until JX2 (#1409), so
ariglx-web's link failed on "undefined symbol: __cpp_exception" in _multiarray_umath. The
pre-JX1 pin puts back cvc.6, as it does for boost, libpng and the rest; JX2 deletes it.
transfix added a commit that referenced this pull request Nov 22, 2026
* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.

* OW6a: drive axes as shares, brake and reverse apart, the jump, getting in by asking

avatar_intent's drive axes are now shares of the vehicle's envelope: steer of its lock,
throttle [-1, 1] (negative is reverse), brake [0, 1]; the server scales them by the
driven vehicle's max_steer/max_accel/max_decel (holon::drive_command). The brake stops
the vehicle and never backs it up; reverse brakes a car still rolling forward, then
backs it up; a boat has no brake and reverses on its propeller astern. On the wire:
intent.throttle, intent.brake, intent.jump (intent.accel is gone).

The walker jumps (avatar_intent::jump) at its controller's jump_speed (4 m/s by
default) when something is under its feet, paying the jump from its reserve.

Getting in is asked for in the room: participants.<pid>.drive = "<seq>:<entity>",
answered by server_pump in drive_status and driving (relay-owned). holon::get_in holds
it to the world's rules: the archetype's drivable: and reach: (3 m from its chassis
box). room-drive / room-driving verbs; room entities carry drivable, reach, controls.

controls.h: control schemes walk, car and boat with their own bindings (Space jumps a
walker, brakes a car; E held 0.4 s gets in and out), and a resolver with steering
ramps and hold-to-fire.

* OW6a: clang-format the changed lines

* OW6a: arigl drives by scheme; the get-in prompt, riders hidden, chase camera; docs

arigl's room controls come from the scheme of what we control: walking (avatar.keys, plus
Space to jump, V for mouse look, E held to get in), or the car's or boat's scheme while
the relay says we drive (controls.<scheme>.<action>; all of them in the Controls window).
The nearest drivable vehicle in reach (drive_target, the one ahead first) gets a prompt
over it, "E  Drive <name>", whose ring fills as E is held; a refusal is shown for a
moment. Driving, client_pump plays our own pose out from the relay's samples instead of
predicting it, room_view hides every driver's marker (set_riders), and the camera swings
behind the moving vehicle.

traffic.ari's trucks are drivable. ARIADNE_WORLDS 18.6 describes the schemes, the shares,
the jump and the ask; OW6 is started.

* OW6a: clang-format the changed lines (client side)

* OW6b: gamepads drive every scheme (sticks, triggers, buttons)

A control binding's pad inputs are read now: buttons by position (A, B, X,
Y, LB, RB, ...), the triggers LT and RT, and stick halves (LeftY-, LeftX+).
Each has a deadzone; an action is its keys' value or its gamepad's, the
larger, and only a key's steering ramps.

Defaults: walk on the left stick (as fast as pushed), look around on the
right, jump A, get in and out on X held; driving, the left stick steers,
RT is the throttle and LT the brake, LB a car's reverse (a boat's is LT).

cvcGL's SdlGamepad reads the first gamepad SDL finds. arigl feeds it to
the resolver, faces where the camera looks while the gamepad is in use,
turns the camera with the right stick, and names the pad's button in the
get-in prompt. room_view gains intent_from_axes for the analog walk.

* OW6b: clang-format the changed lines; the prompt's key as plain ifs

* OW6b: gamepad bindings in the Controls window, beside the keys

A KeyBinding can name its gamepad inputs and where they live (pad,
pad_path). The Controls window shows them in a column of their own with
a Change button: the next gamepad input pressed becomes the new binding.
Keys are ignored while it waits, and Escape keeps the old one.

Runtime::post_pad_press takes the newly pressed gamepad inputs.
SdlGamepad::pressed() lists them each frame (a button gone down, a
trigger or stick half past half way).

arigl's input pump now owns the gamepad: it posts the presses to the
runtime and hands the gamepad to the room's controls, except while the
window waits for a button. Each avatar and vehicle action lists its
gamepad default, seeded at <viewer>.pad.<scheme>.<action>.

* OW6b: clang-format the changed lines (Controls window)

* OW6c: an avatar archetype may be a vehicle, picked beside the look

world: avatars: archetypes: entries may name one of the world's vehicle
archetypes (vehicle: rover). This is §5k phase 3 for vehicles.

- Choice: a participant picks an archetype under the existing avatar
  choice subtree (participants.<pid>.avatar.archetype, beside color and
  accessory); until it picks, it has the first.
- Server: server_pump rules on the choice (holon::set_archetype) and
  answers in the relay-owned archetype_status. For a vehicle it spawns
  it where the person stands and seats the participant for good: no
  getting out or into another, and the vehicle goes when the participant
  leaves or picks a person again.
- Rules: world_rules::avatar() is now the first person archetype;
  find_avatar is new.
- Room: the archetypes section carries vehicle, and room entities carry
  avatar (whose body it is). drive_target skips such vehicles, and arigl
  shows its owner no get-out prompt.
- Verbs: room-archetypes, room-set-archetype, room-archetype. The
  baseline conference document gains a Body combo beside Colour and
  Wear.
- traffic.ari offers a rover body.

* OW6c: clang-format the changed lines

* OW6c: the body verbs' test (room-archetypes, room-set-archetype, room-archetype)

* OW6c: mouse look is first person, by default

Walking under mouse look, arigl puts the camera at the walker's eyes
(0.92 of its body's height, 5 cm behind them) and hides its own avatar,
so W walks where you look. The orbit distance comes back when mouse look
ends.

The Controls window gains "Mouse look in first person"
(MouseControls::first_person, arigl's camera settings.first_person,
seeded on). Turning it off gives back the over-the-shoulder view.
Driving keeps the chase camera.

* OW5a: the room's vehicles are in the client's world

A client's holon now holds each vehicle it shows as a kinematic box of its chassis's size where
its playout shows it (holon::hold_entity, on avatar_world's new obstacles), carried on along its
velocity through the frame's steps. The walk it predicts stops at a parked car and is pushed by a
moving one, as on the relay, instead of walking through and snapping back.

client_pump takes the entity_playout and holds every entity except the one the participant drives
or is; arigl pumps the entities first. ARIADNE_WORLDS.md section 18.5: OW5a as built, OW5b and
OW5c still to come.

* OW5a: clang-format

* OW5b: the vehicle a client drives is predicted (kinematic plant)

On the kinematic plant a driven vehicle is nav's bicycle integrated once a navigator tick on the
tick's command, its chassis box moved a step at a time between the ticks, so a client that knows
its numbers runs it step for step.

- vehicle_kinematics.h: kinematic_drive (the bicycle's numbers, the envelope, the steps per tick
  and the clock ticks the navigator ticks on), kinematic_vehicle, kinematic_vehicle_step and
  kinematic_vehicle_at.
- WorldVehicles::kinematics(id); before_step(clock_tick), which SceneWorld::follow calls, notes
  the navigator's phase. room_entity::drive carries it.
- holon: the relay sets a driver's command after each step (not once a frame), so a client's
  steps match it. predict_vehicle runs the model as the walker is predicted and reconciles to the
  vehicle's samples (snap from the sample and replay past reconcile_tol).
- client_pump predicts the vehicle when its room entity carries the numbers (else plays it out as
  before); arigl draws it at the predicted pose (entity_playout::show_predicted).

Tests: the model stays within 0.05 mm of the relay's Humvee over 9 s of throttle, a turn, the
brake and reverse; the holon predicts it with nothing corrected and corrects a 1.5 m push at the
next sample; client_pump predicts with the numbers, plays out without, and walks again when out.

* OW5b: clang-format

* ci: pin numpy-cp312's last JS-exceptions wasm bundle until JX2

cy-pca/cvcpkg#633 published numpy-cp312 2.4.6+cvc.7, its wasm and wasm-mt extensions rebuilt with
-fwasm-exceptions. libcvc still links with Emscripten's JS exceptions until JX2 (#1409), so
ariglx-web's link failed on "undefined symbol: __cpp_exception" in _multiarray_umath. The
pre-JX1 pin puts back cvc.6, as it does for boost, libpng and the rest; JX2 deletes it.
transfix added a commit that referenced this pull request Nov 23, 2026
…lants, world follow, ground, surfaces) (#1444)

* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.

* OW6a: drive axes as shares, brake and reverse apart, the jump, getting in by asking

avatar_intent's drive axes are now shares of the vehicle's envelope: steer of its lock,
throttle [-1, 1] (negative is reverse), brake [0, 1]; the server scales them by the
driven vehicle's max_steer/max_accel/max_decel (holon::drive_command). The brake stops
the vehicle and never backs it up; reverse brakes a car still rolling forward, then
backs it up; a boat has no brake and reverses on its propeller astern. On the wire:
intent.throttle, intent.brake, intent.jump (intent.accel is gone).

The walker jumps (avatar_intent::jump) at its controller's jump_speed (4 m/s by
default) when something is under its feet, paying the jump from its reserve.

Getting in is asked for in the room: participants.<pid>.drive = "<seq>:<entity>",
answered by server_pump in drive_status and driving (relay-owned). holon::get_in holds
it to the world's rules: the archetype's drivable: and reach: (3 m from its chassis
box). room-drive / room-driving verbs; room entities carry drivable, reach, controls.

controls.h: control schemes walk, car and boat with their own bindings (Space jumps a
walker, brakes a car; E held 0.4 s gets in and out), and a resolver with steering
ramps and hold-to-fire.

* OW6a: clang-format the changed lines

* OW6a: arigl drives by scheme; the get-in prompt, riders hidden, chase camera; docs

arigl's room controls come from the scheme of what we control: walking (avatar.keys, plus
Space to jump, V for mouse look, E held to get in), or the car's or boat's scheme while
the relay says we drive (controls.<scheme>.<action>; all of them in the Controls window).
The nearest drivable vehicle in reach (drive_target, the one ahead first) gets a prompt
over it, "E  Drive <name>", whose ring fills as E is held; a refusal is shown for a
moment. Driving, client_pump plays our own pose out from the relay's samples instead of
predicting it, room_view hides every driver's marker (set_riders), and the camera swings
behind the moving vehicle.

traffic.ari's trucks are drivable. ARIADNE_WORLDS 18.6 describes the schemes, the shares,
the jump and the ask; OW6 is started.

* OW6a: clang-format the changed lines (client side)

* OW6b: gamepads drive every scheme (sticks, triggers, buttons)

A control binding's pad inputs are read now: buttons by position (A, B, X,
Y, LB, RB, ...), the triggers LT and RT, and stick halves (LeftY-, LeftX+).
Each has a deadzone; an action is its keys' value or its gamepad's, the
larger, and only a key's steering ramps.

Defaults: walk on the left stick (as fast as pushed), look around on the
right, jump A, get in and out on X held; driving, the left stick steers,
RT is the throttle and LT the brake, LB a car's reverse (a boat's is LT).

cvcGL's SdlGamepad reads the first gamepad SDL finds. arigl feeds it to
the resolver, faces where the camera looks while the gamepad is in use,
turns the camera with the right stick, and names the pad's button in the
get-in prompt. room_view gains intent_from_axes for the analog walk.

* OW6b: clang-format the changed lines; the prompt's key as plain ifs

* OW6b: gamepad bindings in the Controls window, beside the keys

A KeyBinding can name its gamepad inputs and where they live (pad,
pad_path). The Controls window shows them in a column of their own with
a Change button: the next gamepad input pressed becomes the new binding.
Keys are ignored while it waits, and Escape keeps the old one.

Runtime::post_pad_press takes the newly pressed gamepad inputs.
SdlGamepad::pressed() lists them each frame (a button gone down, a
trigger or stick half past half way).

arigl's input pump now owns the gamepad: it posts the presses to the
runtime and hands the gamepad to the room's controls, except while the
window waits for a button. Each avatar and vehicle action lists its
gamepad default, seeded at <viewer>.pad.<scheme>.<action>.

* OW6b: clang-format the changed lines (Controls window)

* OW6c: an avatar archetype may be a vehicle, picked beside the look

world: avatars: archetypes: entries may name one of the world's vehicle
archetypes (vehicle: rover). This is §5k phase 3 for vehicles.

- Choice: a participant picks an archetype under the existing avatar
  choice subtree (participants.<pid>.avatar.archetype, beside color and
  accessory); until it picks, it has the first.
- Server: server_pump rules on the choice (holon::set_archetype) and
  answers in the relay-owned archetype_status. For a vehicle it spawns
  it where the person stands and seats the participant for good: no
  getting out or into another, and the vehicle goes when the participant
  leaves or picks a person again.
- Rules: world_rules::avatar() is now the first person archetype;
  find_avatar is new.
- Room: the archetypes section carries vehicle, and room entities carry
  avatar (whose body it is). drive_target skips such vehicles, and arigl
  shows its owner no get-out prompt.
- Verbs: room-archetypes, room-set-archetype, room-archetype. The
  baseline conference document gains a Body combo beside Colour and
  Wear.
- traffic.ari offers a rover body.

* OW6c: clang-format the changed lines

* OW6c: the body verbs' test (room-archetypes, room-set-archetype, room-archetype)

* OW6c: mouse look is first person, by default

Walking under mouse look, arigl puts the camera at the walker's eyes
(0.92 of its body's height, 5 cm behind them) and hides its own avatar,
so W walks where you look. The orbit distance comes back when mouse look
ends.

The Controls window gains "Mouse look in first person"
(MouseControls::first_person, arigl's camera settings.first_person,
seeded on). Turning it off gives back the over-the-shoulder view.
Driving keeps the chase camera.

* OW5a: the room's vehicles are in the client's world

A client's holon now holds each vehicle it shows as a kinematic box of its chassis's size where
its playout shows it (holon::hold_entity, on avatar_world's new obstacles), carried on along its
velocity through the frame's steps. The walk it predicts stops at a parked car and is pushed by a
moving one, as on the relay, instead of walking through and snapping back.

client_pump takes the entity_playout and holds every entity except the one the participant drives
or is; arigl pumps the entities first. ARIADNE_WORLDS.md section 18.5: OW5a as built, OW5b and
OW5c still to come.

* OW5a: clang-format

* OW5b: the vehicle a client drives is predicted (kinematic plant)

On the kinematic plant a driven vehicle is nav's bicycle integrated once a navigator tick on the
tick's command, its chassis box moved a step at a time between the ticks, so a client that knows
its numbers runs it step for step.

- vehicle_kinematics.h: kinematic_drive (the bicycle's numbers, the envelope, the steps per tick
  and the clock ticks the navigator ticks on), kinematic_vehicle, kinematic_vehicle_step and
  kinematic_vehicle_at.
- WorldVehicles::kinematics(id); before_step(clock_tick), which SceneWorld::follow calls, notes
  the navigator's phase. room_entity::drive carries it.
- holon: the relay sets a driver's command after each step (not once a frame), so a client's
  steps match it. predict_vehicle runs the model as the walker is predicted and reconciles to the
  vehicle's samples (snap from the sample and replay past reconcile_tol).
- client_pump predicts the vehicle when its room entity carries the numbers (else plays it out as
  before); arigl draws it at the predicted pose (entity_playout::show_predicted).

Tests: the model stays within 0.05 mm of the relay's Humvee over 9 s of throttle, a turn, the
brake and reverse; the holon predicts it with nothing corrected and corrects a 1.5 m push at the
next sample; client_pump predicts with the numbers, plays out without, and walks again when out.

* OW5b: clang-format

* ci: pin numpy-cp312's last JS-exceptions wasm bundle until JX2

cy-pca/cvcpkg#633 published numpy-cp312 2.4.6+cvc.7, its wasm and wasm-mt extensions rebuilt with
-fwasm-exceptions. libcvc still links with Emscripten's JS exceptions until JX2 (#1409), so
ariglx-web's link failed on "undefined symbol: __cpp_exception" in _multiarray_umath. The
pre-JX1 pin puts back cvc.6, as it does for boost, libpng and the rest; JX2 deletes it.

* OW5c: a client's statics from the relay's world document

The room scene carries only what every client can draw (planes, boxes, spheres, meshes by URI), so
a client's walk met none of a document's meshes, terrain or generated buildings.

- room_world_source (conf.rooms.<room>.world_source.{uri, sha256}): the document the relay runs;
  arisrv writes it beside the room scene (none for a C++ twin). file_sha256.
- world_replica: a client that resolves the same URI to a file with the same hash builds the
  document's world (SceneWorld::from_scene, no vehicles, keys under its own prefix) and takes its
  statics: each static body as the world made it, and each node's run-time colliders as they
  become ready (a generated world's terrain, buildings and edge walls). Only what is in the world
  now counts.
- avatar_static: kind::body (a body_desc, made static, default material) and kind::geometry (a
  world_geometry, through add_world_geometry); avatar_world removes their fields too.
- client_pump(..., world) takes the replica's statics once it is ready, the room scene's until
  then; arigl passes one and logs its status.

Tests: on a 1 m dome of terrain a client with the replica stands at z 0.99, with the room scene's
statics at z 0, and another document under the same name is refused; on a generated world it
stands at z 1.23 where the relay's ground is at 1.22.

* OW5c: clang-format

* OW5d: predict the vehicle a client drives on the dynamic plant

The relay publishes what a client needs to run a `dynamic` vehicle
(dynamic_drive: its preset and five numbers, the navigator's hold on a
command, the ticks it ticks on; WorldVehicles::dynamics,
room_entity::dynamics). dynamic_vehicle_model runs the relay's
dyn_bike_plant with that vehicle alone and no world, one substep a
physics step; dyn_bike_plant::save/restore let the holon log and replay
it. holon::predict_vehicle takes a dynamic_drive, and client_pump uses
it when the room's entity carries one.

* OW5e: predict the vehicle a client drives on the dynamic4w plant

* OW5f: clients follow the relay's world switch and generated worlds

* OW5g: predict the dynamic plants on the world's ground

* OW5h: a client's statics take the relay's surfaces

* OW5i: predict the jolt plant's vehicle in a Jolt world of the client's own

The vehicle a participant drives on the jolt plant (nav_plant: a Jolt vehicle in the relay's
world) is predicted like the dynamic plants'. The room's entities carry it as dynamic_drive with
plant "jolt" (WorldVehicles::dynamics). dynamic_vehicle_model runs it in a Jolt world made as the
relay's scene world is, with the holon's statics and the vehicle alone, and keeps the whole of
that world (world::save) as the vehicle's state, so a sample restores what was predicted for its
tick and replays. New statics rebuild the model's world. avatar_world gains a constructor from a
world_config.

The gearbox, clutch and engine are not in the pose stream; with the relay's sample every 4 ticks
each sample finds the model within 3-5 mm of the relay's Humvee, flat and over a 3 m dome.
transfix added a commit to CVC-Lab/GRL-SNAM that referenced this pull request Nov 23, 2026
…m, and the replay's play head to the microsecond (#204)

libcvc 4.0.3 moved the simulation tick to 7 quanta of 1/120 s (7/120 s,
transfix/libcvc#1378), and CI picked up 4.0.4 on 2026-11-22. Two things here
assumed the old 0.06 s tick:

- live --record-trace stepped its own world_clock at 0.01 s, which 7/120 s is
  not a whole number of, so clock_follower.for_step threw ("ticks_per_step:
  the step is not a whole number of clock quanta") and every session exited 2.
  _trace.QUANTUM is now pycvc.SIM_QUANTUM (1/120 s since 4.0.3, 0.01 s in
  4.0.2), with 0.01 s when pycvc has none. A replay paces itself at its
  trace's own quantum (the header's fixed_dt, Player.fixed_dt), so a trace
  recorded at 0.01 s still plays at its speed.
- The replay wrote play.t to 4 decimals, so 2 s plus one tick read 2.0583,
  not 2.058333. It is written to 6 now.

The docstrings and help that said the tick is 0.06 s since 4.0.2 say what
each release has.
transfix added a commit that referenced this pull request Nov 24, 2026
* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.

* OW6a: drive axes as shares, brake and reverse apart, the jump, getting in by asking

avatar_intent's drive axes are now shares of the vehicle's envelope: steer of its lock,
throttle [-1, 1] (negative is reverse), brake [0, 1]; the server scales them by the
driven vehicle's max_steer/max_accel/max_decel (holon::drive_command). The brake stops
the vehicle and never backs it up; reverse brakes a car still rolling forward, then
backs it up; a boat has no brake and reverses on its propeller astern. On the wire:
intent.throttle, intent.brake, intent.jump (intent.accel is gone).

The walker jumps (avatar_intent::jump) at its controller's jump_speed (4 m/s by
default) when something is under its feet, paying the jump from its reserve.

Getting in is asked for in the room: participants.<pid>.drive = "<seq>:<entity>",
answered by server_pump in drive_status and driving (relay-owned). holon::get_in holds
it to the world's rules: the archetype's drivable: and reach: (3 m from its chassis
box). room-drive / room-driving verbs; room entities carry drivable, reach, controls.

controls.h: control schemes walk, car and boat with their own bindings (Space jumps a
walker, brakes a car; E held 0.4 s gets in and out), and a resolver with steering
ramps and hold-to-fire.

* OW6a: clang-format the changed lines

* OW6a: arigl drives by scheme; the get-in prompt, riders hidden, chase camera; docs

arigl's room controls come from the scheme of what we control: walking (avatar.keys, plus
Space to jump, V for mouse look, E held to get in), or the car's or boat's scheme while
the relay says we drive (controls.<scheme>.<action>; all of them in the Controls window).
The nearest drivable vehicle in reach (drive_target, the one ahead first) gets a prompt
over it, "E  Drive <name>", whose ring fills as E is held; a refusal is shown for a
moment. Driving, client_pump plays our own pose out from the relay's samples instead of
predicting it, room_view hides every driver's marker (set_riders), and the camera swings
behind the moving vehicle.

traffic.ari's trucks are drivable. ARIADNE_WORLDS 18.6 describes the schemes, the shares,
the jump and the ask; OW6 is started.

* OW6a: clang-format the changed lines (client side)

* OW6b: gamepads drive every scheme (sticks, triggers, buttons)

A control binding's pad inputs are read now: buttons by position (A, B, X,
Y, LB, RB, ...), the triggers LT and RT, and stick halves (LeftY-, LeftX+).
Each has a deadzone; an action is its keys' value or its gamepad's, the
larger, and only a key's steering ramps.

Defaults: walk on the left stick (as fast as pushed), look around on the
right, jump A, get in and out on X held; driving, the left stick steers,
RT is the throttle and LT the brake, LB a car's reverse (a boat's is LT).

cvcGL's SdlGamepad reads the first gamepad SDL finds. arigl feeds it to
the resolver, faces where the camera looks while the gamepad is in use,
turns the camera with the right stick, and names the pad's button in the
get-in prompt. room_view gains intent_from_axes for the analog walk.

* OW6b: clang-format the changed lines; the prompt's key as plain ifs

* OW6b: gamepad bindings in the Controls window, beside the keys

A KeyBinding can name its gamepad inputs and where they live (pad,
pad_path). The Controls window shows them in a column of their own with
a Change button: the next gamepad input pressed becomes the new binding.
Keys are ignored while it waits, and Escape keeps the old one.

Runtime::post_pad_press takes the newly pressed gamepad inputs.
SdlGamepad::pressed() lists them each frame (a button gone down, a
trigger or stick half past half way).

arigl's input pump now owns the gamepad: it posts the presses to the
runtime and hands the gamepad to the room's controls, except while the
window waits for a button. Each avatar and vehicle action lists its
gamepad default, seeded at <viewer>.pad.<scheme>.<action>.

* OW6b: clang-format the changed lines (Controls window)

* OW6c: an avatar archetype may be a vehicle, picked beside the look

world: avatars: archetypes: entries may name one of the world's vehicle
archetypes (vehicle: rover). This is §5k phase 3 for vehicles.

- Choice: a participant picks an archetype under the existing avatar
  choice subtree (participants.<pid>.avatar.archetype, beside color and
  accessory); until it picks, it has the first.
- Server: server_pump rules on the choice (holon::set_archetype) and
  answers in the relay-owned archetype_status. For a vehicle it spawns
  it where the person stands and seats the participant for good: no
  getting out or into another, and the vehicle goes when the participant
  leaves or picks a person again.
- Rules: world_rules::avatar() is now the first person archetype;
  find_avatar is new.
- Room: the archetypes section carries vehicle, and room entities carry
  avatar (whose body it is). drive_target skips such vehicles, and arigl
  shows its owner no get-out prompt.
- Verbs: room-archetypes, room-set-archetype, room-archetype. The
  baseline conference document gains a Body combo beside Colour and
  Wear.
- traffic.ari offers a rover body.

* OW6c: clang-format the changed lines

* OW6c: the body verbs' test (room-archetypes, room-set-archetype, room-archetype)

* OW6c: mouse look is first person, by default

Walking under mouse look, arigl puts the camera at the walker's eyes
(0.92 of its body's height, 5 cm behind them) and hides its own avatar,
so W walks where you look. The orbit distance comes back when mouse look
ends.

The Controls window gains "Mouse look in first person"
(MouseControls::first_person, arigl's camera settings.first_person,
seeded on). Turning it off gives back the over-the-shoulder view.
Driving keeps the chase camera.

* OW5a: the room's vehicles are in the client's world

A client's holon now holds each vehicle it shows as a kinematic box of its chassis's size where
its playout shows it (holon::hold_entity, on avatar_world's new obstacles), carried on along its
velocity through the frame's steps. The walk it predicts stops at a parked car and is pushed by a
moving one, as on the relay, instead of walking through and snapping back.

client_pump takes the entity_playout and holds every entity except the one the participant drives
or is; arigl pumps the entities first. ARIADNE_WORLDS.md section 18.5: OW5a as built, OW5b and
OW5c still to come.

* OW5a: clang-format

* OW5b: the vehicle a client drives is predicted (kinematic plant)

On the kinematic plant a driven vehicle is nav's bicycle integrated once a navigator tick on the
tick's command, its chassis box moved a step at a time between the ticks, so a client that knows
its numbers runs it step for step.

- vehicle_kinematics.h: kinematic_drive (the bicycle's numbers, the envelope, the steps per tick
  and the clock ticks the navigator ticks on), kinematic_vehicle, kinematic_vehicle_step and
  kinematic_vehicle_at.
- WorldVehicles::kinematics(id); before_step(clock_tick), which SceneWorld::follow calls, notes
  the navigator's phase. room_entity::drive carries it.
- holon: the relay sets a driver's command after each step (not once a frame), so a client's
  steps match it. predict_vehicle runs the model as the walker is predicted and reconciles to the
  vehicle's samples (snap from the sample and replay past reconcile_tol).
- client_pump predicts the vehicle when its room entity carries the numbers (else plays it out as
  before); arigl draws it at the predicted pose (entity_playout::show_predicted).

Tests: the model stays within 0.05 mm of the relay's Humvee over 9 s of throttle, a turn, the
brake and reverse; the holon predicts it with nothing corrected and corrects a 1.5 m push at the
next sample; client_pump predicts with the numbers, plays out without, and walks again when out.

* OW5b: clang-format

* ci: pin numpy-cp312's last JS-exceptions wasm bundle until JX2

cy-pca/cvcpkg#633 published numpy-cp312 2.4.6+cvc.7, its wasm and wasm-mt extensions rebuilt with
-fwasm-exceptions. libcvc still links with Emscripten's JS exceptions until JX2 (#1409), so
ariglx-web's link failed on "undefined symbol: __cpp_exception" in _multiarray_umath. The
pre-JX1 pin puts back cvc.6, as it does for boost, libpng and the rest; JX2 deletes it.

* OW5c: a client's statics from the relay's world document

The room scene carries only what every client can draw (planes, boxes, spheres, meshes by URI), so
a client's walk met none of a document's meshes, terrain or generated buildings.

- room_world_source (conf.rooms.<room>.world_source.{uri, sha256}): the document the relay runs;
  arisrv writes it beside the room scene (none for a C++ twin). file_sha256.
- world_replica: a client that resolves the same URI to a file with the same hash builds the
  document's world (SceneWorld::from_scene, no vehicles, keys under its own prefix) and takes its
  statics: each static body as the world made it, and each node's run-time colliders as they
  become ready (a generated world's terrain, buildings and edge walls). Only what is in the world
  now counts.
- avatar_static: kind::body (a body_desc, made static, default material) and kind::geometry (a
  world_geometry, through add_world_geometry); avatar_world removes their fields too.
- client_pump(..., world) takes the replica's statics once it is ready, the room scene's until
  then; arigl passes one and logs its status.

Tests: on a 1 m dome of terrain a client with the replica stands at z 0.99, with the room scene's
statics at z 0, and another document under the same name is refused; on a generated world it
stands at z 1.23 where the relay's ground is at 1.22.

* OW5c: clang-format

* OW5d: predict the vehicle a client drives on the dynamic plant

The relay publishes what a client needs to run a `dynamic` vehicle
(dynamic_drive: its preset and five numbers, the navigator's hold on a
command, the ticks it ticks on; WorldVehicles::dynamics,
room_entity::dynamics). dynamic_vehicle_model runs the relay's
dyn_bike_plant with that vehicle alone and no world, one substep a
physics step; dyn_bike_plant::save/restore let the holon log and replay
it. holon::predict_vehicle takes a dynamic_drive, and client_pump uses
it when the room's entity carries one.

* OW5e: predict the vehicle a client drives on the dynamic4w plant

* OW5f: clients follow the relay's world switch and generated worlds

* OW5g: predict the dynamic plants on the world's ground

* OW5h: a client's statics take the relay's surfaces

* OW5i: predict the jolt plant's vehicle in a Jolt world of the client's own

The vehicle a participant drives on the jolt plant (nav_plant: a Jolt vehicle in the relay's
world) is predicted like the dynamic plants'. The room's entities carry it as dynamic_drive with
plant "jolt" (WorldVehicles::dynamics). dynamic_vehicle_model runs it in a Jolt world made as the
relay's scene world is, with the holon's statics and the vehicle alone, and keeps the whole of
that world (world::save) as the vehicle's state, so a sample restores what was predicted for its
tick and replays. New statics rebuild the model's world. avatar_world gains a constructor from a
world_config.

The gearbox, clutch and engine are not in the pose stream; with the relay's sample every 4 ticks
each sample finds the model within 3-5 mm of the relay's Humvee, flat and over a 3 m dome.

* OW5j: the boat a client drives, predicted on the relay's water

ARIADNE_WORLDS.md section 18.5. A dynamicboat boat a participant drives is now predicted, like the
other plants.

- dynamic_drive takes plant dynamicboat, and WorldVehicles::dynamics fills it for a boat fleet's
  vehicle (its preset with its mass and top speed, and the navigator's hold).
- dynamic_vehicle_model runs it on dyn_boat_plant in a Jolt world of its own, with the holon's
  statics and their water. Its state is that world and the driver's memory, which the save does
  not hold: dyn_boat_plant::remember and resume. The boat goes on the water at its first sample
  over water deep enough for it.
- The water comes with the statics: world_replica::water (the replica world's fluid fields, else
  the still water the relay adds for its boats, boat_still_water, which WorldVehicles now calls
  too), passed by client_pump to holon::set_statics.

Tests: the relay's launch on a still lake against the client's model, within 0.8 mm and 0.08 mrad
at each sample every 4 ticks (AriadneOneWorld); the replica's water; exact agreement and a
corrected push in the holon; the client pump played out without water and predicted with it; a
plant restored with its driver's memory steps on to the same state hash.

* OW5k: a client finds the relay's world document in a world pack

ARIADNE_WORLDS.md sections 12 and 18.5, AD1's first slice. world_pack (world_pack.h) is a
directory with an index, world-pack.index: one "<sha256> <size> <path>" line per file.
write_world_pack_index writes one. world_replica looks in the packs it is pointed at
(CVC_WORLD_PACKS, add_pack) when the room's document URI does not give the relay's bytes here. It
finds the document by the room's SHA-256, in the first pack that lists it and whose files all
match the index, and builds the world from there. A pack with a file that differs from its index
is refused, and the status says which.

* OW5l: a sea's waves under a predicted boat

The relay's scene world now reads its water's waves at the clock's
time: SceneWorld::follow sets the world's field time to the clock's at
its first call, as world::follow does. The step ending on tick T reads
the sea at T x fixed_dt however late the world was attached, and the
bodies float on the waves the drawn sea shows. A client's boat model
sets its world's field time to the sample's tick x fixed_dt, so it
rides the relay's waves.

AriadneOneWorld.AClientsBoatRidesTheRelaysWaves: on a lake with a
14 m/s wind sea that heaves the launch 0.71 m, each sample finds the
model within 2.2 mm of it and 6.4 mm of its height; a model reading
the waves half a second off is 171 mm off. The gust-front and wake
frame-pacing tests now pin the clock-anchored field time.

* OW5m: a vehicle's attitude in its pose

The relay's pose for an entity whose chassis is a body in its world (a
jolt vehicle, a boat's hull, a dynamic plant's box) now carries that
body's attitude and vertical speed, for the room's entities and for a
driver's pose alike; before, a turn about z alone. A jolt or boat
model takes its chassis's pitch, roll and vertical speed from each
sample; a heading-only sample (an older relay's) keeps the predicted
ones. The drive axes read the pose's heading whatever its tilt.

On OW5l's waves the boat model is within 7.9 mrad of the hull's
attitude from its first sample (145 mrad before); the jolt Humvee
within 3.7 mrad (17.5 before).

* OW5n: a four-wheel suspension from its pose

A dynamic4w model takes its suspension's pitch and roll from each sample
that carries them (the relay's box, OW5m) and its heave from the box's
height (dyn_4w_plant::box_pose inverted). The rates of heave, roll and
pitch stay the model's: the pose stream carries no roll or pitch rate,
and its vertical speed is the box's after the relay's step under
gravity. A heading-only sample keeps the predicted suspension.

A client joining a four-wheel vehicle mid-turn is now within 24-26 mrad
of its attitude (94-98 before) and 0.3-1.2 mm of its height (1.7-10).
drive_as_the_world_does gains sampled_too and join for the new
AriadneOneWorld.AClientJoinsAFourWheelVehicleMidTurn.

* OW5m: the room's entity poses carry the chassis's attitude too

The relay streams the room's vehicles from
conference::entity_pose_subjects, which still built a heading-only pose;
OW5m had changed only holon's ride_of (a driver's pose and
holon::entities). Both now use entity_ride (world_vehicles.h), with
WorldVehicles::world() for the chassis. Every client draws the room's
vehicles from that stream, so they were drawn level.

client_run gains entity_gap: the jolt and boat runs check the
vehicle's own entry in that stream is within 1e-6 rad of the chassis.
Without this fix it was 169 mrad off for the jolt car on the hill and
207 mrad for the boat on the waves.

* OW5n: a vehicle's spin and steering in its pose

The pose stream carries each entry's angular velocity (mrad/s) and a
vehicle's steering angle (microradians), delta-encoded like the rest
(PoseEntry.wx, wy, wz, steer). PoseSnapshot.carries says the relay
sends them (kCarriesMotion); a relay before this leaves it 0, so its
zeros read as not known, not as not turning, and a client keeps its
model's values.

The relay fills them from the chassis body (entity_ride's angular
velocity) and the plant's steering (entity_info::steer; holon::steer
for a driver). A client's sample carries them (pose_sample::steer)
through holon::apply_authoritative to dynamic_vehicle_model::at: the
dynamic plants take the steering angle and yaw rate, dynamic4w the
roll and pitch rates too, a jolt or boat model its chassis's spin.

A client joining a four-wheel Humvee mid-turn, through the pose
stream, is now within 0.7 mrad of its attitude and 0.3 mrad of its
heading (24-25 and 10.4 with the attitude alone). The jolt Humvee is
within 1.1 mrad (3.7); the boat on the waves within 3.6 mm of height
(4.7). The waves test's phase check now skews by a second (15 mm of
drift) rather than half (8 mm).

* OW5o: the room's vehicles in the car a client drives

A jolt or boat model's world holds a box for each of the room's
vehicles the client shows (dynamic_vehicle_model::hold_obstacles, from
holon::held_obstacles). Before each step each goes where its vehicle is
to be at the step's end, along its velocity, as the walker's world holds
them. A kinematic-plant vehicle is a kinematic box. A vehicle the relay
can push (a jolt vehicle, a dynamic plant's box) is a body of its mass
(room_entity::dynamics, through hold_entity's new mass), put where it is
shown before each step, so the car shoves it as the relay's does.

The boxes are made with the model's world (obstacle_room: one per
vehicle held and two spares of each size and mass), since world::restore
needs the same bodies. When more come into view than it has room for,
the holon makes the model again with room (vehicle_rebuilds). Held
entities now count their steps while the participant drives, too.

The relay's car into a parked vehicle, sampled every 4 ticks through the
pose stream: the model is within 3.9 mm holding its box, 50 mm without
(kinematic plant); 3.9 mm and 21 mm for a jolt Humvee shoved 4 m.
transfix added a commit that referenced this pull request Nov 25, 2026
…room in a dynamic plant's car (#1511)

* The simulation clock at 120 Hz: 1/120 s quanta, the navigator's tick 7 quanta

ARIADNE_WORLDS.md section 18.1 (owner, 2026-11-19: "7 quanta"). Every host
runs the holon's 1/120 s quantum, physics a step a quantum, and the
navigator's tick is 7 quanta (0.0583 s), the nearest whole tick to the
0.06 s the shipped policies were trained at.

- sim_tick.h: kSimQuantum 1/120 s, kSimTickQuanta 7, kSimTick from them;
  adopt_sim_clock puts a fresh clock on the catch-up even at the quantum.
- pycvc: SIM_TICK_QUANTA; cars.py's fallbacks; the gym, swarm and
  sim_thread defaults follow kSimTick.
- NavPlantConvergence.PoliciesHoldTheirReachAtTheSimulationTick
  (CVC_NAV_TICK_AB=1): the shipped and default policies on Jolt
  RoboRacers at 0.06 s, the simulation tick and 0.05 s over 24 s.

* Hosts on the simulation clock build their plant world at its quantum

The plant host's own default stays 0.01 s, where navigators at the
trainers' 0.06 s run; the cars template and the scene swarm, which tick
cvc::kSimTick, give their plant_host a 1/120 s world. The nav lab's
retarget lands on the first tick at or past 3 s.

* clang-format the changed lines

* reach_on_plant: a physics step that divides the navigator's tick

0.01 s for a tick of whole 0.01 s steps (every score so far), the
simulation quantum for one of whole quanta (cvc::kSimTick), else the step
nearest 0.01 s that divides it.

* One world: a server holon runs the document's SceneWorld (OW2)

ARIADNE_WORLDS.md section 18.2. holon::attach_world(SceneWorld *) moves
the avatars into a server document's physics world, beside its bodies and
vehicles, and steps that world on the holon's clock: SceneWorld::follow
gains per-step hooks, the avatars driven just before each step and read
after it. A car shoves an avatar; the avatar takes some of its momentum.

- avatar_world over a shared world it does not own: its owner steps it
  and owns its gravity, air and statics; release() and move_to() (a
  world its owner replaced).
- AppRuntime::set_world_external: the runtime stops stepping a world a
  holon runs.
- arisrv attaches the server document's world to the room's holon.
- AriadneOneWorld tests: a Humvee driven into a standing avatar carries
  it down the road and ends behind the same run without it; attach
  refuses a client, a holon without physics and a world on another step;
  avatars stand on the scene's own bodies; detach puts them back.

* docs: OW1 built; the shipped policies hold their reach at the 7-quanta tick

* OW2: format the changed lines; ARIADNE_WORLDS section 18 records it built

* One world: the navigators steer around the avatars (OW4)

ARIADNE_WORLDS.md section 18.4. WorldVehicles::set_movers: other things
in the world the navigators steer around while avoid is on, as foreign
agents to each fleet's separation. A holon running the world sets them to
its avatars before each step, and clears them when it leaves. A car on
nav@1 swings 3.1 m past a person standing in its lane and drives on;
without avoiding it carries them 34 m (AriadneOneWorld).

* One world: the entity table and drivers, server side (OW3)

ARIADNE_WORLDS.md section 18.4. holon::entities() lists every mover in the
holon's world: each participant's person and the attached world's
entities, with kind, controller, driver, owner and policy.
holon::set_driver(pid, entity) puts a participant in a world vehicle: its
person leaves the world (feet and reserve kept), its intent's new drive
axes (avatar_intent::steer, accel; intent.steer/accel on the wire)
replace the vehicle's command each frame, and its state and display pose
are the vehicle's. Getting out puts the person at a clear point beside
the vehicle and gives the vehicle back to its controller.
WorldVehicles::set_driver / driver; the room's entities carry driver.

* OW3: clang-format the changed lines

* AFleetIsLaidOutInTeamsAtRallyPoints: drive 2.4 s of world time, not 240 steps

master's #1384 (fleets) wrote it at the 0.01 s step; with #1378's 1/120 s quanta 240 steps are
2.0 s, and the fleet, from rest at about 1.75 m/s^2, makes 4.35 m of the 5 m it asks for. 2.4 s
(288 steps) makes 6.1 m.

* OW6a: drive axes as shares, brake and reverse apart, the jump, getting in by asking

avatar_intent's drive axes are now shares of the vehicle's envelope: steer of its lock,
throttle [-1, 1] (negative is reverse), brake [0, 1]; the server scales them by the
driven vehicle's max_steer/max_accel/max_decel (holon::drive_command). The brake stops
the vehicle and never backs it up; reverse brakes a car still rolling forward, then
backs it up; a boat has no brake and reverses on its propeller astern. On the wire:
intent.throttle, intent.brake, intent.jump (intent.accel is gone).

The walker jumps (avatar_intent::jump) at its controller's jump_speed (4 m/s by
default) when something is under its feet, paying the jump from its reserve.

Getting in is asked for in the room: participants.<pid>.drive = "<seq>:<entity>",
answered by server_pump in drive_status and driving (relay-owned). holon::get_in holds
it to the world's rules: the archetype's drivable: and reach: (3 m from its chassis
box). room-drive / room-driving verbs; room entities carry drivable, reach, controls.

controls.h: control schemes walk, car and boat with their own bindings (Space jumps a
walker, brakes a car; E held 0.4 s gets in and out), and a resolver with steering
ramps and hold-to-fire.

* OW6a: clang-format the changed lines

* OW6a: arigl drives by scheme; the get-in prompt, riders hidden, chase camera; docs

arigl's room controls come from the scheme of what we control: walking (avatar.keys, plus
Space to jump, V for mouse look, E held to get in), or the car's or boat's scheme while
the relay says we drive (controls.<scheme>.<action>; all of them in the Controls window).
The nearest drivable vehicle in reach (drive_target, the one ahead first) gets a prompt
over it, "E  Drive <name>", whose ring fills as E is held; a refusal is shown for a
moment. Driving, client_pump plays our own pose out from the relay's samples instead of
predicting it, room_view hides every driver's marker (set_riders), and the camera swings
behind the moving vehicle.

traffic.ari's trucks are drivable. ARIADNE_WORLDS 18.6 describes the schemes, the shares,
the jump and the ask; OW6 is started.

* OW6a: clang-format the changed lines (client side)

* OW6b: gamepads drive every scheme (sticks, triggers, buttons)

A control binding's pad inputs are read now: buttons by position (A, B, X,
Y, LB, RB, ...), the triggers LT and RT, and stick halves (LeftY-, LeftX+).
Each has a deadzone; an action is its keys' value or its gamepad's, the
larger, and only a key's steering ramps.

Defaults: walk on the left stick (as fast as pushed), look around on the
right, jump A, get in and out on X held; driving, the left stick steers,
RT is the throttle and LT the brake, LB a car's reverse (a boat's is LT).

cvcGL's SdlGamepad reads the first gamepad SDL finds. arigl feeds it to
the resolver, faces where the camera looks while the gamepad is in use,
turns the camera with the right stick, and names the pad's button in the
get-in prompt. room_view gains intent_from_axes for the analog walk.

* OW6b: clang-format the changed lines; the prompt's key as plain ifs

* OW6b: gamepad bindings in the Controls window, beside the keys

A KeyBinding can name its gamepad inputs and where they live (pad,
pad_path). The Controls window shows them in a column of their own with
a Change button: the next gamepad input pressed becomes the new binding.
Keys are ignored while it waits, and Escape keeps the old one.

Runtime::post_pad_press takes the newly pressed gamepad inputs.
SdlGamepad::pressed() lists them each frame (a button gone down, a
trigger or stick half past half way).

arigl's input pump now owns the gamepad: it posts the presses to the
runtime and hands the gamepad to the room's controls, except while the
window waits for a button. Each avatar and vehicle action lists its
gamepad default, seeded at <viewer>.pad.<scheme>.<action>.

* OW6b: clang-format the changed lines (Controls window)

* OW6c: an avatar archetype may be a vehicle, picked beside the look

world: avatars: archetypes: entries may name one of the world's vehicle
archetypes (vehicle: rover). This is §5k phase 3 for vehicles.

- Choice: a participant picks an archetype under the existing avatar
  choice subtree (participants.<pid>.avatar.archetype, beside color and
  accessory); until it picks, it has the first.
- Server: server_pump rules on the choice (holon::set_archetype) and
  answers in the relay-owned archetype_status. For a vehicle it spawns
  it where the person stands and seats the participant for good: no
  getting out or into another, and the vehicle goes when the participant
  leaves or picks a person again.
- Rules: world_rules::avatar() is now the first person archetype;
  find_avatar is new.
- Room: the archetypes section carries vehicle, and room entities carry
  avatar (whose body it is). drive_target skips such vehicles, and arigl
  shows its owner no get-out prompt.
- Verbs: room-archetypes, room-set-archetype, room-archetype. The
  baseline conference document gains a Body combo beside Colour and
  Wear.
- traffic.ari offers a rover body.

* OW6c: clang-format the changed lines

* OW6c: the body verbs' test (room-archetypes, room-set-archetype, room-archetype)

* OW6c: mouse look is first person, by default

Walking under mouse look, arigl puts the camera at the walker's eyes
(0.92 of its body's height, 5 cm behind them) and hides its own avatar,
so W walks where you look. The orbit distance comes back when mouse look
ends.

The Controls window gains "Mouse look in first person"
(MouseControls::first_person, arigl's camera settings.first_person,
seeded on). Turning it off gives back the over-the-shoulder view.
Driving keeps the chase camera.

* OW5a: the room's vehicles are in the client's world

A client's holon now holds each vehicle it shows as a kinematic box of its chassis's size where
its playout shows it (holon::hold_entity, on avatar_world's new obstacles), carried on along its
velocity through the frame's steps. The walk it predicts stops at a parked car and is pushed by a
moving one, as on the relay, instead of walking through and snapping back.

client_pump takes the entity_playout and holds every entity except the one the participant drives
or is; arigl pumps the entities first. ARIADNE_WORLDS.md section 18.5: OW5a as built, OW5b and
OW5c still to come.

* OW5a: clang-format

* OW5b: the vehicle a client drives is predicted (kinematic plant)

On the kinematic plant a driven vehicle is nav's bicycle integrated once a navigator tick on the
tick's command, its chassis box moved a step at a time between the ticks, so a client that knows
its numbers runs it step for step.

- vehicle_kinematics.h: kinematic_drive (the bicycle's numbers, the envelope, the steps per tick
  and the clock ticks the navigator ticks on), kinematic_vehicle, kinematic_vehicle_step and
  kinematic_vehicle_at.
- WorldVehicles::kinematics(id); before_step(clock_tick), which SceneWorld::follow calls, notes
  the navigator's phase. room_entity::drive carries it.
- holon: the relay sets a driver's command after each step (not once a frame), so a client's
  steps match it. predict_vehicle runs the model as the walker is predicted and reconciles to the
  vehicle's samples (snap from the sample and replay past reconcile_tol).
- client_pump predicts the vehicle when its room entity carries the numbers (else plays it out as
  before); arigl draws it at the predicted pose (entity_playout::show_predicted).

Tests: the model stays within 0.05 mm of the relay's Humvee over 9 s of throttle, a turn, the
brake and reverse; the holon predicts it with nothing corrected and corrects a 1.5 m push at the
next sample; client_pump predicts with the numbers, plays out without, and walks again when out.

* OW5b: clang-format

* ci: pin numpy-cp312's last JS-exceptions wasm bundle until JX2

cy-pca/cvcpkg#633 published numpy-cp312 2.4.6+cvc.7, its wasm and wasm-mt extensions rebuilt with
-fwasm-exceptions. libcvc still links with Emscripten's JS exceptions until JX2 (#1409), so
ariglx-web's link failed on "undefined symbol: __cpp_exception" in _multiarray_umath. The
pre-JX1 pin puts back cvc.6, as it does for boost, libpng and the rest; JX2 deletes it.

* OW5c: a client's statics from the relay's world document

The room scene carries only what every client can draw (planes, boxes, spheres, meshes by URI), so
a client's walk met none of a document's meshes, terrain or generated buildings.

- room_world_source (conf.rooms.<room>.world_source.{uri, sha256}): the document the relay runs;
  arisrv writes it beside the room scene (none for a C++ twin). file_sha256.
- world_replica: a client that resolves the same URI to a file with the same hash builds the
  document's world (SceneWorld::from_scene, no vehicles, keys under its own prefix) and takes its
  statics: each static body as the world made it, and each node's run-time colliders as they
  become ready (a generated world's terrain, buildings and edge walls). Only what is in the world
  now counts.
- avatar_static: kind::body (a body_desc, made static, default material) and kind::geometry (a
  world_geometry, through add_world_geometry); avatar_world removes their fields too.
- client_pump(..., world) takes the replica's statics once it is ready, the room scene's until
  then; arigl passes one and logs its status.

Tests: on a 1 m dome of terrain a client with the replica stands at z 0.99, with the room scene's
statics at z 0, and another document under the same name is refused; on a generated world it
stands at z 1.23 where the relay's ground is at 1.22.

* OW5c: clang-format

* OW5d: predict the vehicle a client drives on the dynamic plant

The relay publishes what a client needs to run a `dynamic` vehicle
(dynamic_drive: its preset and five numbers, the navigator's hold on a
command, the ticks it ticks on; WorldVehicles::dynamics,
room_entity::dynamics). dynamic_vehicle_model runs the relay's
dyn_bike_plant with that vehicle alone and no world, one substep a
physics step; dyn_bike_plant::save/restore let the holon log and replay
it. holon::predict_vehicle takes a dynamic_drive, and client_pump uses
it when the room's entity carries one.

* OW5e: predict the vehicle a client drives on the dynamic4w plant

* OW5f: clients follow the relay's world switch and generated worlds

* OW5g: predict the dynamic plants on the world's ground

* OW5h: a client's statics take the relay's surfaces

* OW5i: predict the jolt plant's vehicle in a Jolt world of the client's own

The vehicle a participant drives on the jolt plant (nav_plant: a Jolt vehicle in the relay's
world) is predicted like the dynamic plants'. The room's entities carry it as dynamic_drive with
plant "jolt" (WorldVehicles::dynamics). dynamic_vehicle_model runs it in a Jolt world made as the
relay's scene world is, with the holon's statics and the vehicle alone, and keeps the whole of
that world (world::save) as the vehicle's state, so a sample restores what was predicted for its
tick and replays. New statics rebuild the model's world. avatar_world gains a constructor from a
world_config.

The gearbox, clutch and engine are not in the pose stream; with the relay's sample every 4 ticks
each sample finds the model within 3-5 mm of the relay's Humvee, flat and over a 3 m dome.

* OW5j: the boat a client drives, predicted on the relay's water

ARIADNE_WORLDS.md section 18.5. A dynamicboat boat a participant drives is now predicted, like the
other plants.

- dynamic_drive takes plant dynamicboat, and WorldVehicles::dynamics fills it for a boat fleet's
  vehicle (its preset with its mass and top speed, and the navigator's hold).
- dynamic_vehicle_model runs it on dyn_boat_plant in a Jolt world of its own, with the holon's
  statics and their water. Its state is that world and the driver's memory, which the save does
  not hold: dyn_boat_plant::remember and resume. The boat goes on the water at its first sample
  over water deep enough for it.
- The water comes with the statics: world_replica::water (the replica world's fluid fields, else
  the still water the relay adds for its boats, boat_still_water, which WorldVehicles now calls
  too), passed by client_pump to holon::set_statics.

Tests: the relay's launch on a still lake against the client's model, within 0.8 mm and 0.08 mrad
at each sample every 4 ticks (AriadneOneWorld); the replica's water; exact agreement and a
corrected push in the holon; the client pump played out without water and predicted with it; a
plant restored with its driver's memory steps on to the same state hash.

* OW5k: a client finds the relay's world document in a world pack

ARIADNE_WORLDS.md sections 12 and 18.5, AD1's first slice. world_pack (world_pack.h) is a
directory with an index, world-pack.index: one "<sha256> <size> <path>" line per file.
write_world_pack_index writes one. world_replica looks in the packs it is pointed at
(CVC_WORLD_PACKS, add_pack) when the room's document URI does not give the relay's bytes here. It
finds the document by the room's SHA-256, in the first pack that lists it and whose files all
match the index, and builds the world from there. A pack with a file that differs from its index
is refused, and the status says which.

* OW5l: a sea's waves under a predicted boat

The relay's scene world now reads its water's waves at the clock's
time: SceneWorld::follow sets the world's field time to the clock's at
its first call, as world::follow does. The step ending on tick T reads
the sea at T x fixed_dt however late the world was attached, and the
bodies float on the waves the drawn sea shows. A client's boat model
sets its world's field time to the sample's tick x fixed_dt, so it
rides the relay's waves.

AriadneOneWorld.AClientsBoatRidesTheRelaysWaves: on a lake with a
14 m/s wind sea that heaves the launch 0.71 m, each sample finds the
model within 2.2 mm of it and 6.4 mm of its height; a model reading
the waves half a second off is 171 mm off. The gust-front and wake
frame-pacing tests now pin the clock-anchored field time.

* OW5m: a vehicle's attitude in its pose

The relay's pose for an entity whose chassis is a body in its world (a
jolt vehicle, a boat's hull, a dynamic plant's box) now carries that
body's attitude and vertical speed, for the room's entities and for a
driver's pose alike; before, a turn about z alone. A jolt or boat
model takes its chassis's pitch, roll and vertical speed from each
sample; a heading-only sample (an older relay's) keeps the predicted
ones. The drive axes read the pose's heading whatever its tilt.

On OW5l's waves the boat model is within 7.9 mrad of the hull's
attitude from its first sample (145 mrad before); the jolt Humvee
within 3.7 mrad (17.5 before).

* OW5n: a four-wheel suspension from its pose

A dynamic4w model takes its suspension's pitch and roll from each sample
that carries them (the relay's box, OW5m) and its heave from the box's
height (dyn_4w_plant::box_pose inverted). The rates of heave, roll and
pitch stay the model's: the pose stream carries no roll or pitch rate,
and its vertical speed is the box's after the relay's step under
gravity. A heading-only sample keeps the predicted suspension.

A client joining a four-wheel vehicle mid-turn is now within 24-26 mrad
of its attitude (94-98 before) and 0.3-1.2 mm of its height (1.7-10).
drive_as_the_world_does gains sampled_too and join for the new
AriadneOneWorld.AClientJoinsAFourWheelVehicleMidTurn.

* OW5m: the room's entity poses carry the chassis's attitude too

The relay streams the room's vehicles from
conference::entity_pose_subjects, which still built a heading-only pose;
OW5m had changed only holon's ride_of (a driver's pose and
holon::entities). Both now use entity_ride (world_vehicles.h), with
WorldVehicles::world() for the chassis. Every client draws the room's
vehicles from that stream, so they were drawn level.

client_run gains entity_gap: the jolt and boat runs check the
vehicle's own entry in that stream is within 1e-6 rad of the chassis.
Without this fix it was 169 mrad off for the jolt car on the hill and
207 mrad for the boat on the waves.

* OW5n: a vehicle's spin and steering in its pose

The pose stream carries each entry's angular velocity (mrad/s) and a
vehicle's steering angle (microradians), delta-encoded like the rest
(PoseEntry.wx, wy, wz, steer). PoseSnapshot.carries says the relay
sends them (kCarriesMotion); a relay before this leaves it 0, so its
zeros read as not known, not as not turning, and a client keeps its
model's values.

The relay fills them from the chassis body (entity_ride's angular
velocity) and the plant's steering (entity_info::steer; holon::steer
for a driver). A client's sample carries them (pose_sample::steer)
through holon::apply_authoritative to dynamic_vehicle_model::at: the
dynamic plants take the steering angle and yaw rate, dynamic4w the
roll and pitch rates too, a jolt or boat model its chassis's spin.

A client joining a four-wheel Humvee mid-turn, through the pose
stream, is now within 0.7 mrad of its attitude and 0.3 mrad of its
heading (24-25 and 10.4 with the attitude alone). The jolt Humvee is
within 1.1 mrad (3.7); the boat on the waves within 3.6 mm of height
(4.7). The waves test's phase check now skews by a second (15 mm of
drift) rather than half (8 mm).

* OW5o: the room's vehicles in the car a client drives

A jolt or boat model's world holds a box for each of the room's
vehicles the client shows (dynamic_vehicle_model::hold_obstacles, from
holon::held_obstacles). Before each step each goes where its vehicle is
to be at the step's end, along its velocity, as the walker's world holds
them. A kinematic-plant vehicle is a kinematic box. A vehicle the relay
can push (a jolt vehicle, a dynamic plant's box) is a body of its mass
(room_entity::dynamics, through hold_entity's new mass), put where it is
shown before each step, so the car shoves it as the relay's does.

The boxes are made with the model's world (obstacle_room: one per
vehicle held and two spares of each size and mass), since world::restore
needs the same bodies. When more come into view than it has room for,
the holon makes the model again with room (vehicle_rebuilds). Held
entities now count their steps while the participant drives, too.

The relay's car into a parked vehicle, sampled every 4 ticks through the
pose stream: the model is within 3.9 mm holding its box, 50 mm without
(kinematic plant); 3.9 mm and 21 mm for a jolt Humvee shoved 4 m.

* Ariadne OW5p: the room's avatars in the car a client drives

A jolt or boat model's world holds each peer on foot as a frictionless
box of the avatar body's size and mass where the client shows it, so the
predicted car knocks it aside and is slowed by it as the relay's is. A
peer aboard a vehicle the room shows is not held (holon::set_aboard,
from client_pump). Every box with a mass is frictionless, and one the car
knocks off where it is shown is left to the model's world until the
shown pose catches up, instead of being put back where it stood a
playout's delay ago and hit again every step.

* Ariadne OW5p: a knocked avatar's box has its walker

Knocked loose, an avatar's box in a jolt or boat model is pushed back toward
the velocity it is shown at with up to the policy's force_max each step, and
kept upright, as the relay's walker does with the avatar.

* Ariadne OW5p: a dynamic plant's car meets the room

A dynamic or dynamic4w model given statics or room for the room's boxes
puts its plant's chassis box in a world of its own with them, as the
relay's is in its world: what it hits goes back into the model, and the
world is saved with the model's state for the holon's replay. Touching
the ground is not a hit: avatar_static::ground marks it as the relay's
world does (SceneWorld::ground_bodies, a generated world's terrain, the
room scene's plane). A model made without a world has no room, so the
first vehicle or avatar held makes it again with one.

* Ariadne OW5q: a sea the relay's storms grow

On the relay's clock: the water's sea keyframes, the storms' front
(wind.front) and a new storm-wind peak were timed on the app's world
clock, which nothing drives once a holon runs the document's world on
its own clock (holon::attach_world). On the relay a storm never grew
the sea. SceneWorld::sync(clock) times them on the clock the world
steps on; follow() passes its own.

Published: the relay puts each water node's last sea keyframe in
room_world_on (seas: the old and new keyframes' winds, the crossfade,
the count and the tick its field goes in after), since a sea lags its
wind and a client that came later cannot grow the same one.

Followed: a client's replica makes the same sea from it
(WaterRuntime::follow_sea, SceneWaterSeaClock::follow) and hands the
holon the new water with that tick (world_replica::water_revision,
water_from_tick; holon::set_water). A boat's model keeps its water by
tick and floats each step on the water of the tick it ends on; a saved
state carries the water it was saved on, since a world restores only
onto that sea. A water node's new field no longer rebuilds the
replica's statics (before, a document with water rebuilt them every
frame).

Tests: the storm lake on a holon's clock takes the same keyframes as on
the app's, to the bit; the relay's launch on a storm-grown sea is
within 0.5 mm of the client's model following the relay's sea, 2.5 mm
on its document's; the replica follows the room's seas; a boat's model
takes the water at its tick and replays onto the water before it.

* Ariadne OW5q: the storm air on the hull, the relay's storms, the drawn sea

The air on the hull: the replica's air (the scene's wind with the
storms' fronts, a flow field) goes to the boat's model with the water,
on the same timeline, so the storm wind blows on its hull as on the
relay's. The client's air is the relay's to the bit.

The relay's storms: room_world_on gains `weathers`, each weather node's
live events and storm-wind peak with the tick it went in after. The
replica's weather takes them at once (WeatherFriction::follow,
SceneWorld::follow_weather) and makes its air again, which the holon
takes as new water after that tick.

The drawn sea: a water node shows another host's sea through two keys,
water.sea (a keyframe in place of its own lag) and water.clock (the
time it is drawn at), which the drawn node and WaterRuntime both read
and seed empty. arigl writes them each frame after client_pump
(show_relay_seas) for the water nodes of the relay's document its own
document has, with the relay's time as the holon counts it, and the
weather nodes' events and peak, so it draws the relay's sea at the
relay's time under the relay's storms.

Tests: the client's air matches the relay's at every point checked; the
replica follows the relay's storms and makes its air again;
show_relay_seas writes into a document of the same nodes only; a drawn
water node follows water.sea at the next frame.

* Ariadne OW5q: the client draws the relay's world at the relay's time

One key under the scene's state prefix, shown_clock (new
shown_clock.h), is the time the scene is drawn at. Every drawn node
whose look moves with time reads it in place of the app's world clock
and seeds it empty: the water's waves, the weather node's storms, rain
and lightning, the cloud sky, the forest's and a generated world's
foliage's sway, and a wave_sea. It replaces the per-node water.clock
and weather.clock keys.

show_relay_seas writes it each frame with the relay's time as the
holon counts it, and the sun: lighting.key_azimuth and
lighting.key_elevation from the relay's key light in the room's scene
env. Nothing moves the sun with time (no day cycle), so a sun the
relay's document moves is followed.

The fetch map is the last keyframe's: the relay's sea now rebuilds it
when the open fetch moves too, as a client following the keyframe
does. A sea followed from each of its keyframes is the grown sea's at
every one.

Tests: a sea followed from its 33 keyframes is the grown one's (the
last differed before the fetch fix); show_relay_seas writes the shown
clock and the relay's sun; a drawn storm is drawn at the shown time.
Checked by hand with arigl snapshot: the same shown time draws the
same image twice, another time another, on a lake and on
lsystem_forest.ari.

* Ariadne OW5r: a sample corrects all of a vehicle's motion

A kinematic vehicle turns through its tick: the relay's kinematic box
goes on a line between the bicycle's boxes at a navigator tick's ends,
yaw included, so the pose's yaw rate is the tick's, and
kinematic_vehicle_at now turns the box at it through the rest of the
tick and starts the next tick at the relay's heading. Placed from
samples every 4 ticks while turning: 2.3 mm off at a sample, 4.4 mm
without the yaw rate.

A jolt vehicle's wheels at the relay's steering: world::set_vehicle_steer
puts a vehicle's steering actuator at an angle (clamped to its lock),
and a jolt model placed from a sample that carries the relay's steering
puts it there. Joining the relay's jolt Humvee mid-turn: 0.31 mrad of
heading and 1.26 of attitude off at worst, 2.75 and 4.7 with straight
wheels.

A vehicle turned or sped up in place is placed again: the holon now
re-places a predicted vehicle when its heading or velocity is off the
sample by more than holon_config::reconcile_yaw_tol or
reconcile_speed_tol, not only its place.

Roadmap: the day-night cycle (FLEETS_AND_NIGHT_ROADMAP.md NL5) gains
Joe's requirements: set against the system clock as an option, and a
connected client on the server's time; D6 partly settled.

* ari test: FramesAndTimeout's stuck document gets 3 s, so its test is running when the timeout comes

On a loaded Debug runner (#1511's package-linux libcvc-debug, three tries), loading the document took over a second, so a 1 s timeout came before the test 'waits' started and the message named no test. 3 s leaves the load room; the message still names the test.

* weather_node.cpp: align the includes' comments (clang-format, changed lines)
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.

1 participant